Wednesday, April 25, 2012

RE: Indenting/formating

Gautier DI FOLCO wrote:
> I known this page but I would go further : the equal sign
> must have a space before and after, commas should be followed
> by a space, the keywords of sctructure control (if, switch,
> for, do, etc.) must be followed by a space before the
> parenthesis, braces should be on a dedicated line, etc.
> Is it a mean to do that with ViM?

I don't think Vim is suitable for that. You need a lint program
that gives style warnings. If you can find such a program, you
can probably make it work with Vim (displaying messages from
lint like from a compiler using the quickfix window).

John

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

Post a Comment