supermaven

This commit is contained in:
Miguel Palhas
2024-10-28 16:14:14 +00:00
parent 4589275a3b
commit 31701d2a3c
4 changed files with 41 additions and 11 deletions
+14 -2
View File
@@ -1,13 +1,25 @@
local lspkind = require "lspkind"
local nvchad_options = require "nvchad.configs.cmp"
local options = {
sources = {
-- { name = "supermaven" },
{ name = "nvim_lsp" },
-- { name = "cmp_ai" },
{ name = "luasnip" },
{ name = "copilot" },
{ name = "buffer" },
{ name = "nvim_lua" },
{ name = "path" },
},
formatting = {
format = lspkind.cmp_format {
mode = "symbol",
max_width = 50,
symbol_map = { Supermaven = "" },
},
},
}
return options
return vim.tbl_deep_extend("force", nvchad_options, options)