On Mon, Apr 10, 2006 at 11:06:12PM -0300, Luis A. Florit wrote:
> Hi all,
>
> I've always had some special highlighting for TeX
> files. For example, I have the following syn for "$$":
>
> hi dollars cterm=bold ctermfg=7 ctermbg=4 guifg=white guibg=blue
> syn match dollars /\(\$\$\|\\\[\|\\\]\)/
>
> It always worked nicely, but since I upgraded to FC5,
> and then from vim6.3 to vim6.4, the highlighting only
> works BEFORE the '\begin{document}', and not after
> (not very useful...). This persist even if I remove
> my .vimrc, or my .vim directory, so it is some new
> problem with version 6.4.
>
> Any idea about what is happening??
>
> Thanks a lot,
>
> Luis.
Probably your $$ occurs inside some syntax region, so it is not
recognized. A simple fix might be to add "containedin=ALL" to the "syn
match" line.
:help containedin
> PS:
> BTW, we are receiving a several spam and virus from vim mailing list.
> Not that matters a lot to me, with Linux, SpamAssassin and Clamav,
> but for windows users... The strange thing is that I needed to change
> my "From " first header through sendmail to be able to post in Vim
> mailing list: the most strict list I belong, and the only one with SPAM.
> Perhaps some tunning needed?
>
> Thanks again. L.
Since there was a big problem with the mail servers a few weeks
ago, I think the plan is to move the lists to a new server ASAP after
vim 7.0 is released. I expect some tuning (tunning?) to take place
then.
HTH --Benji Fisher