diff options
author | w0rp <devw0rp@gmail.com> | 2017-05-07 19:33:59 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-05-07 19:33:59 +0100 |
commit | 32f21751f4722abdb10b9da3b6cf088240d46421 (patch) | |
tree | f85a12d7cf16e9a905fc9093dfee21ff72b027ff /autoload | |
parent | ca120088c7206dfe8fc0a9e88a22470123cc574d (diff) | |
download | ale-32f21751f4722abdb10b9da3b6cf088240d46421.zip |
Do not copy the items for setting highlights, as we do need to modify the items in ale_buffer_infov1.3.0
Diffstat (limited to 'autoload')
-rw-r--r-- | autoload/ale/highlight.vim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/autoload/ale/highlight.vim b/autoload/ale/highlight.vim index 6cb1c3ae..f3a479e3 100644 --- a/autoload/ale/highlight.vim +++ b/autoload/ale/highlight.vim @@ -97,8 +97,7 @@ function! ale#highlight#UpdateHighlights() abort endfunction function! ale#highlight#BufferHidden(buffer) abort - let l:info = get(g:ale_buffer_info, a:buffer, {'loclist': []}) - let l:loclist = deepcopy(l:info.loclist) + let l:loclist = get(g:ale_buffer_info, a:buffer, {'loclist': []}).loclist " Remember loclist items, so they can be restored later. if !empty(l:loclist) |