mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-22 13:57:04 +08:00
Ban use of ==# or ==? in the codebase, and prefer is# or is? instead
This commit is contained in:
1 parent
5010ddc28f
commit
a535d07f28
61 files changed
+158
-154
No files matched your search
@@ -32,7 +32,7 @@ function! ale_linters#go#gometalinter#Handler(buffer, lines) abort
|
||||
call add(l:output, {
|
||||
\ 'lnum': l:match[2] + 0,
|
||||
\ 'col': l:match[3] + 0,
|
||||
\ 'type': tolower(l:match[4]) ==# 'warning' ? 'W' : 'E',
|
||||
\ 'type': tolower(l:match[4]) is# 'warning' ? 'W' : 'E',
|
||||
\ 'text': l:match[5],
|
||||
\})
|
||||
endfor
|
||||
|
||||
Reference in new issue
Block a user