summaryrefslogtreecommitdiff
path: root/lua/user/cmp.lua
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-05-28 12:15:01 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-05-28 12:15:01 +0100
commita77e1095d3a820c975f68bbcfbedea0185096378 (patch)
tree7620fbe96bcdd3e05e135a401b2793204de2ffb3 /lua/user/cmp.lua
parentf92254108d154b3710bbd8d85ad2585b6a979107 (diff)
parent24a4adc76f254309993eca04a79722bd1aea32ac (diff)
Merge branch 'vgg' into 16-toggleterm16-toggleterm
Diffstat (limited to 'lua/user/cmp.lua')
-rw-r--r--lua/user/cmp.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/user/cmp.lua b/lua/user/cmp.lua
index a151214..0ba1fc7 100644
--- a/lua/user/cmp.lua
+++ b/lua/user/cmp.lua
@@ -102,6 +102,7 @@ cmp.setup {
-- vim_item.kind = string.format('%s %s', kind_icons[vim_item.kind], vim_item.kind) -- This concatonates the icons with the name of the item kind
vim_item.menu = ({
nvim_lsp = "[LSP]",
+ nvim_lua = "[NVIM_LUA]",
luasnip = "[Snippet]",
buffer = "[Buffer]",
path = "[Path]",
@@ -111,6 +112,7 @@ cmp.setup {
},
sources = {
{ name = "nvim_lsp" },
+ { name = "nvim_lua" },
{ name = "luasnip" },
{ name = "buffer" },
{ name = "path" },