From a1be7dc64ccba45239d6aea224030253324aef59 Mon Sep 17 00:00:00 2001 From: Mathias Stearn Date: Sat, 15 Feb 2014 19:56:34 -0500 Subject: [PATCH] Only adjust updatetime if above 2000. Goal is to lower it so don't raise it if already low. Closes #834 --- autoload/youcompleteme.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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