diff options
author | w0rp <devw0rp@gmail.com> | 2016-10-19 22:21:39 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2016-10-19 22:21:39 +0100 |
commit | 9e4d7c1b9d9fbdad3d6f87d8a7e995ca831464a2 (patch) | |
tree | d762a84e68315674e8ea20bcb7439659000f229f | |
parent | f8f24854e3ac2a59e892c48051af48ec43c0ef0c (diff) | |
download | ale-9e4d7c1b9d9fbdad3d6f87d8a7e995ca831464a2.zip |
Fix some Vint problems.
-rw-r--r-- | ale_linters/haskell/hlint.vim | 4 |
1 files changed, 2 insertions, 2 deletions
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 |