From ed134d999b7d231d871e93778053053b6ceb371f Mon Sep 17 00:00:00 2001 From: Nybkox Date: Thu, 6 Jun 2024 13:44:39 +0200 Subject: [PATCH] feat(extras): add supermaven --- .../plugins/extras/coding/supermaven.lua | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lua/lazyvim/plugins/extras/coding/supermaven.lua diff --git a/lua/lazyvim/plugins/extras/coding/supermaven.lua b/lua/lazyvim/plugins/extras/coding/supermaven.lua new file mode 100644 index 00000000..3995b096 --- /dev/null +++ b/lua/lazyvim/plugins/extras/coding/supermaven.lua @@ -0,0 +1,20 @@ +return { + { + "supermaven-inc/supermaven-nvim", + config = function() + require("supermaven-nvim").setup({ + keymaps = { + accept_suggestion = "", + clear_suggestion = "", + accept_word = "", + }, + }) + end, + }, + { + "hrsh7th/nvim-cmp", + opts = function(_, opts) + table.insert(opts.sources, { name = "supermaven", priority = 100 }) + end, + }, +}