From 808a393f53b9f2951c0b3e75169bd991827b90c3 Mon Sep 17 00:00:00 2001 From: Alexander Shamshurin Date: Thu, 19 Oct 2017 20:23:56 +0300 Subject: [PATCH] Update indentLine.vim Disable WinEnter * call Setup() which causes very low performance on scrolling (after user has switched between windows many times) --- after/plugin/indentLine.vim | 1 - 1 file changed, 1 deletion(-) diff --git a/after/plugin/indentLine.vim b/after/plugin/indentLine.vim index e79bec1..3849206 100644 --- a/after/plugin/indentLine.vim +++ b/after/plugin/indentLine.vim @@ -336,7 +336,6 @@ augroup indentLine if g:indentLine_newVersion autocmd BufRead,BufNewFile,ColorScheme,Syntax * call InitColor() autocmd BufWinEnter * call IndentLinesDisable() | call LeadingSpaceDisable() | call Setup() - autocmd WinEnter * call Setup() autocmd FileType * call Disable() else autocmd BufWinEnter * call Setup()