From 140b7f55f648a3d37b0f3d73b5c89c9aa92364f7 Mon Sep 17 00:00:00 2001 From: Oleksiy Hryshchenko <greeschenko@gmail.com> Date: Sat, 15 Apr 2023 00:07:12 +0300 Subject: [PATCH] small fix for ultisnip description --- autoload/lsp/completion.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/lsp/completion.vim b/autoload/lsp/completion.vim index c0afe64..9159e10 100644 --- a/autoload/lsp/completion.vim +++ b/autoload/lsp/completion.vim @@ -148,7 +148,7 @@ export def CompletionReply(lspserver: dict<any>, cItems: any) var txt = readfile(parts[0])[str2nr(parts[1]) : str2nr(parts[1]) + 20] var restxt = item.description .. "\n\n" for line in txt - if line == "" + if line == "" || line[0 : 6] == "snippet" break else restxt = restxt .. line .. "\n" -- 2.50.0