fixes enable option descriptions

mkEnableOption already adds the phrase "Whether to enable ..." to the
beginning of the option description, such that the string argument
should only be "thing to be enabled"
This commit is contained in:
Kalle Jepsen 2023-10-21 19:15:36 +02:00
commit a452a0b0e7
22 changed files with 42 additions and 42 deletions

View file

@ -23,7 +23,7 @@ in {
# TODO: make per-plugin borders configurable
plugins = let
mkPluginStyleOption = name: {
enable = mkEnableOption "whether to enable borders for the ${name} plugin" // {default = cfg.enable;};
enable = mkEnableOption "borders for the ${name} plugin" // {default = cfg.enable;};
style = mkOption {
type = types.enum (defaultStyles ++ lib.optionals (name != "which-key") ["shadow"]);