mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(extras): add supermaven
This commit is contained in:
parent
73e72ee21d
commit
ed134d999b
1 changed files with 20 additions and 0 deletions
20
lua/lazyvim/plugins/extras/coding/supermaven.lua
Normal file
20
lua/lazyvim/plugins/extras/coding/supermaven.lua
Normal 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,
|
||||||
|
},
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue