diff --git a/python/ycm/youcompleteme.py b/python/ycm/youcompleteme.py index 54da2cd7..58cdb2e1 100644 --- a/python/ycm/youcompleteme.py +++ b/python/ycm/youcompleteme.py @@ -341,7 +341,7 @@ class YouCompleteMe( object ): if '*' in filetype_to_disable: return False else: - return not all([ x in filetype_to_disable for x in filetypes ]) + return not any([ x in filetype_to_disable for x in filetypes ]) def _AddSyntaxDataIfNeeded( self, extra_data ):