Fromating and function rename

This commit is contained in:
Boris Staletic 2016-11-10 21:24:09 +01:00
parent 30def5d246
commit 57f64dca7b

View File

@ -119,15 +119,17 @@ function! youcompleteme#Enable()
call s:OnBufferRead()
endfunction
function s:DeferredUntilInsertEnter()
let s:defer_omnifunc = 0
autocmd! ycm_defer_omnifunc
if s:AllowedToCompleteInCurrentFile()
if s:AllowedToCompleteInCurrentBuffer()
call s:SetOmnicompleteFunc()
endif
endfunction
function! youcompleteme#EnableCursorMovedAutocommands()
augroup ycmcompletemecursormove
autocmd!