Copy all loclist items returned from handlers, and set up defaults for convenience

This commit is contained in:
w0rp committed 2017-02-26 14:51:22 +00:00
1 parent f1e80b800c
commit b2fe1b2567
51 files changed
+185 -134

No files matched your search

-1
View File
@@ -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',