Re: Same number different colors for ctermbg and ctermfg

2023-05-04 Fir de Conversatie Bram Moolenaar
> > > For the value 7, ctermfg and ctermbg gives different colors. 'ctermfg=7' > > > gives non-bold white, which is expected. But 'ctermbg=7' gives bold > > > Black color. I'm assuming there is a if-conditional somewhere that's > > > causing this distinction. If so, where is the conditional

Patch 9.0.1507

2023-05-04 Fir de Conversatie Bram Moolenaar
Patch 9.0.1507 Problem:Assert message is confusing with boolean result. assert_inrange() replaces message instead of adding it. Solution: Don't put quotes around expected boolean value. Append message for assert_inrange(). (closes #12342, closes #12341) Files:

Re: Same number different colors for ctermbg and ctermfg

2023-05-04 Fir de Conversatie Enan Ajmain
On Thu, 04 May 2023 15:48:43 +0100 Bram Moolenaar wrote: > > For the value 7, ctermfg and ctermbg gives different colors. 'ctermfg=7' > > gives non-bold white, which is expected. But 'ctermbg=7' gives bold > > Black color. I'm assuming there is a if-conditional somewhere that's > > causing this

Re: Same number different colors for ctermbg and ctermfg

2023-05-04 Fir de Conversatie Bram Moolenaar
> For the value 7, ctermfg and ctermbg gives different colors. 'ctermfg=7' > gives non-bold white, which is expected. But 'ctermbg=7' gives bold > Black color. I'm assuming there is a if-conditional somewhere that's > causing this distinction. If so, where is the conditional in the source >

Re: Same number different colors for ctermbg and ctermfg

2023-05-04 Fir de Conversatie Enan Ajmain
On Thu, 4 May 2023 12:38:52 +0200 Tony Mechelynck wrote: > [...] > (Of course in order to see something we cannot set both ctermbg=7 and > ctermfg=7 on the same highlight group). See the attached image. I agree with you: ctermbg and ctermfg, if set to the same numeric value, should show the

Re: Same number different colors for ctermbg and ctermfg

2023-05-04 Fir de Conversatie Tony Mechelynck
On Thu, May 4, 2023 at 12:14 PM Enan Ajmain <3nan.ajm...@gmail.com> wrote: > > Hi, > > For the value 7, ctermfg and ctermbg gives different colors. 'ctermfg=7' > gives non-bold white, which is expected. But 'ctermbg=7' gives bold > Black color. I'm assuming there is a if-conditional somewhere

Same number different colors for ctermbg and ctermfg

2023-05-04 Fir de Conversatie Enan Ajmain
Hi, For the value 7, ctermfg and ctermbg gives different colors. 'ctermfg=7' gives non-bold white, which is expected. But 'ctermbg=7' gives bold Black color. I'm assuming there is a if-conditional somewhere that's causing this distinction. If so, where is the conditional in the source code?