diff --git a/lua/astrocommunity/completion/supermaven-nvim/README.md b/lua/astrocommunity/completion/supermaven-nvim/README.md new file mode 100644 index 000000000..17b31f233 --- /dev/null +++ b/lua/astrocommunity/completion/supermaven-nvim/README.md @@ -0,0 +1,16 @@ +# supermaven-nvim + +> [!NOTE] +> You should probably read their [Code Policy](https://supermaven.com/code-policy) before running this plugin, if code retention concerns you. + +The official Neovim plugin for [Supermaven](https://supermaven.com). + +Upon startup, you will be prompted to either use the Free Tier with the command `:SupermavenUseFree` or to activate a Supermaven Pro subscription by following a link, which will connect your Supermaven account. + +Keybinds: + +- Accept suggestion: `` +- Clear suggestion: `` +- Accept word: `` + +**Repository**: diff --git a/lua/astrocommunity/completion/supermaven-nvim/init.lua b/lua/astrocommunity/completion/supermaven-nvim/init.lua new file mode 100644 index 000000000..0a403db5a --- /dev/null +++ b/lua/astrocommunity/completion/supermaven-nvim/init.lua @@ -0,0 +1,16 @@ +return { + "supermaven-inc/supermaven-nvim", + event = "VeryLazy", + config = function() + require("supermaven-nvim").setup { + keymaps = { + accept_suggestion = "", + clear_suggestion = "", + accept_word = "", + }, + log_level = "warn", + disable_inline_completion = false, -- disables inline completion for use with cmp + disable_keymaps = false, -- disables built in keymaps for more manual control + } + end, +}