Merge pull request #932 from RedBeard0531/master

Only adjust updatetime if above 2000.
This commit is contained in:
Val Markovic 2014-04-17 10:05:09 -07:00
commit abfc3ee36a

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