mirror of
https://github.com/dense-analysis/ale
synced 2024-12-25 07:32:24 +00:00
#48 Store the linter name in the loclist objects for later use.
This commit is contained in:
parent
8d390384f1
commit
f60df660f8
@ -134,6 +134,11 @@ function! s:HandleExit(job)
|
||||
" Make some adjustments to the loclists to fix common problems.
|
||||
call s:FixLoclist(buffer, linter_loclist)
|
||||
|
||||
" Remember which linter returned these items for later use.
|
||||
for obj in linter_loclist
|
||||
let obj.linter_name = linter.name
|
||||
endfor
|
||||
|
||||
if g:ale_buffer_should_reset_map[buffer]
|
||||
let g:ale_buffer_should_reset_map[buffer] = 0
|
||||
let g:ale_buffer_loclist_map[buffer] = []
|
||||
|
Loading…
Reference in New Issue
Block a user