We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca12008 commit 32f2175Copy full SHA for 32f2175
autoload/ale/highlight.vim
@@ -97,8 +97,7 @@ function! ale#highlight#UpdateHighlights() abort
97
endfunction
98
99
function! ale#highlight#BufferHidden(buffer) abort
100
- let l:info = get(g:ale_buffer_info, a:buffer, {'loclist': []})
101
- let l:loclist = deepcopy(l:info.loclist)
+ let l:loclist = get(g:ale_buffer_info, a:buffer, {'loclist': []}).loclist
102
103
" Remember loclist items, so they can be restored later.
104
if !empty(l:loclist)
0 commit comments