From 0f51c3b01bdafc7f8ad2ece4aacef089f952e884 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 4 Jan 2023 15:13:21 +0000 Subject: [PATCH] Fix #4410 - Ignore prop_add errors --- autoload/ale/virtualtext.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/autoload/ale/virtualtext.vim b/autoload/ale/virtualtext.vim index a96a1f1d..3ef82680 100644 --- a/autoload/ale/virtualtext.vim +++ b/autoload/ale/virtualtext.vim @@ -169,7 +169,8 @@ function! ale#virtualtext#ShowMessage(buffer, item) abort call add(s:hl_list, l:hl_group) 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, \ 'text': ' ' . l:msg, \ 'bufnr': a:buffer,