feat(extras): add supermaven

This commit is contained in:
Nybkox 2024-06-06 13:44:39 +02:00 committed by Folke Lemaitre
parent 73e72ee21d
commit ed134d999b

View file

@ -0,0 +1,20 @@
return {
{
"supermaven-inc/supermaven-nvim",
config = function()
require("supermaven-nvim").setup({
keymaps = {
accept_suggestion = "<C-y>",
clear_suggestion = "<C-]>",
accept_word = "<C-j>",
},
})
end,
},
{
"hrsh7th/nvim-cmp",
opts = function(_, opts)
table.insert(opts.sources, { name = "supermaven", priority = 100 })
end,
},
}