mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-11-04 12:42:21 +00:00
Compare commits
No commits in common. "e02b61dc4c29eff0f1134e69ec7922ea49064daf" and "c86a8a7ddb28e2ae32e5f73468e4e46de1b6c08c" have entirely different histories.
e02b61dc4c
...
c86a8a7ddb
3 changed files with 2 additions and 6 deletions
|
|
@ -445,12 +445,9 @@
|
||||||
- Restore vim-dirtytalk plugin and fix ordering with spellcheck in generated config.
|
- Restore vim-dirtytalk plugin and fix ordering with spellcheck in generated config.
|
||||||
- Fix lualine separator options
|
- Fix lualine separator options
|
||||||
- Add [neogit], an interactive and powerful Git interface for Neovim, inspired by Magit
|
- 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):
|
[justDeeevin](https://github.com/justDeeevin):
|
||||||
|
|
||||||
[supermaven-nvim]: https://github.com/supermaven-inc/supermaven-nvim
|
[supermaven-nvim]: https://github.com/supermaven-inc/supermaven-nvim
|
||||||
|
|
||||||
- Add [supermaven-nvim] plugin in `vim.assistant.supermaven-nvim` with `enable` and
|
- Add [supermaven-nvim] plugin in `vim.assistant.supermaven-nvim` with `enable` and
|
||||||
`setupOpts`
|
`setupOpts`
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,12 +9,11 @@
|
||||||
enum
|
enum
|
||||||
;
|
;
|
||||||
inherit (lib.options) mkOption mkEnableOption;
|
inherit (lib.options) mkOption mkEnableOption;
|
||||||
inherit (lib.nvim.types) mkPluginSetupOption;
|
|
||||||
in {
|
in {
|
||||||
options.vim.assistant.supermaven-nvim = {
|
options.vim.assistant.supermaven-nvim = {
|
||||||
enable = mkEnableOption "Supermaven AI assistant";
|
enable = mkEnableOption "Supermaven AI assistant";
|
||||||
|
|
||||||
setupOpts = mkPluginSetupOption "Supermaven" {
|
setupOpts = lib.nvim.mkPluginSetupOption "Supermaven" {
|
||||||
keymaps = {
|
keymaps = {
|
||||||
accept_suggestion = mkOption {
|
accept_suggestion = mkOption {
|
||||||
type = nullOr str;
|
type = nullOr str;
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@
|
||||||
inherit (lib.nvim.dag) entryAnywhere;
|
inherit (lib.nvim.dag) entryAnywhere;
|
||||||
|
|
||||||
cfg = config.vim.binds.whichKey;
|
cfg = config.vim.binds.whichKey;
|
||||||
register = mapAttrsToList (n: v: lib.lists.optional (! isNull v) (mkLuaInline "{ '${n}', desc = '${v}' }")) cfg.register;
|
register = mapAttrsToList (n: v: mkLuaInline "{ '${n}', desc = '${v}' }") cfg.register;
|
||||||
in {
|
in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
vim = {
|
vim = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue