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