fix: catppuccin not inheriting transparency

This commit is contained in:
NotAShelf 2023-04-19 00:54:44 +03:00
commit c874b7fa99
No known key found for this signature in database
GPG key ID: F0D14CCB5ED5AA22
3 changed files with 5 additions and 2 deletions

View file

@ -32,7 +32,7 @@
-- Catppuccin theme
require('catppuccin').setup {
flavour = "${style}",
transparent_background = "${builtins.toString transparent}",
transparent_background = ${lib.boolToString transparent},
integrations = {
nvimtree = {
enabled = true,

View file

@ -40,6 +40,8 @@ in {
config = mkIf cfg.enable {
vim.startPlugins = [cfg.name];
vim.luaConfigRC.themeSetup = nvim.dag.entryBefore ["theme"] cfg.extraConfig;
vim.luaConfigRC.theme = supported_themes.${cfg.name}.setup {style = cfg.style;};
vim.luaConfigRC.theme = supported_themes.${cfg.name}.setup (with cfg; {
inherit style transparent;
});
};
}