From 06132954b12ba87c7bba8fb7d5a40e4ff8b774e8 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 25 Jul 2018 01:27:28 +0100 Subject: Switch to v:t_ variables for type checks --- ale_linters/elm/make.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ale_linters/elm/make.vim') 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 -- cgit v1.2.3