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

@@ -72,7 +72,7 @@ function! ale#cursor#EchoCursorWarning(...) abort
endif
" Only echo the warnings in normal mode, otherwise we will get problems.
if mode() !=# 'n'
if mode() isnot# 'n'
return
endif
@@ -118,7 +118,7 @@ function! ale#cursor#ShowCursorDetail() abort
endif
" Only echo the warnings in normal mode, otherwise we will get problems.
if mode() !=# 'n'
if mode() isnot# 'n'
return
endif