Tuesday, January 25, 2011

Gq inside C-comments

Hello,

I would like to use commands related to gq,
especially gqip, inside C-comments styled as:

/**
*
*/

MY attempts show that VIM treats the entire comment as a
single paragraph -- how do I get VIM to treat lines with
just the left column, viz., lines matching "^ *\s*", as
a blank line for format commands inside such comments?

Thanks,

--Suresh

--
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

No comments: