diff options
author | w0rp <devw0rp@gmail.com> | 2023-01-04 15:13:21 +0000 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2023-01-04 15:13:21 +0000 |
commit | 0f51c3b01bdafc7f8ad2ece4aacef089f952e884 (patch) | |
tree | d3197aeca5b5762756513bb25da8d0e230125bcd | |
parent | 5c703f4e4b30cbe75e375f8baf453fb4f259e120 (diff) | |
download | ale-0f51c3b01bdafc7f8ad2ece4aacef089f952e884.zip |
Fix #4410 - Ignore prop_add errors
-rw-r--r-- | autoload/ale/virtualtext.vim | 3 |
1 files changed, 2 insertions, 1 deletions
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, |