Ban use of ==# or ==? in the codebase, and prefer is# or is? instead
This commit is contained in:
parent
5010ddc28f
commit
a535d07f28
61 changed files with 158 additions and 154 deletions
|
@ -38,7 +38,7 @@ function! ale_linters#scala#scalac#Handle(buffer, lines) abort
|
|||
endif
|
||||
|
||||
let l:text = l:match[3]
|
||||
let l:type = l:match[2] ==# 'error' ? 'E' : 'W'
|
||||
let l:type = l:match[2] is# 'error' ? 'E' : 'W'
|
||||
let l:col = 0
|
||||
|
||||
if l:ln + 1 < len(a:lines)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue