add strikethrougn for deprecated items

This commit is contained in:
2023-01-22 18:48:07 +08:00
parent 7e9401f01a
commit 4774f547a0
+2
View File
@@ -36,6 +36,8 @@ local kind_icons = {
cmp.event:on('confirm_done', cmp_autopairs.on_confirm_done({ map_char = { tex = '' } }))
vim.cmd [[highlight CmpItemAbbrDeprecated gui=strikethrough]]
cmp.setup({
snippet = {
-- REQUIRED - you must specify a snippet engine