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
|
@ -108,18 +108,22 @@ in
|
|||
|
||||
fileTypes = mkOption {
|
||||
description = "Enable and/or configure highlighting for certain filetypes";
|
||||
type = types.nullOr (
|
||||
types.listOf (
|
||||
types.oneOf [
|
||||
types.str
|
||||
(types.submodule {
|
||||
options = {
|
||||
language = mkOption { type = types.str; };
|
||||
} // colorizer-options;
|
||||
})
|
||||
]
|
||||
)
|
||||
);
|
||||
type =
|
||||
with types;
|
||||
nullOr (
|
||||
listOf (
|
||||
either str (
|
||||
types.submodule {
|
||||
options = {
|
||||
language = mkOption {
|
||||
type = types.str;
|
||||
description = "The language this configuration should apply to.";
|
||||
};
|
||||
} // colorizer-options;
|
||||
}
|
||||
)
|
||||
)
|
||||
);
|
||||
default = null;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue