refactor(nvim): remove deprecated snippet parsing in cmp styling
This commit is contained in:
parent
33c24447e0
commit
57ea529b3f
@ -238,9 +238,6 @@ return {
|
|||||||
return kind
|
return kind
|
||||||
else
|
else
|
||||||
local word = entry:get_insert_text()
|
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)
|
word = str.oneline(word)
|
||||||
|
|
||||||
-- concatenates the string
|
-- concatenates the string
|
||||||
|
Loading…
Reference in New Issue
Block a user