Add colorfulmenu nvim plugin

This commit is contained in:
Martin Larsson 2026-03-19 00:30:12 +01:00
parent f9e6d25cb1
commit 16e9e0198a
2 changed files with 26 additions and 1 deletions

View file

@ -28,7 +28,28 @@ return {
},
-- (Default) Only show the documentation popup when manually triggered
completion = { documentation = { auto_show = false } },
completion = {
documentation = {
auto_show = false,
},
menu = {
draw = {
-- We don't need label_description now because label and label_description are already
-- combined together in label by colorful-menu.nvim.
columns = { { "kind_icon" }, { "label", gap = 1 } },
components = {
label = {
text = function(ctx)
return require("colorful-menu").blink_components_text(ctx)
end,
highlight = function(ctx)
return require("colorful-menu").blink_components_highlight(ctx)
end,
},
},
},
},
},
snippets = {
preset = "luasnip",

View file

@ -0,0 +1,4 @@
return {
"xzbdmw/colorful-menu.nvim",
opts = {},
}