summaryrefslogtreecommitdiff
path: root/lua/plugins/configs
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/configs')
-rw-r--r--lua/plugins/configs/cmp.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/lua/plugins/configs/cmp.lua b/lua/plugins/configs/cmp.lua
index 0082203..27114ca 100644
--- a/lua/plugins/configs/cmp.lua
+++ b/lua/plugins/configs/cmp.lua
@@ -101,6 +101,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]",
@@ -110,6 +112,8 @@ cmp.setup({
},
-- TODO: check out more sources
sources = {
+ { name = "nvim_lsp" },
+ { name = "nvim_lua" },
{ name = "luasnip" },
{ name = "buffer" },
{ name = "path" },