Skip to content

Commit

Permalink
Fix: Writing transparency to chadrc
Browse files Browse the repository at this point in the history
Change `require("chadrc").transparency` to `require("chadrc").base46.transparency` to match the structure of `nvconfig`
  • Loading branch information
Nawar9 authored Feb 2, 2025
1 parent 1f6b990 commit 69caf4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/base46/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ M.toggle_transparency = function()
M.load_all_highlights()

package.loaded.chadrc = nil
local old = require("chadrc").transparency
local old = require("chadrc").base46.transparency
local new = "transparency = " .. tostring(opts.transparency)
require("nvchad.utils").replace_word("transparency = " .. tostring(old), new)
end
Expand Down

0 comments on commit 69caf4e

Please sign in to comment.