Posting vim message when no clang candidates
This commit is contained in:
parent
ae618c5566
commit
76715bd94c
@ -170,7 +170,10 @@ class ClangCompleter( Completer ):
|
||||
def CandidatesFromStoredRequest( self ):
|
||||
if not self.future:
|
||||
return []
|
||||
return [ CompletionDataToDict( x ) for x in self.future.GetResults() ]
|
||||
results = [ CompletionDataToDict( x ) for x in self.future.GetResults() ]
|
||||
if not results:
|
||||
PostVimMessage( 'No completions found; errors in the file?' )
|
||||
return results
|
||||
|
||||
|
||||
def OnFileReadyToParse( self ):
|
||||
|
Loading…
Reference in New Issue
Block a user