Clang parse now again called on cursor hold
This commit is contained in:
parent
0ea218022a
commit
ae618c5566
@ -173,7 +173,7 @@ class ClangCompleter( Completer ):
|
|||||||
return [ CompletionDataToDict( x ) for x in self.future.GetResults() ]
|
return [ CompletionDataToDict( x ) for x in self.future.GetResults() ]
|
||||||
|
|
||||||
|
|
||||||
def OnFileEnter( self ):
|
def OnFileReadyToParse( self ):
|
||||||
self.future = self.completer.UpdateTranslationUnitAsync(
|
self.future = self.completer.UpdateTranslationUnitAsync(
|
||||||
vim.current.buffer.name,
|
vim.current.buffer.name,
|
||||||
self.GetUnsavedFilesVector() )
|
self.GetUnsavedFilesVector() )
|
||||||
|
Loading…
Reference in New Issue
Block a user