From 9e4d7c1b9d9fbdad3d6f87d8a7e995ca831464a2 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 19 Oct 2016 22:21:39 +0100 Subject: Fix some Vint problems. --- ale_linters/haskell/hlint.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ale_linters') diff --git a/ale_linters/haskell/hlint.vim b/ale_linters/haskell/hlint.vim index b6a52e66..a12f75f1 100644 --- a/ale_linters/haskell/hlint.vim +++ b/ale_linters/haskell/hlint.vim @@ -8,7 +8,7 @@ endif let g:loaded_ale_linters_haskell_hlint = 1 function! ale_linters#haskell#hlint#Handle(buffer, lines) - let l:errors = json_decode(join(a:lines, "")) + let l:errors = json_decode(join(a:lines, '')) let l:output = [] @@ -20,7 +20,7 @@ function! ale_linters#haskell#hlint#Handle(buffer, lines) \ 'vcol': 0, \ 'col': l:error.startColumn + 0, \ 'text': l:error.severity . ': ' . l:error.hint, - \ 'type': l:error.severity == 'Error' ? 'E' : 'W', + \ 'type': l:error.severity ==# 'Error' ? 'E' : 'W', \}) endfor -- cgit v1.2.3