oxocarbon and gruvbox borked

This commit is contained in:
Charlie Root 2024-10-07 23:03:59 +02:00
parent 2c3350eb15
commit 8f10028449
No known key found for this signature in database
2 changed files with 8 additions and 4 deletions

View file

@ -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 = ''

View file

@ -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}
'';