Comment update
This commit is contained in:
parent
92084bf91a
commit
a5b750703f
@ -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 )
|
||||||
|
Loading…
Reference in New Issue
Block a user