Re: synax highlighting anomaly

2022-09-26 Fir de Conversatie Dave McCooey
On Mon, Sep 26, 2022 at 8:38 AM Christian Brabandt wrote: > > On So, 25 Sep 2022, Dave McCooey wrote: > > > Hi Christian, > > > > The file with the problem is _vimrc itself, which is how I noticed it. > > > > Here is a line from my _vimrc that shows the problem: > > > > :hi Tab ctermbg=235\t" Gre

Re: synax highlighting anomaly

2022-09-26 Fir de Conversatie Christian Brabandt
On So, 25 Sep 2022, Dave McCooey wrote: > Hi Christian, > > The file with the problem is _vimrc itself, which is how I noticed it. > > Here is a line from my _vimrc that shows the problem: > > :hi Tab ctermbg=235\t" Grey19 = 0x303030 > > The \t is really a single tab character. > > My assum

Re: synax highlighting anomaly

2022-09-25 Fir de Conversatie Dave McCooey
Hi Christian, The file with the problem is _vimrc itself, which is how I noticed it. Here is a line from my _vimrc that shows the problem: :hi Tab ctermbg=235\t" Grey19 = 0x303030 The \t is really a single tab character. My assumption that _vimrc is an "rc" file appears to be wrong, because if

Re: synax highlighting anomaly

2022-09-25 Fir de Conversatie Christian Brabandt
On So, 25 Sep 2022, Dave McCooey wrote: > Hello, > > There is a problem with syntax highlighting in "rc" files (e.g. _vimrc). > > I am using the following commands to highlight tabs: > > :hi Tab ctermbg=235 > autocmd BufWinEnter * syntax match Tab /\t/ containedin=ALL > > This works as expec

synax highlighting anomaly

2022-09-25 Fir de Conversatie Dave McCooey
Hello, There is a problem with syntax highlighting in "rc" files (e.g. _vimrc). I am using the following commands to highlight tabs: :hi Tab ctermbg=235 autocmd BufWinEnter * syntax match Tab /\t/ containedin=ALL This works as expected in file types like .c, .html, .js, and .java. In "rc" file