From 39b23db67463699f703d08b8c33ed73e637435df Mon Sep 17 00:00:00 2001 From: Nybkox Date: Thu, 27 Jun 2024 18:19:50 +0200 Subject: [PATCH] fix: move keymaps to options --- lua/lazyvim/plugins/extras/coding/supermaven.lua | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/lua/lazyvim/plugins/extras/coding/supermaven.lua b/lua/lazyvim/plugins/extras/coding/supermaven.lua index d8efda72..c866e693 100644 --- a/lua/lazyvim/plugins/extras/coding/supermaven.lua +++ b/lua/lazyvim/plugins/extras/coding/supermaven.lua @@ -1,15 +1,13 @@ return { { "supermaven-inc/supermaven-nvim", - config = function() - require("supermaven-nvim").setup({ - keymaps = { - accept_suggestion = "", - clear_suggestion = "", - accept_word = "", - }, - }) - end, + opts = { + keymaps = { + accept_suggestion = "", + clear_suggestion = "", + accept_word = "", + }, + }, }, { "hrsh7th/nvim-cmp",