summaryrefslogtreecommitdiff
path: root/lua/user/cmp.lua
diff options
context:
space:
mode:
authorVito G. Graffagnino <vito@graffagnino.xyz>2022-05-28 12:22:12 +0100
committerVito G. Graffagnino <vito@graffagnino.xyz>2022-05-28 12:22:12 +0100
commitb49b14da051b693036bf8d71dc9932b31a8cafa0 (patch)
tree45d9b23ed7b63ab3f64b0558c5265d117fbbea63 /lua/user/cmp.lua
parente07a1d37116bf2aafef18a7f2ef71e45e15ec5cc (diff)
parent7ccd48274bdd76b76fcffe9073de62289bcfcc22 (diff)
Merge branch 'vgg' into 19-indentline19-indentline
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" },