dev(theme): disable transparency support by default

This commit is contained in:
NotAShelf 2023-04-11 13:57:47 +03:00
commit 158a74e00d
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22
3 changed files with 14 additions and 4 deletions

View file

@ -7,7 +7,7 @@ with lib;
with lib.attrsets;
with builtins; let
cfg = config.vim.theme;
supported_themes = import ./supported_themes.nix;
supported_themes = import ./supported_themes.nix {inherit lib;};
in {
options.vim.theme = {
enable = mkOption {
@ -25,6 +25,12 @@ in {
description = "Specific style for theme if it supports it";
};
transparent = mkOption {
type = with types; bool;
default = false;
description = "Whether or not transparency should be enabled. Has no effect for themes that do not support transparency";
};
extraConfig = mkOption {
type = with types; lines;
description = "Additional lua configuration to add before setup";