Setting updatetime to 2000 if user allows
This commit is contained in:
parent
45cccd09ac
commit
287d01c8b3
@ -38,6 +38,10 @@ function! youcompleteme#Enable()
|
||||
return
|
||||
endif
|
||||
|
||||
if g:ycm_allow_changing_updatetime
|
||||
set ut=2000
|
||||
endif
|
||||
|
||||
augroup youcompleteme
|
||||
autocmd!
|
||||
autocmd CursorMovedI * call s:OnCursorMovedInsertMode()
|
||||
|
@ -27,13 +27,17 @@ endif
|
||||
let g:loaded_youcompleteme = 1
|
||||
|
||||
let g:ycm_min_num_of_chars_for_completion =
|
||||
\ get(g:, 'ycm_min_num_of_chars_for_completion', 2)
|
||||
\ get( g:, 'ycm_min_num_of_chars_for_completion', 2 )
|
||||
|
||||
let g:ycm_filetypes_to_ignore =
|
||||
\ get(g:, 'ycm_filetypes_to_ignore', { 'notes' : 1 } )
|
||||
\ get( g:, 'ycm_filetypes_to_ignore', { 'notes' : 1 } )
|
||||
|
||||
let g:ycm_clang_completion_enabled =
|
||||
\ get(g:, 'ycm_clang_completion_enabled', 1)
|
||||
\ get( g:, 'ycm_clang_completion_enabled', 1 )
|
||||
|
||||
let g:ycm_allow_changing_updatetime =
|
||||
\ get( g:, 'ycm_clang_completion_enabled', 1 )
|
||||
|
||||
|
||||
" This is basic vim plugin boilerplate
|
||||
let s:save_cpo = &cpo
|
||||
|
Loading…
Reference in New Issue
Block a user