summaryrefslogtreecommitdiff
path: root/lua/user/cmp.lua
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-05-28 12:40:17 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-05-28 12:40:17 +0100
commit993408daee54ae2a245b97602aaf73e6cdf3d8e1 (patch)
tree24da27cdf2999477ebb349ad2fc9e621e1e4985e /lua/user/cmp.lua
parent24e1856862e859b60cd5b38fa6befa00f75de89a (diff)
parent418fed300187f0cd2dbd8d8fc791dd4aa08b70fe (diff)
Merge branch 'vgg' into 22-autocommands22-autocommands
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 df5c052..b16499a 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" },