Ban !=# and !=? from the codebase

This commit is contained in:
w0rp
2017-08-11 00:31:42 +01:00
parent b1462ac66c
commit d5ae3201a4
24 changed files with 37 additions and 33 deletions

View File

@@ -135,7 +135,7 @@ Execute (g:ale_lint_on_filetype_changed = 1 should bind FileType, and required b
\ 'BufReadPost * let b:ale_original_filetype = &filetype',
\ 'FileType * '
\ . 'if has_key(b:, ''ale_original_filetype'') '
\ . '&& b:ale_original_filetype !=# expand(''<amatch>'')'
\ . '&& b:ale_original_filetype isnot# expand(''<amatch>'')'
\ . '| call ale#Queue(300, ''lint_file'')'
\ . '| endif',
\], CheckAutocmd('ALERunOnFiletypeChangeGroup')