Switch to v:t_ variables for type checks

This commit is contained in:
w0rp committed 2018-07-25 01:27:28 +01:00
1 parent 9f8c37e17c
commit 06132954b1
17 files changed
+84 -62

No files matched your search

+1 -1
View File
@@ -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