From 89d93bc85c8e8a702f49261e3f96b9a27ca036c4 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Wed, 10 Apr 2013 18:45:53 -0700 Subject: [PATCH] Fix traceback on semantic invoke This was caused by yesterday's refactoring. I forgot to update one call site. Fixes #242 --- autoload/youcompleteme.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/youcompleteme.vim b/autoload/youcompleteme.vim index 350848de..a5780104 100644 --- a/autoload/youcompleteme.vim +++ b/autoload/youcompleteme.vim @@ -494,7 +494,7 @@ function! youcompleteme#OmniComplete( findstart, base ) let s:completion_start_column = pyeval( 'ycm.CompletionStartColumn()' ) return s:completion_start_column else - return s:CompletionsForQuery( a:base, 1 ) + return s:CompletionsForQuery( a:base, 1, s:completion_start_column ) endif endfunction