Jonathan Marks a �crit :

> Hi Nik, All
>
> This is interesting, Thanks. Is there a way one could achieve this
> functionality in gvim?

I'haven't followed the thread (and some mails are missing) but highlighting XML
files
without <!doctype> with gvim works fine, since the syntax highlighting depends on
the suffix (.sgml, .xml) provided that the .vimrc contains the command "syntax
on".

If it still doesn't work, you can always add in .vimrc:

autocmd FileType sgml,xml so /usr/local/share/vim/vim58/syntax/sgml.vim

BG



----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>

Reply via email to