style: added CmpGhostText

This commit is contained in:
Folke Lemaitre
2023-06-16 14:51:19 +02:00
parent 2e7ad2b825
commit cbf1797f4c

View File

@ -42,6 +42,7 @@ return {
"saadparwaiz1/cmp_luasnip",
},
opts = function()
vim.api.nvim_set_hl(0, "CmpGhostText", { link = "Comment", default = true })
local cmp = require("cmp")
return {
completion = {
@ -82,7 +83,7 @@ return {
},
experimental = {
ghost_text = {
hl_group = "LspCodeLens",
hl_group = "CmpGhostText",
},
},
}