I'm in the process of updating from vim 6.3 to vim 7.0 and am having
trouble getting comments to work to support Doxygen. I add the
following line to my vimrc file (~/.vimrc):

set comments=s1:/*!,mb:\
,ex:*/,f://!,://,b:#,:%,:XCOMM,n:>,fb:-,s1:/*,mb:*,ex:*

When I run vim and ":set comments", though, I see the following:
comments=sO:* -,mO:*  ,exO:*/,s1:/*,mb:*,ex:*/,://

Some change in vim 7.0 results in changing the comments line. In the
documentation there is a hint about some file-specific comments but
the standard method of setting file specific options doesn't help
either:

autocmd BufNewFile *.cc set
comments=s1:/*!,mb:\,ex:*/,f://!,://,b:#,:%,:XCOMM,n:>,fb:-,s1:/*,mb:*,ex:*

Anyone have any idea how I can get my comment options to work correctly
again? Or some documentation that I can read about how vim 7 changed
this feature?

Thanks,
Uri

Reply via email to