Do not return omnifunc suggestions if server crashed

This commit is contained in:
micbou 2018-04-17 17:39:25 +02:00
parent 6975efddc1
commit caa0fb4285
No known key found for this signature in database
GPG Key ID: C7E8FD1F3BDA1E05

View File

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