refactor(nvim): remove deprecated snippet parsing in cmp styling

This commit is contained in:
Price Hiller 2023-12-08 14:37:26 -06:00
parent 33c24447e0
commit 57ea529b3f
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -238,9 +238,6 @@ return {
return kind
else
local word = entry:get_insert_text()
if entry.completion_item.insertTextFormat == types.lsp.InsertTextFormat.Snippet then
word = vim.lsp.util.parse_snippet(word)
end
word = str.oneline(word)
-- concatenates the string