Fix traceback on <C-Space> semantic invoke

This was caused by yesterday's refactoring. I forgot to update one call site.

Fixes #242
This commit is contained in:
Strahinja Val Markovic 2013-04-10 18:45:53 -07:00
parent 322c4ef4d4
commit 89d93bc85c

View File

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