Do not return omnifunc suggestions if server crashed
This commit is contained in:
parent
6975efddc1
commit
caa0fb4285
@ -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 []
|
||||
|
Loading…
Reference in New Issue
Block a user