misc: ensure all options have a description

This commit is contained in:
Gaetan Lepage 2024-06-09 23:04:27 +02:00 committed by Gaétan Lepage
parent 3be9db71c2
commit 7a2d065cce
13 changed files with 127 additions and 43 deletions

View file

@ -69,9 +69,19 @@ with lib;
worktreeType = types.submodule {
freeformType = with types; attrsOf anything;
options = {
toplevel = mkOption { type = with helpers.nixvimTypes; maybeRaw str; };
toplevel = mkOption {
type = with helpers.nixvimTypes; maybeRaw str;
description = ''
Path to the top-level of the parent git repository.
'';
};
gitdir = mkOption { type = with helpers.nixvimTypes; maybeRaw str; };
gitdir = mkOption {
type = with helpers.nixvimTypes; maybeRaw str;
description = ''
Path to the git directory of the parent git repository (typically the `.git/` directory).
'';
};
};
};
in