mirror of
https://github.com/Yggdroot/indentLine.git
synced 2026-05-19 14:59:42 +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
|
if g:indentLine_newVersion
|
||||||
autocmd BufRead,BufNewFile,ColorScheme,Syntax * call <SID>InitColor()
|
autocmd BufRead,BufNewFile,ColorScheme,Syntax * call <SID>InitColor()
|
||||||
autocmd BufWinEnter * call <SID>IndentLinesDisable() | call <SID>LeadingSpaceDisable() | call <SID>Setup()
|
autocmd BufWinEnter * call <SID>IndentLinesDisable() | call <SID>LeadingSpaceDisable() | call <SID>Setup()
|
||||||
autocmd WinEnter * call <SID>Setup()
|
|
||||||
autocmd FileType * call <SID>Disable()
|
autocmd FileType * call <SID>Disable()
|
||||||
else
|
else
|
||||||
autocmd BufWinEnter * call <SID>Setup()
|
autocmd BufWinEnter * call <SID>Setup()
|
||||||
|
|||||||
Reference in New Issue
Block a user