mirror of
https://github.com/dense-analysis/ale.git
synced 2026-01-17 16:45:11 +08:00
#852 Pass on error codes in the loclist corrections
This commit is contained in:
@@ -374,6 +374,10 @@ function! ale#engine#FixLocList(buffer, linter_name, loclist) abort
|
||||
\ 'linter_name': a:linter_name,
|
||||
\}
|
||||
|
||||
if has_key(l:old_item, 'code')
|
||||
let l:item.code = l:old_item.code
|
||||
endif
|
||||
|
||||
if has_key(l:old_item, 'filename')
|
||||
\&& !ale#path#IsTempName(l:old_item.filename)
|
||||
" Use the filename given.
|
||||
|
||||
Reference in New Issue
Block a user