fix: move keymaps to options

This commit is contained in:
Nybkox 2024-06-27 18:19:50 +02:00 committed by Folke Lemaitre
parent 9e37a42e8c
commit 39b23db674

View file

@ -1,15 +1,13 @@
return { return {
{ {
"supermaven-inc/supermaven-nvim", "supermaven-inc/supermaven-nvim",
config = function() opts = {
require("supermaven-nvim").setup({ keymaps = {
keymaps = { accept_suggestion = "<C-y>",
accept_suggestion = "<C-y>", clear_suggestion = "<C-]>",
clear_suggestion = "<C-]>", accept_word = "<C-j>",
accept_word = "<C-j>", },
}, },
})
end,
}, },
{ {
"hrsh7th/nvim-cmp", "hrsh7th/nvim-cmp",