diff --git a/modules/plugins/theme/supported-themes.nix b/modules/plugins/theme/supported-themes.nix index 3ae26d3..71fe984 100644 --- a/modules/plugins/theme/supported-themes.nix +++ b/modules/plugins/theme/supported-themes.nix @@ -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"]; };