Add missing options to pass to wrapNeovimUnstable.
Added options: defaultEdito, viAlias, vimAlias, withNodeJs withRuby, withPython3, extraPython3Packages, extraLuaPackages
This commit is contained in:
parent
ec33a55a88
commit
9bceefd156
1 changed files with 60 additions and 0 deletions
|
@ -204,6 +204,13 @@ in
|
||||||
default = "neovim-unwrapped";
|
default = "neovim-unwrapped";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
defaultEditor = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
Sets `EDITOR` environment variable to `nvim`.
|
||||||
|
'';
|
||||||
|
};
|
||||||
vPlug = mkOption {
|
vPlug = mkOption {
|
||||||
type = with types; lazyAttrsOf anything;
|
type = with types; lazyAttrsOf anything;
|
||||||
default = pkgs.vimPlugins;
|
default = pkgs.vimPlugins;
|
||||||
|
@ -229,5 +236,58 @@ in
|
||||||
default = [ ];
|
default = [ ];
|
||||||
description = ''List of plugins to be installed with neovim.'';
|
description = ''List of plugins to be installed with neovim.'';
|
||||||
};
|
};
|
||||||
|
viAlias = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
Add `vi` symlink to build output.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
vimAlias = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
Add `vim` symlink to build output.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
withNodeJs = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = false;
|
||||||
|
description = ''
|
||||||
|
Enable node support.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
withRuby = mkOption {
|
||||||
|
type = types.nullOr types.bool;
|
||||||
|
default = true;
|
||||||
|
description = ''
|
||||||
|
Enable ruby support.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
withPython3 = mkOption {
|
||||||
|
type = types.bool;
|
||||||
|
default = true;
|
||||||
|
description = ''
|
||||||
|
Enable Python 3 support.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
extraPython3Packages = mkOption {
|
||||||
|
type = with types; functionTo (listOf package);
|
||||||
|
default = _: [ ];
|
||||||
|
defaultText =
|
||||||
|
lib.literalExpression # nix
|
||||||
|
"_: [ ]";
|
||||||
|
description = ''
|
||||||
|
The Python 3 packages to add to the neovim environment.
|
||||||
|
Same usage as python3.withPackages.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
extraLuaPackages = mkOption {
|
||||||
|
type = with types; functionTo (listOf package);
|
||||||
|
default = _: [ ];
|
||||||
|
defaultText =
|
||||||
|
lib.literalExpression # nix
|
||||||
|
"_: [ ]";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue