theme/theme.nix: add documentation to vim.theme.name

This commit is contained in:
Charlie Root 2024-10-05 15:37:03 +02:00
parent 266f880561
commit 77239bee83
No known key found for this signature in database

View file

@ -37,7 +37,11 @@ in {
}; };
name = mkOption { name = mkOption {
type = enum (attrNames supportedThemes); type = enum (attrNames supportedThemes);
description = "Supported themes can be found in `supportedThemes.nix`"; description = ''
Supported themes can be found in `supportedThemes.nix`.
Setting the theme to "base16" enables base16 theming and
requires all of the colors in `vim.theme.base16-colors` to be set.
'';
}; };
base16-colors = base16Options; base16-colors = base16Options;