From 473ebea4cf9b222b91b7fa873a7f7d82c185705a Mon Sep 17 00:00:00 2001 From: Ching Pei Yang <59727193+horriblename@users.noreply.github.com> Date: Sat, 24 Aug 2024 14:12:20 +0200 Subject: [PATCH] theme: fix broken function signatures (#364) --- modules/plugins/theme/supported-themes.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/plugins/theme/supported-themes.nix b/modules/plugins/theme/supported-themes.nix index 6d992c4a..63335e41 100644 --- a/modules/plugins/theme/supported-themes.nix +++ b/modules/plugins/theme/supported-themes.nix @@ -6,7 +6,7 @@ inherit (lib.trivial) boolToString warnIf; in { onedark = { - setup = {style ? "dark"}: '' + setup = {style ? "dark", ...}: '' -- OneDark theme require('onedark').setup { style = "${style}" @@ -30,7 +30,7 @@ in { }; dracula = { - setup = {transparent}: '' + setup = {transparent, ...}: '' require('dracula').setup({ transparent_bg = ${boolToString transparent}, });