diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index 3bff54c3..160b33e6 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -77,7 +77,7 @@ function! youcompleteme#Enable() call s:SetUpSigns() call s:SetUpSyntaxHighlighting() - if g:ycm_allow_changing_updatetime + if g:ycm_allow_changing_updatetime && &updatetime > 2000 set ut=2000 endif