Fix #4410 - Ignore prop_add errors

This commit is contained in:
w0rp 2023-01-04 15:13:21 +00:00
parent 5c703f4e4b
commit 0f51c3b01b
No known key found for this signature in database
GPG Key ID: 0FC1ECAA8C81CD83
1 changed files with 2 additions and 1 deletions

View File

@ -169,7 +169,8 @@ function! ale#virtualtext#ShowMessage(buffer, item) abort
call add(s:hl_list, l:hl_group) call add(s:hl_list, l:hl_group)
endif endif
call prop_add(l:line, 0, { " We ignore all errors from prop_add.
silent! call prop_add(l:line, 0, {
\ 'type': l:hl_group, \ 'type': l:hl_group,
\ 'text': ' ' . l:msg, \ 'text': ' ' . l:msg,
\ 'bufnr': a:buffer, \ 'bufnr': a:buffer,