OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


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


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




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC