From ae618c55669dbc7145e7f94a234b3f740e5364e1 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Sat, 28 Jul 2012 12:06:38 -0700 Subject: [PATCH] Clang parse now again called on cursor hold --- python/ycm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/ycm.py b/python/ycm.py index 7d22011b..61ccabcd 100644 --- a/python/ycm.py +++ b/python/ycm.py @@ -173,7 +173,7 @@ class ClangCompleter( Completer ): return [ CompletionDataToDict( x ) for x in self.future.GetResults() ] - def OnFileEnter( self ): + def OnFileReadyToParse( self ): self.future = self.completer.UpdateTranslationUnitAsync( vim.current.buffer.name, self.GetUnsavedFilesVector() )