Skip to content

Commit 65f2b9e

Browse files
committedSep 28, 2023
fix: reenabling vim.g.colors_name check
1 parent 08a551c commit 65f2b9e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎lua/gruvbox/init.lua

+3-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ Gruvbox.load = function()
8080
end
8181

8282
-- reset colors
83-
vim.cmd.hi("clear")
83+
if vim.g.colors_name then
84+
vim.cmd.hi("clear")
85+
end
8486
vim.g.colors_name = "gruvbox"
8587
vim.o.termguicolors = true
8688

0 commit comments

Comments
 (0)
Please sign in to comment.