mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 00:48:58 +02:00
misc: ensure all options have a description
This commit is contained in:
parent
3be9db71c2
commit
7a2d065cce
13 changed files with 127 additions and 43 deletions
|
@ -16,13 +16,26 @@ in
|
|||
package = helpers.mkPluginPackageOption "nix-develop.nvim" pkgs.vimPlugins.nix-develop-nvim;
|
||||
|
||||
ignoredVariables = mkOption {
|
||||
type = types.attrsOf types.bool;
|
||||
type = with types; attrsOf bool;
|
||||
default = { };
|
||||
description = "An attrs specifying the variables should be ignored.";
|
||||
example = {
|
||||
BASHOPTS = true;
|
||||
HOME = true;
|
||||
NIX_BUILD_TOP = true;
|
||||
SHELL = true;
|
||||
TMP = true;
|
||||
};
|
||||
};
|
||||
|
||||
separatedVariables = mkOption {
|
||||
type = types.attrsOf types.str;
|
||||
type = with types; attrsOf str;
|
||||
default = { };
|
||||
description = "An attrs specifying the separator to use for particular environment variables.";
|
||||
example = {
|
||||
PATH = ":";
|
||||
XDG_DATA_DIRS = ":";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue