Do not copy the items for setting highlights, as we do need to modify the items in ale_buffer_info
This commit is contained in:
parent
ca120088c7
commit
32f21751f4
1 changed files with 1 additions and 2 deletions
|
@ -97,8 +97,7 @@ function! ale#highlight#UpdateHighlights() abort
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! ale#highlight#BufferHidden(buffer) abort
|
function! ale#highlight#BufferHidden(buffer) abort
|
||||||
let l:info = get(g:ale_buffer_info, a:buffer, {'loclist': []})
|
let l:loclist = get(g:ale_buffer_info, a:buffer, {'loclist': []}).loclist
|
||||||
let l:loclist = deepcopy(l:info.loclist)
|
|
||||||
|
|
||||||
" Remember loclist items, so they can be restored later.
|
" Remember loclist items, so they can be restored later.
|
||||||
if !empty(l:loclist)
|
if !empty(l:loclist)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue