mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-13 00:20:13 +08:00
Switch to v:t_ variables for type checks
This commit is contained in:
17 files changed
+84
-62
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user