From 1ead914c4edbed6ff595729f8ecbf0748112e704 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Mon, 12 May 2014 12:53:49 -0700 Subject: [PATCH] Fixing OmniCompleter to use 1-based start_column Fixes #963. --- python/ycm/completers/all/omni_completer.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/python/ycm/completers/all/omni_completer.py b/python/ycm/completers/all/omni_completer.py index 8d74b7a9..944160c8 100644 --- a/python/ycm/completers/all/omni_completer.py +++ b/python/ycm/completers/all/omni_completer.py @@ -106,8 +106,7 @@ class OmniCompleter( Completer ): def _BuildRequestDataSubstitute(): - data = BuildRequestData( include_buffer_data = False ) - data[ 'start_column' ] = base.CompletionStartColumn() - return data + return BuildRequestData( start_column = base.CompletionStartColumn(), + include_buffer_data = False )