Fromating and function rename
This commit is contained in:
parent
30def5d246
commit
57f64dca7b
@ -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!
|
||||||
|
Loading…
Reference in New Issue
Block a user