This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: Modularity and (g)vim's sgml or xml syntax highlighing.
- To: docbook at lists dot oasis-open dot org
- Subject: Re: DOCBOOK: Modularity and (g)vim's sgml or xml syntax highlighing.
- From: ben <nicolas dot marsgui at libertysurf dot fr>
- Date: Thu, 06 Sep 2001 20:23:53 +0200
- List-Id: <docbook.lists.oasis-open.org>
- References: <20010828200425.A391@prism.localnet><20010829011842.I46201@clan.nothing-going-on.org> <3B8C7919.5060500@cmex.org>
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>