summaryrefslogtreecommitdiff
path: root/lua/user/cmp.lua
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-05-28 11:54:49 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-05-28 11:54:49 +0100
commitdeaf6a9824ff47756379c00f430e784f059b581c (patch)
treeaa9b041277f91c8107d912cfd41a1e5bc2ef2c36 /lua/user/cmp.lua
parent54c2bb07828c8e11bfa8e26f5931060ac3402358 (diff)
parentdf55cb522dfd6b3d2cd2b734fce9d8fc1303385a (diff)
Merge branch 'vgg' into 10-comments10-comments
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" },