Merge pull request #1532 from vheon/fix-disable-filetype
Disable completion if any of current filetypes is disable
This commit is contained in:
commit
d77ef96ebc
@ -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 ):
|
||||
|
Loading…
Reference in New Issue
Block a user