From 8e14914602b8a92d14195cb21fc449ebcd868cc1 Mon Sep 17 00:00:00 2001 From: Husak Kristijan Date: Mon, 15 Sep 2014 20:31:06 +0200 Subject: [PATCH] Remove commands for lock and unlock. --- autoload/youcompleteme.vim | 4 ---- 1 file changed, 4 deletions(-) diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index c273d85a..59a264f6 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -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