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 = {
|
||||
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 = ''
|
||||
|
|
|
@ -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}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue