diff --git a/plugin/matchindent.vim b/plugin/matchindent.vim index ecfe4da..6722312 100644 --- a/plugin/matchindent.vim +++ b/plugin/matchindent.vim @@ -8,6 +8,9 @@ highlight MatchIndentBadIndent ctermbg=red guibg=red autocmd BufNewFile,BufRead * call MatchIndent() function! MatchIndent() + if &filetype == 'help' + return + endif " Zip through the first few lines and look for the three most common " indenting schemes. let n = 1