fix: revert last change
This commit is contained in:
@@ -172,7 +172,9 @@ end
|
|||||||
---@param theme Theme
|
---@param theme Theme
|
||||||
function M.load(theme)
|
function M.load(theme)
|
||||||
-- only needed to clear when not the default colorscheme
|
-- only needed to clear when not the default colorscheme
|
||||||
vim.cmd("hi clear")
|
if vim.g.colors_name then
|
||||||
|
vim.cmd("hi clear")
|
||||||
|
end
|
||||||
|
|
||||||
vim.o.termguicolors = true
|
vim.o.termguicolors = true
|
||||||
vim.g.colors_name = "tokyonight"
|
vim.g.colors_name = "tokyonight"
|
||||||
|
|||||||
Reference in New Issue
Block a user