Auto merge of #1542 - vheon:fix-completer-available, r=Valloric

Fix check condition for setting omnifunction

I had the check for the omnifunc set backwards. I will start to see if we can start testing the vimscript layer as well. I have signed the CLA.
This commit is contained in:
Homu 2015-06-19 05:30:28 +09:00
commit a24cc3c662

View File

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