Next in thread → Next in month →

Re: DOCBOOK: Modularity and (g)vim's sgml or xml syntax highlighing.

From
ben
Date
2001-09-06T18:14:15+00:00
ID
Thread
Re: DOCBOOK: Modularity and (g)vim's sgml or xml syntax highlighing.
Jonathan Marks a 嶰rit :

> 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
Next in thread → Next in month →