diff options
Diffstat (limited to 'ale_linters/dart/dartanalyzer.vim')
-rw-r--r-- | ale_linters/dart/dartanalyzer.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/dart/dartanalyzer.vim b/ale_linters/dart/dartanalyzer.vim index 8f440571..f7b82c4b 100644 --- a/ale_linters/dart/dartanalyzer.vim +++ b/ale_linters/dart/dartanalyzer.vim @@ -22,7 +22,7 @@ function! ale_linters#dart#dartanalyzer#Handle(buffer, lines) abort for l:match in ale#util#GetMatches(a:lines, l:pattern) call add(l:output, { - \ 'type': l:match[1] ==# 'error' ? 'E' : 'W', + \ 'type': l:match[1] is# 'error' ? 'E' : 'W', \ 'text': l:match[6] . ': ' . l:match[2], \ 'lnum': str2nr(l:match[4]), \ 'col': str2nr(l:match[5]), |