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
First, thanks for making this great toolkit! Very nice :-)
I'm working on colortemplate for selenized and there's one thing I'm missing: being able to define a Color that will use terminal's default background (or foreground) when used in 16/8-color mode. Currently color definitions can specify only one of 16 ANSI colors, but actually all terminals have a separate setting for foreground and background color. (I.e. default background doesn't have to be the same as ANSI black).
Here's a minimal example:
# vim: ft=colortemplate
Full name: background and foreground test
Short name: bg_fg_test
Author: JW <[email protected]>
Background: dark
# Color palette
Color: bg_grey #181818 ~ Black # I'd like to say "bg" or "none" here,
Color: fg_grey #b9b9b9 ~ White # but it throws an error
# Highlight group definitions
Variant: gui 256 8
Normal fg_grey bg_grey
The result in terminal Vim is different than in GUI Vim:
(background in terminal vim is 3b3b3b while it should be 181818, foreground is e7e7e7 while it should be b9b9b9).
I've been able to work around this with something like this, but it's a bit lame...
# vim: ft=colortemplate
Full name: background and foreground test
Short name: bg_fg_test
Author: JW <[email protected]>
Background: dark
# Color palette
Color: bg_grey #181818 ~ Black
Color: fg_grey #b9b9b9 ~ White
# Highlight group definitions
Variant: gui 256
Normal fg_grey bg_grey
Variant: 8
Normal none none
The text was updated successfully, but these errors were encountered:
First, thanks for making this great toolkit! Very nice :-)
I'm working on colortemplate for selenized and there's one thing I'm missing: being able to define a
Color
that will use terminal's default background (or foreground) when used in 16/8-color mode. Currently color definitions can specify only one of 16 ANSI colors, but actually all terminals have a separate setting for foreground and background color. (I.e. default background doesn't have to be the same as ANSI black).Here's a minimal example:
Combined with terminal palette defined like this:
Which means that it looks as follows:
The result in terminal Vim is different than in GUI Vim:
(background in terminal vim is
3b3b3b
while it should be181818
, foreground ise7e7e7
while it should beb9b9b9
).I've been able to work around this with something like this, but it's a bit lame...
The text was updated successfully, but these errors were encountered: