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
After merging PR #144 there is no way to undo the transparent setting. The corresponding color is lost.
If some flow of the config sets the background to transparent=true the bg property is set to NONE, setting back to transparent=false (for instance when using with a GUI, that doesn't uses composite) does nothing, and the color can not be retrieved again.
I use this to have transparent bg on the terminal (which is also transparent and blends with the desktop wallpaper); but on GUIs, which loaded ginit.vim later on, reset it to c.vscBack because the background of the GUI's window would be black otherwise.
With the current modification, .get_colors() gives back the table of colors modified by the setting transparent=true in the first config file and there is no other way to reach the original table of colors to re-use vscBack.
The text was updated successfully, but these errors were encountered:
@baco – I think instead of modifying the table for transparent background, what we could do is highlight the Normal group background with None and keep the table as it is. But if the user overrides the color, then it makes sense to modify the table.
@baco – I think instead of modifying the table for transparent background, what we could do is highlight the Normal group background with None and keep the table as it is. But if the user overrides the color, then it makes sense to modify the table.
After merging PR #144 there is no way to undo the
transparent
setting. The corresponding color is lost.If some flow of the config sets the background to
transparent=true
thebg
property is set toNONE
, setting back totransparent=false
(for instance when using with a GUI, that doesn't uses composite) does nothing, and the color can not be retrieved again.Use case:
In
init.vim
I have:later, in
ginit.vim
:I use this to have transparent bg on the terminal (which is also transparent and blends with the desktop wallpaper); but on GUIs, which loaded
ginit.vim
later on, reset it toc.vscBack
because the background of the GUI's window would be black otherwise.With the current modification,
.get_colors()
gives back the table of colors modified by the settingtransparent=true
in the first config file and there is no other way to reach the original table of colors to re-usevscBack
.The text was updated successfully, but these errors were encountered: