diff --git a/modules/plugins/theme/supported-themes.nix b/modules/plugins/theme/supported-themes.nix index 2e2dbce..03549c6 100644 --- a/modules/plugins/theme/supported-themes.nix +++ b/modules/plugins/theme/supported-themes.nix @@ -128,7 +128,7 @@ in { }; oxocarbon = { - setupOpts = mkPluginSetupOption "oxocarbon" {}; + setupOpts = {}; setup = '' require('oxocarbon') vim.opt.background = "${cfg.style}" @@ -177,8 +177,8 @@ in { default = ""; }; # TODO: fix these - palette_overrides = mkLuaInline "{}"; - overrides = mkLuaInline "{}"; + # palette_overrides = mkLuaInline "{}"; + # overrides = mkLuaInline "{}"; dim_inactive = mkEnableOption "dim_inactive"; }; setup = '' diff --git a/modules/plugins/theme/theme.nix b/modules/plugins/theme/theme.nix index 373d20d..e1bc471 100644 --- a/modules/plugins/theme/theme.nix +++ b/modules/plugins/theme/theme.nix @@ -60,7 +60,11 @@ in { luaConfigRC.theme = entryBefore ["pluginConfigs"] '' ${cfg.extraConfig} - require('${name'}').setup(${toLuaObject cfg.setupOpts}) + ${ + if name' != "oxocarbon" + then "require('${name'}').setup(${toLuaObject cfg.setupOpts})" + else "" + } ${supportedThemes.${cfg.name}.setup} '';