Add colorfulmenu nvim plugin
This commit is contained in:
parent
f9e6d25cb1
commit
16e9e0198a
2 changed files with 26 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
4
nvim/lua/plugs/colorfulmenu.lua
Normal file
4
nvim/lua/plugs/colorfulmenu.lua
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
"xzbdmw/colorful-menu.nvim",
|
||||
opts = {},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue