mirror of
https://github.com/dense-analysis/ale.git
synced 2025-12-06 12:44:23 +08:00
Copy all loclist items returned from handlers, and set up defaults for convenience
This commit is contained in:
@@ -22,11 +22,9 @@ function! ale_linters#elm#make#Handle(buffer, lines) abort
|
||||
call add(l:output, {
|
||||
\ 'bufnr': a:buffer,
|
||||
\ 'lnum': l:error.region.start.line,
|
||||
\ 'vcol': 0,
|
||||
\ 'col': l:error.region.start.column,
|
||||
\ 'type': (l:error.type ==? 'error') ? 'E' : 'W',
|
||||
\ 'text': l:error.overview,
|
||||
\ 'nr': -1,
|
||||
\})
|
||||
endif
|
||||
endfor
|
||||
|
||||
Reference in New Issue
Block a user