Hello,

I set some settings for comments in PHP. It looks like this:

:set comments=s1:/**,mb:*,ex:*/
:set formatoptions+=roa

It works great for most comments, at least the descriptive part of the comment. 
It is autoformatted as expected, and I like this behavior.

However, with phpdoc comments, it goes something like:

/**
 * Short description
 *
 * Longer description
 *
 * @param int $foo Description of foo
 * @param string $bar Description of bar
 */

When I do something like this, it collapses the two @param lines into one.

I want to find a way of keeping them separate, without making each be in a 
separate paragraph.

Is there some way to do this?

Thanks,
Brandon

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to