mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-03 04:16:36 +00:00
Compare commits
6 commits
c86a8a7ddb
...
e02b61dc4c
| Author | SHA1 | Date | |
|---|---|---|---|
|
e02b61dc4c |
|||
|
|
0bd9f1f0ec |
||
|
|
9aa9088564 |
||
|
|
311f6abcd2 |
||
|
|
6b8072445c |
||
|
|
f728834aa3 |
3 changed files with 6 additions and 2 deletions
|
|
@ -445,9 +445,12 @@
|
|||
- Restore vim-dirtytalk plugin and fix ordering with spellcheck in generated config.
|
||||
- Fix lualine separator options
|
||||
- Add [neogit], an interactive and powerful Git interface for Neovim, inspired by Magit
|
||||
- Allow deregistering which-key binds or groups by setting them to `null`
|
||||
|
||||
[justDeeevin](https://github.com/justDeeevin):
|
||||
|
||||
[supermaven-nvim]: https://github.com/supermaven-inc/supermaven-nvim
|
||||
|
||||
- Add [supermaven-nvim] plugin in `vim.assistant.supermaven-nvim` with `enable` and
|
||||
`setupOpts`
|
||||
|
||||
|
|
|
|||
|
|
@ -9,11 +9,12 @@
|
|||
enum
|
||||
;
|
||||
inherit (lib.options) mkOption mkEnableOption;
|
||||
inherit (lib.nvim.types) mkPluginSetupOption;
|
||||
in {
|
||||
options.vim.assistant.supermaven-nvim = {
|
||||
enable = mkEnableOption "Supermaven AI assistant";
|
||||
|
||||
setupOpts = lib.nvim.mkPluginSetupOption "Supermaven" {
|
||||
setupOpts = mkPluginSetupOption "Supermaven" {
|
||||
keymaps = {
|
||||
accept_suggestion = mkOption {
|
||||
type = nullOr str;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
inherit (lib.nvim.dag) entryAnywhere;
|
||||
|
||||
cfg = config.vim.binds.whichKey;
|
||||
register = mapAttrsToList (n: v: mkLuaInline "{ '${n}', desc = '${v}' }") cfg.register;
|
||||
register = mapAttrsToList (n: v: lib.lists.optional (! isNull v) (mkLuaInline "{ '${n}', desc = '${v}' }")) cfg.register;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
vim = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue