mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-01-31 22:32:24 +00:00
24 lines
429 B
Nix
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();
|
||
|
'';
|
||
|
};
|
||
|
}
|