m00qek / baleia.nvim

Colorize text with ANSI escape sequences (8, 16, 256 or TrueColor)
138 stars 5 forks source link

Bold ANSI code not supported #1

Closed daveyarwood closed 3 years ago

daveyarwood commented 3 years ago

Baleia is working great for the most part, but one thing I noticed is that the \e[1m (bold) escape code doesn't appear to be working. For example: 2021-09-20-123314_749x207_scrot

See also: https://github.com/Olical/conjure/issues/53#issuecomment-552612529 https://github.com/chrisbra/Colorizer/issues/76

m00qek commented 3 years ago

Seems like it is only setting bold settings for cterm. If you run

:highlight BaleiaColors_B_none_none

the result will be

BaleiaColors_B_none_none cterm=bold

and the correct should be

highlight BaleiaColors_B_none_none cterm=bold gui=bold

I'm going to make a patch 🔜

daveyarwood commented 3 years ago

That fixed it. Nice!