diff --git a/python/ycm/youcompleteme.py b/python/ycm/youcompleteme.py index 21ce5240..5cb91585 100644 --- a/python/ycm/youcompleteme.py +++ b/python/ycm/youcompleteme.py @@ -256,10 +256,11 @@ class YouCompleteMe( object ): def OnFileReadyToParse( self ): - self._omnicomp.OnFileReadyToParse( None ) - if not self.IsServerAlive(): self._NotifyUserIfServerCrashed() + return + + self._omnicomp.OnFileReadyToParse( None ) extra_data = {} self._AddTagsFilesIfNeeded( extra_data )