summaryrefslogtreecommitdiff
path: root/lua/user/cmp.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/user/cmp.lua')
-rw-r--r--lua/user/cmp.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/user/cmp.lua b/lua/user/cmp.lua
index c36904c..51135e0 100644
--- a/lua/user/cmp.lua
+++ b/lua/user/cmp.lua
@@ -107,6 +107,8 @@ cmp.setup {
--vim_item.kind = string.format("%s", kind_icons[vim_item.kind])
-- 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]",
@@ -115,6 +117,8 @@ cmp.setup {
end,
},
sources = {
+ { name = "nvim_lsp" },
+ { name = "nvim_lua" },
{ name = "luasnip" },
{ name = "buffer" },
{ name = "path" },