mirror of
https://github.com/gabehf/base46.git
synced 2026-03-15 10:15:55 -07:00
misc
This commit is contained in:
parent
200e308561
commit
674d6bb3c4
1 changed files with 10 additions and 0 deletions
|
|
@ -46,6 +46,16 @@ M.load_theme = function()
|
||||||
local theme_type = M.get_theme_tb(g.nvchad_theme, "type") -- dark/light
|
local theme_type = M.get_theme_tb(g.nvchad_theme, "type") -- dark/light
|
||||||
vim.opt.bg = theme_type
|
vim.opt.bg = theme_type
|
||||||
|
|
||||||
|
local reload = require("plenary.reload").reload_module
|
||||||
|
local clear_hl = require("base46").clear_highlights
|
||||||
|
|
||||||
|
clear_hl "BufferLine"
|
||||||
|
clear_hl "TS"
|
||||||
|
|
||||||
|
-- reload highlights for theme switcher
|
||||||
|
reload "base46.integrations"
|
||||||
|
reload "base46.chadlights"
|
||||||
|
|
||||||
require "base46.term"
|
require "base46.term"
|
||||||
require "base46.chadlights"
|
require "base46.chadlights"
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue