Comment update

This commit is contained in:
Strahinja Val Markovic 2014-08-19 13:59:33 -07:00
parent 92084bf91a
commit a5b750703f

View File

@ -281,9 +281,9 @@ class YouCompleteMe( object ):
if self.DiagnosticsForCurrentFileReady(): if self.DiagnosticsForCurrentFileReady():
diagnostics = self._latest_file_parse_request.Response() diagnostics = self._latest_file_parse_request.Response()
# We set the diagnostics request to None because we want to prevent # We set the diagnostics request to None because we want to prevent
# Syntastic from repeatedly refreshing the buffer with the same diags. # repeated refreshing of the buffer with the same diags. Setting this to
# Setting this to None makes DiagnosticsForCurrentFileReady return False # None makes DiagnosticsForCurrentFileReady return False until the next
# until the next request is created. # request is created.
self._latest_file_parse_request = None self._latest_file_parse_request = None
if qflist_format: if qflist_format:
return vimsupport.ConvertDiagnosticsToQfList( diagnostics ) return vimsupport.ConvertDiagnosticsToQfList( diagnostics )