mirror of
https://github.com/gabehf/base46.git
synced 2026-03-09 23:48:16 -07:00
fix transparency not working completely
fixes https://github.com/NvChad/NvChad/issues/1070#issuecomment-1125920216
This commit is contained in:
parent
c88d5ea527
commit
00c34f5dd0
3 changed files with 56 additions and 37 deletions
|
|
@ -23,6 +23,14 @@ require "term_hl"
|
|||
local user_highlights = nvchad.load_config().ui.hl_override
|
||||
highlights = merge_tb(highlights, user_highlights)
|
||||
|
||||
-- local set_transparent = nvchad.load_config().ui.transparency
|
||||
local ui = nvchad.load_config().ui
|
||||
|
||||
if ui.transparency then
|
||||
local glassy_hls = require "nv_glassy"
|
||||
highlights = merge_tb(highlights, glassy_hls)
|
||||
end
|
||||
|
||||
-- finally set all highlights :D
|
||||
for hl, col in pairs(highlights) do
|
||||
vim.api.nvim_set_hl(0, hl, col)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue