Elm linter shows full error ranges

This commit is contained in:
Jasper Woudenberg committed 2017-06-27 20:16:29 +02:00
1 parent c2f69b7750
commit 72161b82ef
2 files changed
+12

No files matched your search

+2
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