mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +00:00
oxocarbon and gruvbox borked
This commit is contained in:
parent
2c3350eb15
commit
8f10028449
2 changed files with 8 additions and 4 deletions
|
@ -128,7 +128,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
oxocarbon = {
|
oxocarbon = {
|
||||||
setupOpts = mkPluginSetupOption "oxocarbon" {};
|
setupOpts = {};
|
||||||
setup = ''
|
setup = ''
|
||||||
require('oxocarbon')
|
require('oxocarbon')
|
||||||
vim.opt.background = "${cfg.style}"
|
vim.opt.background = "${cfg.style}"
|
||||||
|
@ -177,8 +177,8 @@ in {
|
||||||
default = "";
|
default = "";
|
||||||
};
|
};
|
||||||
# TODO: fix these
|
# TODO: fix these
|
||||||
palette_overrides = mkLuaInline "{}";
|
# palette_overrides = mkLuaInline "{}";
|
||||||
overrides = mkLuaInline "{}";
|
# overrides = mkLuaInline "{}";
|
||||||
dim_inactive = mkEnableOption "dim_inactive";
|
dim_inactive = mkEnableOption "dim_inactive";
|
||||||
};
|
};
|
||||||
setup = ''
|
setup = ''
|
||||||
|
|
|
@ -60,7 +60,11 @@ in {
|
||||||
luaConfigRC.theme = entryBefore ["pluginConfigs"] ''
|
luaConfigRC.theme = entryBefore ["pluginConfigs"] ''
|
||||||
${cfg.extraConfig}
|
${cfg.extraConfig}
|
||||||
|
|
||||||
require('${name'}').setup(${toLuaObject cfg.setupOpts})
|
${
|
||||||
|
if name' != "oxocarbon"
|
||||||
|
then "require('${name'}').setup(${toLuaObject cfg.setupOpts})"
|
||||||
|
else ""
|
||||||
|
}
|
||||||
|
|
||||||
${supportedThemes.${cfg.name}.setup}
|
${supportedThemes.${cfg.name}.setup}
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue