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 )