RE: Highlighting for Doxygen comments
- Sorry, forgot to comment.
I have not included html support, but the rest of the support I think you
will find much more complete. It includes recognising doxygen comments
separately from normal comments and hilighting them totally differently.
It recognises the first sentence and bolds it (as the 'short description')
and it hilights the comment continuation (*) differently to the main
message. It handles the \param quite well, and the multi-line and
single-line operators \para vs \class &c.. It recognises small keywords
\c \b \e \a and hilights a single word after them (in a different font). It
should also handle latex formulae blocks (albeit very simply).
The best way of adding it in is to add to your 'mysyntaxfile'
au Syntax cpp,c so <path>/doxygen.vim
> -----Original Message-----
> From: Michael Geddes [SMTP:mgeddes@...]
> Sent: Monday, 8 May 2000 10:44
> To: 'Mike Steed'; 'vim-dev@...'
> Subject: RE: Highlighting for Doxygen comments
> > -----Original Message-----
> > From: Mike Steed [SMTP:MSteed@...]
> > Sent: Wednesday, 19 April 2000 8:37
> > To: 'vim-dev@...'
> > Subject: Highlighting for Doxygen comments
> > Hi all,
> > (Hope I'm not reinventing any wheels. I couldn't find any like
> > If you use Doxygen, you may find this syntax file useful. It
> > highlights
> > Doxygen keywords inside Doxygen's specially-marked comments. With a
> > change, it could also highlight entire Doxygen comments differently than
> > normal C/C++ comments. Additions are welcome.
> > doxygen.vim: http://athani.pair.com/msteed/vim/doxygen.vim
> > More about Doxygen: http://www.stack.nl/~dimitri/doxygen/
> > Mike << File: doxygen.vim >>