Ban use of ==# or ==? in the codebase, and prefer is# or is? instead
This commit is contained in:
@@ -26,7 +26,7 @@ function! ale_linters#nim#nimcheck#Handle(buffer, lines) abort
|
||||
|
||||
if len(l:textmatch) > 0
|
||||
let l:errortype = l:textmatch[1]
|
||||
if l:errortype ==# 'Error'
|
||||
if l:errortype is# 'Error'
|
||||
let l:type = 'E'
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user