summaryrefslogtreecommitdiff
path: root/lua/user/cmp.lua
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-05-28 11:51:57 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-05-28 11:51:57 +0100
commitf671fc644de5edbeb4692df3b1b763754e22fb16 (patch)
treee5407060ffddbe6b550154947eaafe5a637e818c /lua/user/cmp.lua
parent5b2777816a17b2d56c18cedb7b8bc1975539645e (diff)
parent63204515d77360a51347dd6e0b078e1e931d65af (diff)
Merge branch 'vgg' into 08-treesitter08-treesitter
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" },