-
-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(completion): add supermaven-nvim
- Loading branch information
1 parent
61dcf3d
commit aa6edb5
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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: `<C-l>` | ||
- Clear suggestion: `<C-h>` | ||
- Accept word: `<C-w>` | ||
|
||
**Repository**: <https://github.com/supermaven-inc/supermaven-nvim> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
return { | ||
"supermaven-inc/supermaven-nvim", | ||
event = "VeryLazy", | ||
config = function() | ||
require("supermaven-nvim").setup { | ||
keymaps = { | ||
accept_suggestion = "<C-l>", | ||
clear_suggestion = "<C-h>", | ||
accept_word = "<C-w>", | ||
}, | ||
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, | ||
} |