Remove commands for lock and unlock.

This commit is contained in:
Husak Kristijan 2014-09-15 20:31:06 +02:00 committed by Strahinja Val Markovic
parent abdf38a055
commit 8e14914602

View File

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