summaryrefslogtreecommitdiff
path: root/lua/user/cmp.lua
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-05-28 11:52:58 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-05-28 11:52:58 +0100
commitdf55cb522dfd6b3d2cd2b734fce9d8fc1303385a (patch)
tree2c51a56531a3dad6610fa961736f3dbaee3e8fe0 /lua/user/cmp.lua
parentb9a2bc855bbd7a7d54c9e280ee875393e30cf1a6 (diff)
parentf671fc644de5edbeb4692df3b1b763754e22fb16 (diff)
Merge branch 'vgg' into 09-autopairs09-autopairs
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" },