supermaven-nvim: fixes

This commit is contained in:
Devin Droddy 2025-07-05 11:08:15 -04:00
commit b86e7d157d
No known key found for this signature in database
4 changed files with 11 additions and 6 deletions

View file

@ -3,7 +3,7 @@
./chatgpt
./copilot
./codecompanion
./supermaven
./supermaven-nvim
./avante
];
}

View file

@ -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";

View file

@ -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
'';
};
};
};