diff --git a/after/plugin/indentLine.vim b/after/plugin/indentLine.vim index c4efa09..943b19d 100644 --- a/after/plugin/indentLine.vim +++ b/after/plugin/indentLine.vim @@ -187,7 +187,7 @@ endfunction "{{{1 commands autocmd BufWinEnter * call Setup() autocmd BufRead,BufNewFile,ColorScheme * call InitColor() -autocmd Syntax * if exists("b:indentLine_set") | call InitColor() | call SetIndentLine() | endif +autocmd Syntax * if exists("b:indentLine_set") && exists("b:indentLine_enabled") && b:indentLine_enabled | call InitColor() | call SetIndentLine() | endif command! -nargs=? IndentLinesReset call ResetWidth()