diff --git a/python/ycm/omni_completer.py b/python/ycm/omni_completer.py index d14536b8..fcdb01f7 100644 --- a/python/ycm/omni_completer.py +++ b/python/ycm/omni_completer.py @@ -130,4 +130,4 @@ class OmniCompleter( Completer ): response = BaseRequest.PostDataToHandler( request_data, 'filter_and_sort_candidates' ) - return response if response is not None else candidates + return response if response is not None else []