mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-21 17:59:48 +01:00
fix: catppuccin not inheriting transparency
This commit is contained in:
parent
c749a7fe59
commit
c874b7fa99
3 changed files with 5 additions and 2 deletions
|
@ -91,6 +91,7 @@ inputs: let
|
|||
enable = true;
|
||||
name = "catppuccin";
|
||||
style = "mocha";
|
||||
transparent = false;
|
||||
};
|
||||
vim.autopairs.enable = true;
|
||||
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
});
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue