Only adjust updatetime if above 2000.

Goal is to lower it so don't raise it if already low.

Closes #834
This commit is contained in:
Mathias Stearn 2014-02-15 19:56:34 -05:00
parent 479ad62555
commit a1be7dc64c

View File

@ -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