nvf/modules/plugins/theme/supported-themes/dracula.nix
Charlie Root a37625c3b0
confusion
2025-01-18 22:45:57 +01:00

24 lines
429 B
Nix

{
config,
lib,
...
}: let
inherit (lib.options) mkOption;
inherit (lib.types) bool;
inherit (lib.nvim.types) mkPluginSetupOption;
cfg = config.vim.theme;
in {
dracula = {
setupOpts = mkPluginSetupOption "dracula" {
transparent_bg = mkOption {
type = bool;
default = cfg.transparent;
internal = true;
};
};
setup = ''
require('dracula').load();
'';
};
}