From 176a00ceb3a2666b3c040911b693732c18a15710 Mon Sep 17 00:00:00 2001 From: Yggdroot Date: Wed, 10 Jul 2013 23:13:03 +0800 Subject: [PATCH] fix issue #40 --- after/plugin/indentLine.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/after/plugin/indentLine.vim b/after/plugin/indentLine.vim index 2fa68cf..28b65d3 100644 --- a/after/plugin/indentLine.vim +++ b/after/plugin/indentLine.vim @@ -165,6 +165,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 command! -nargs=? IndentLinesReset call ResetWidth() command! IndentLinesToggle call IndentLinesToggle()