summaryrefslogtreecommitdiff
path: root/ale_linters/sml/smlnj.vim
diff options
context:
space:
mode:
Diffstat (limited to 'ale_linters/sml/smlnj.vim')
-rw-r--r--ale_linters/sml/smlnj.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/sml/smlnj.vim b/ale_linters/sml/smlnj.vim
index fda1d038..4acfc9e6 100644
--- a/ale_linters/sml/smlnj.vim
+++ b/ale_linters/sml/smlnj.vim
@@ -29,7 +29,7 @@ function! ale_linters#sml#smlnj#Handle(buffer, lines) abort
\ 'bufnr': a:buffer,
\ 'lnum': l:match[1] + 0,
\ 'text': l:match[2] . ': ' . l:match[3],
- \ 'type': l:match[2] ==# 'error' ? 'E' : 'W',
+ \ 'type': l:match[2] is# 'error' ? 'E' : 'W',
\})
continue
endif