Clang parse now again called on cursor hold

This commit is contained in:
Strahinja Val Markovic 2012-07-28 12:06:38 -07:00
parent 0ea218022a
commit ae618c5566

View File

@ -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() )