Merge pull request #699 from jwoudenberg/master

Elm linter shows full error ranges
This commit is contained in:
w0rp
2017-06-27 22:24:48 +01:00
committed by GitHub
2 changed files with 12 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ function! ale_linters#elm#make#Handle(buffer, lines) abort
call add(l:output, {
\ 'lnum': l:error.region.start.line,
\ 'col': l:error.region.start.column,
\ 'end_lnum': l:error.region.end.line,
\ 'end_col': l:error.region.end.column,
\ 'type': (l:error.type ==? 'error') ? 'E' : 'W',
\ 'text': l:error.overview,
\ 'detail': l:error.overview . "\n\n" . l:error.details