24bit true color not working
Terminal: st
change-256colors option:
vis.events.subscribe(vis.events.INIT, function()
vis:command('set change-256colors on')
end)
What I do
Set back:#501b2a color for vis.lexers.STYLE_TYPE, according to https://github.com/martanne/vis/issues/356#issuecomment-269948730:
A quick check is to use #501b2a as a background: it's a dark red that is interpreted as gray when converted to 256color.
What I get
Gray color.
Expected result
Dark red color.
I'm unable to duplicate.
vis v0.7 +curses +lua +acl
st 0.8.4
I copied solarized.lua to test.lua, changed the background color to #501b2a, ran set theme test and the background was dark red.
Minimal theme test case:
local lexers = vis.lexers
lexers.STYLE_DEFAULT = 'back:#501b2a'
Put it in ~/.config/vis/themes/test.lua and run :set theme test in vis. If the bg color is dark red, then colors are working correctly.