Copy all loclist items returned from handlers, and set up defaults for convenience
This commit is contained in:
parent
f1e80b800c
commit
b2fe1b2567
51 changed files with 185 additions and 134 deletions
|
@ -11,7 +11,6 @@ function! ale_linters#haskell#hlint#Handle(buffer, lines) abort
|
|||
call add(l:output, {
|
||||
\ 'bufnr': a:buffer,
|
||||
\ 'lnum': l:error.startLine + 0,
|
||||
\ 'vcol': 0,
|
||||
\ 'col': l:error.startColumn + 0,
|
||||
\ 'text': l:error.severity . ': ' . l:error.hint . '. Found: ' . l:error.from . ' Why not: ' . l:error.to,
|
||||
\ 'type': l:error.severity ==# 'Error' ? 'E' : 'W',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue