You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the everforest theme with background=dark.
If I set background=light then I get this:
Both of these are correct.
Now, if I set background=dark, I get this:
And set background=light gives me this:
If we go back to the dark version, you can see that the background is black (or something close to it). However, running the following command yields the "expected" background color:
If the window is resized at all then it fixes the colors. We can also fix them with this function:
local function fix_colors()
local bg = vim.fn.synIDattr(vim.fn.synIDtrans(vim.fn.hlID('Normal')), 'bg')
local fg = vim.fn.synIDattr(vim.fn.synIDtrans(vim.fn.hlID('Normal')), 'fg')
vim.cmd('highlight Normal guibg=' .. bg .. ' guifg=' .. fg)
end
Accidentally ran into a workaround, if you press Cmd-+ (in other words cmd + shift + =) it increases the font size and fixes the colors. Then you can change the font size back with Cmd-_ (in other words cmd + shit + -).
This is the
everforest
theme withbackground=dark
.If I
set background=light
then I get this:Both of these are correct.
Now, if I
set background=dark
, I get this:And
set background=light
gives me this:If we go back to the dark version, you can see that the background is black (or something close to it). However, running the following command yields the "expected" background color:
If the window is resized at all then it fixes the colors. We can also fix them with this function:
Version information:
The text was updated successfully, but these errors were encountered: