mirror of
https://github.com/Yggdroot/indentLine.git
synced 2026-01-09 04:52:21 +08:00
Update indentLine.vim
Disable WinEnter * call <SID>Setup() which causes very low performance on scrolling (after user has switched between windows many times)
This commit is contained in:
committed by
GitHub
parent
a97b6d12ae
commit
808a393f53
@@ -336,7 +336,6 @@ augroup indentLine
|
||||
if g:indentLine_newVersion
|
||||
autocmd BufRead,BufNewFile,ColorScheme,Syntax * call <SID>InitColor()
|
||||
autocmd BufWinEnter * call <SID>IndentLinesDisable() | call <SID>LeadingSpaceDisable() | call <SID>Setup()
|
||||
autocmd WinEnter * call <SID>Setup()
|
||||
autocmd FileType * call <SID>Disable()
|
||||
else
|
||||
autocmd BufWinEnter * call <SID>Setup()
|
||||
|
||||
Reference in New Issue
Block a user