mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 13:20:44 +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 = {
|
||||
inherit (cfg) transparent;
|
||||
};
|
||||
setup = {style ? "night", ...}: ''
|
||||
vim.cmd[[colorscheme tokyonight-${style}]]
|
||||
setup = _: ''
|
||||
vim.cmd[[colorscheme tokyonight-${cfg.style ? "night"}]]
|
||||
'';
|
||||
styles = ["day" "night" "storm" "moon"];
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue