Skip to content

Commit 9e4d7c1

Browse files
committed
Fix some Vint problems.
1 parent f8f2485 commit 9e4d7c1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ale_linters/haskell/hlint.vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ endif
88
let g:loaded_ale_linters_haskell_hlint = 1
99

1010
function! ale_linters#haskell#hlint#Handle(buffer, lines)
11-
let l:errors = json_decode(join(a:lines, ""))
11+
let l:errors = json_decode(join(a:lines, ''))
1212

1313
let l:output = []
1414

@@ -20,7 +20,7 @@ function! ale_linters#haskell#hlint#Handle(buffer, lines)
2020
\ 'vcol': 0,
2121
\ 'col': l:error.startColumn + 0,
2222
\ 'text': l:error.severity . ': ' . l:error.hint,
23-
\ 'type': l:error.severity == 'Error' ? 'E' : 'W',
23+
\ 'type': l:error.severity ==# 'Error' ? 'E' : 'W',
2424
\})
2525
endfor
2626

0 commit comments

Comments
 (0)