mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-08 20:43:31 +08:00
Ban !=# and !=? from the codebase
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user