Remove commands for lock and unlock.
This commit is contained in:
parent
abdf38a055
commit
8e14914602
@ -816,15 +816,11 @@ function youcompleteme#EnableCursorMovedAutocommands()
|
||||
augroup END
|
||||
endfunction
|
||||
|
||||
command! YcmUnlock call youcompleteme#EnableCursorMovedAutocommands()
|
||||
|
||||
function youcompleteme#DisableCursorMovedAutocommands()
|
||||
autocmd! ycmcompletemecursormove CursorMoved *
|
||||
autocmd! ycmcompletemecursormove CursorMovedI *
|
||||
endfunction
|
||||
|
||||
command! YcmLock call youcompleteme#DisableCursorMovedAutocommands()
|
||||
|
||||
" This is basic vim plugin boilerplate
|
||||
let &cpo = s:save_cpo
|
||||
unlet s:save_cpo
|
||||
|
Loading…
Reference in New Issue
Block a user