Skip to content

Commit

Permalink
fix(transparent-nvim): guarantee transparency applied after colorsche…
Browse files Browse the repository at this point in the history
…me changes
  • Loading branch information
mehalter committed Aug 4, 2024
1 parent 96b765b commit d2d0fb7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions lua/astrocommunity/color/transparent-nvim/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,18 @@ return {
dependencies = {
{
"AstroNvim/astrocore",
---@type AstroCoreOpts
opts = {
autocmds = {
transparent_astrocolorscheme = {
{
event = "User",
pattern = "AstroColorScheme",
desc = "Reclear highlight groups after AstroNvim colorscheme options",
callback = function() require("transparent").clear() end,
},
},
},
mappings = {
n = {
["<Leader>uT"] = { "<Cmd>TransparentToggle<CR>", desc = "Toggle transparency" },
Expand Down

0 comments on commit d2d0fb7

Please sign in to comment.