mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
supermaven-nvim: fixes
This commit is contained in:
parent
2317cba854
commit
b86e7d157d
4 changed files with 11 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
./chatgpt
|
||||
./copilot
|
||||
./codecompanion
|
||||
./supermaven
|
||||
./supermaven-nvim
|
||||
./avante
|
||||
];
|
||||
}
|
||||
|
|
|
@ -3,10 +3,10 @@
|
|||
lib,
|
||||
...
|
||||
}: let
|
||||
cfg = config.vim.assistant.supermaven;
|
||||
cfg = config.vim.assistant.supermaven-nvim;
|
||||
in {
|
||||
config = lib.mkIf cfg.enable {
|
||||
vim.plugins = {
|
||||
vim.lazy.plugins = {
|
||||
supermaven-nvim = {
|
||||
package = "supermaven-nvim";
|
||||
setupModule = "supermaven-nvim";
|
|
@ -1,7 +1,8 @@
|
|||
{lib, ...}: let
|
||||
inherit (lib) mkOption mkEnableOption types;
|
||||
inherit (lib) types;
|
||||
inherit (lib.options) mkOption mkEnableOption;
|
||||
in {
|
||||
options.vim.assistant.supermaven = {
|
||||
options.vim.assistant.supermaven-nvim = {
|
||||
enable = mkEnableOption "Supermaven AI assistant";
|
||||
|
||||
setupOpts = lib.nvim.types.mkPluginSetupOption "Supermaven" {
|
||||
|
@ -75,7 +76,11 @@ in {
|
|||
condition = mkOption {
|
||||
type = types.nullOr lib.nvim.types.luaInline;
|
||||
default = null;
|
||||
description = "Condition function to check for stopping supermaven. A returned `true` means to stop supermaven";
|
||||
description = ''
|
||||
Condition function to check for stopping supermaven.
|
||||
|
||||
A returned `true` means to stop supermaven
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue