summaryrefslogtreecommitdiff
path: root/ale_linters/elm
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2018-07-25 01:27:28 +0100
committerw0rp <devw0rp@gmail.com>2018-07-25 01:27:28 +0100
commit06132954b12ba87c7bba8fb7d5a40e4ff8b774e8 (patch)
tree05c07fb32c7082d5c194d635c33bde30d4b5ac66 /ale_linters/elm
parent9f8c37e17c053772a83619a949d8eef639968b24 (diff)
downloadale-06132954b12ba87c7bba8fb7d5a40e4ff8b774e8.zip
Switch to v:t_ variables for type checks
Diffstat (limited to 'ale_linters/elm')
-rw-r--r--ale_linters/elm/make.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/ale_linters/elm/make.vim b/ale_linters/elm/make.vim
index d5bc19eb..8231ad47 100644
--- a/ale_linters/elm/make.vim
+++ b/ale_linters/elm/make.vim
@@ -136,7 +136,7 @@ function! ale_linters#elm#make#ParseMessage(message) abort
endfunction
function! ale_linters#elm#make#ParseMessageItem(item) abort
- if type(a:item) == type('')
+ if type(a:item) is v:t_string
return a:item
else
return a:item.string