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() call s:OnBufferRead()
endfunction endfunction
function s:DeferredUntilInsertEnter() function s:DeferredUntilInsertEnter()
let s:defer_omnifunc = 0 let s:defer_omnifunc = 0
autocmd! ycm_defer_omnifunc autocmd! ycm_defer_omnifunc
if s:AllowedToCompleteInCurrentFile() if s:AllowedToCompleteInCurrentBuffer()
call s:SetOmnicompleteFunc() call s:SetOmnicompleteFunc()
endif endif
endfunction endfunction
function! youcompleteme#EnableCursorMovedAutocommands() function! youcompleteme#EnableCursorMovedAutocommands()
augroup ycmcompletemecursormove augroup ycmcompletemecursormove
autocmd! autocmd!