summaryrefslogtreecommitdiff
path: root/ale_linters/tcl/nagelfar.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/tcl/nagelfar.vim')
-rw-r--r--ale_linters/tcl/nagelfar.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/tcl/nagelfar.vim b/ale_linters/tcl/nagelfar.vim
index 8b29f9ee..13b7a549 100644
--- a/ale_linters/tcl/nagelfar.vim
+++ b/ale_linters/tcl/nagelfar.vim
@@ -28,7 +28,7 @@ function! ale_linters#tcl#nagelfar#Handle(buffer, lines) abort
for l:match in ale#util#GetMatches(a:lines, l:pattern)
call add(l:output, {
\ 'lnum': l:match[1] + 0,
- \ 'type': l:match[2] ==# 'N' ? 'W' : l:match[2],
+ \ 'type': l:match[2] is# 'N' ? 'W' : l:match[2],
\ 'text': l:match[3],
\})
endfor