fix an issue that no indentLine when split window

This commit is contained in:
Yggdroot
2017-10-20 15:38:15 +08:00
parent 04e5c05fc3
commit 439348543c

View File

@@ -335,6 +335,9 @@ augroup indentLine
autocmd!
if g:indentLine_newVersion
autocmd BufRead,BufNewFile,ColorScheme,Syntax * call <SID>InitColor()
if exists("##WinNew")
autocmd WinNew * call <SID>Setup()
endif
autocmd BufWinEnter * call <SID>IndentLinesDisable() | call <SID>LeadingSpaceDisable() | call <SID>Setup()
autocmd FileType * call <SID>Disable()
else