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