summaryrefslogtreecommitdiff
path: root/lua/user/cmp.lua
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-05-28 12:00:15 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-05-28 12:00:15 +0100
commit8fad47c3cf670bad0afd9439032c148d27ca62de (patch)
tree8a33031dcbb7f3a129754f8b62f3830bddd505d4 /lua/user/cmp.lua
parentdd004512f2850c894753b15a6a8a2147088f1cb4 (diff)
parented7eee18e3833dba8ef02e3a669a582f527bcafd (diff)
Merge branch 'vgg' into 12-nvimtree12-nvimtree
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" },