We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dc382c commit 5277fc4Copy full SHA for 5277fc4
autoload/lsp/internal/diagnostics/highlights.vim
@@ -93,13 +93,8 @@ function! s:clear_all_highlights() abort
93
try
94
" TODO: need to check for valid range before calling prop_add
95
" See https://github.com/prabirshrestha/vim-lsp/pull/721
96
- let l:prop_type = s:get_prop_type_name(l:severity)
97
- let l:props = prop_find({ 'type': l:prop_type, 'bufnr': l:bufnr })
98
- " if empty do not call prop_remove.
99
- " See https://github.com/prabirshrestha/vim-lsp/issues/1043
100
- if empty(l:props) | continue | endif
101
silent! call prop_remove({
102
- \ 'type': l:prop_type,
+ \ 'type': s:get_prop_type_name(l:severity),
103
\ 'bufnr': l:bufnr,
104
\ 'all': v:true })
105
catch
0 commit comments