mirror of
https://github.com/Yggdroot/indentLine.git
synced 2025-12-08 13:04:45 +08:00
Merge pull request #224 from alex-shamshurin/master
Fixed low performance issue on scrolling
This commit is contained in:
@@ -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