diff options
author | w0rp <w0rp@users.noreply.github.com> | 2018-01-29 13:54:50 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-29 13:54:50 +0000 |
commit | c589e3d57d2a4d37445a4b97648c08e1b9741304 (patch) | |
tree | 382ad241a3ea4f048d0b31ddf6b488fad4f3b6ca /autoload | |
parent | 1832240cff33a91b0b12d8719b986838c2d36e6a (diff) | |
parent | 863fb60695764a41a6fd8139544938f343f61278 (diff) | |
download | ale-c589e3d57d2a4d37445a4b97648c08e1b9741304.zip |
Merge pull request #1322 from datanoise/master
fixed rust errors parsing
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/handlers/rust.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/ale/handlers/rust.vim b/autoload/ale/handlers/rust.vim index 395b915c..537bc731 100644 --- a/autoload/ale/handlers/rust.vim +++ b/autoload/ale/handlers/rust.vim @@ -51,8 +51,8 @@ function! ale#handlers#rust#HandleRustErrors(buffer, lines) abort call add(l:output, { \ 'lnum': l:span.line_start, \ 'end_lnum': l:span.line_end, - \ 'col': l:span.byte_start, - \ 'end_col': l:span.byte_end, + \ 'col': l:span.column_start, + \ 'end_col': l:span.column_end, \ 'text': empty(l:span.label) ? l:error.message : printf('%s: %s', l:error.message, l:span.label), \ 'type': toupper(l:error.level[0]), \}) |