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 d7e644c commit e748025Copy full SHA for e748025
autoload/lsp/ui/vim/folding.vim
@@ -23,6 +23,10 @@ function! s:set_textprops(buf) abort
23
" sent. We will let Vim handle updating the line numbers when the user
24
" inserts or deletes text.
25
26
+ " Skip if the buffer doesn't exist. This might happen when a buffer is
27
+ " opened and quickly deleted.
28
+ if !bufexists(a:buf) | return | endif
29
+
30
" Create text property, if not already defined
31
silent! call prop_type_add(s:textprop_name, {'bufnr': a:buf})
32
0 commit comments