Fix check condition for setting omnifunction
This commit is contained in:
parent
fbdf7cc85e
commit
7bc05a37b5
@ -508,7 +508,7 @@ function! s:OnInsertEnter()
|
||||
return
|
||||
endif
|
||||
|
||||
if get( b:, 'ycm_omnicomplete', 0 )
|
||||
if !get( b:, 'ycm_omnicomplete', 0 )
|
||||
let b:ycm_omnicomplete = 1
|
||||
call s:SetOmnicompleteFunc()
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user