mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
theme/supported-themes.nix: switch to setupOpts
This commit is contained in:
parent
b2ba2c0ab5
commit
ba1c3645ee
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ in {
|
||||||
setupOpts = {
|
setupOpts = {
|
||||||
inherit (cfg) transparent;
|
inherit (cfg) transparent;
|
||||||
};
|
};
|
||||||
setup = {style ? "night", ...}: ''
|
setup = _: ''
|
||||||
vim.cmd[[colorscheme tokyonight-${style}]]
|
vim.cmd[[colorscheme tokyonight-${cfg.style ? "night"}]]
|
||||||
'';
|
'';
|
||||||
styles = ["day" "night" "storm" "moon"];
|
styles = ["day" "night" "storm" "moon"];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue