mirror of
https://github.com/Yggdroot/indentLine.git
synced 2025-12-21 03:11:14 +08:00
fix an issue that no indentLine when split window
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user