From: Oleksiy Hryshchenko Date: Fri, 14 Apr 2023 21:07:12 +0000 (+0300) Subject: small fix for ultisnip description X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=140b7f55f648a3d37b0f3d73b5c89c9aa92364f7;p=vim-lsp.git small fix for ultisnip description --- 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, 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"