#333 Remember the IDs for highlights

This commit is contained in:
w0rp
2017-03-12 22:46:33 +00:00
parent 382e569f66
commit 711ab99362
4 changed files with 21 additions and 16 deletions
+1 -2
View File
@@ -125,8 +125,7 @@ function! ale#sign#SetSigns(buffer, loclist) abort
\ : 'ALEWarningSign'
" Save the sign IDs we are setting back on our loclist objects.
" These IDs can be used later for changing line numbers of items
" we keep, based on what Vim adjusts automatically.
" These IDs will be used to preserve items which are set many times.
for l:obj in l:sublist
let l:obj.sign_id = l:sign_id
endfor