From 57ea529b3fdea114aa2ede63eac40827b55c2584 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 8 Dec 2023 14:37:26 -0600 Subject: [PATCH] refactor(nvim): remove deprecated snippet parsing in cmp styling --- dots/.config/nvim/lua/plugins/configs/cmp.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/configs/cmp.lua b/dots/.config/nvim/lua/plugins/configs/cmp.lua index 5a49df54..c071e416 100644 --- a/dots/.config/nvim/lua/plugins/configs/cmp.lua +++ b/dots/.config/nvim/lua/plugins/configs/cmp.lua @@ -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