From a3ee4a5bfcb5aecdfd534c69cedae7dd16e118a3 Mon Sep 17 00:00:00 2001 From: Francisco Lopes Date: Sat, 17 Sep 2016 17:05:46 -0300 Subject: [PATCH] Remove unused variable --- autoload/youcompleteme.vim | 5 ----- 1 file changed, 5 deletions(-) diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index 13696ffa..52d9f5af 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -26,7 +26,6 @@ let s:defer_omnifunc = 1 let s:old_cursor_position = [] let s:cursor_moved = 0 -let s:moved_vertically_in_insert_mode = 0 let s:previous_allowed_buffer_number = 0 @@ -595,10 +594,6 @@ endfunction function! s:UpdateCursorMoved() let current_position = getpos('.') let s:cursor_moved = current_position != s:old_cursor_position - - let s:moved_vertically_in_insert_mode = s:old_cursor_position != [] && - \ current_position[ 1 ] != s:old_cursor_position[ 1 ] - let s:old_cursor_position = current_position endfunction