Hi,
Is there a way to enforce certain coding standards for C or C++ code,
beyond indentation (for which I found google.vim). Stuff like:
1. Always put a single space after an if, while, for, etc and the
following left-parenthesis.
2. Always put spaces around operators.
There could be more.
I tried writing a set of search replace strings and mapping them to a
single key-sequence. However, I'm having difficulty distinguishing
between content that's inside a double-quoted string and outside it.
Thanks,
Arindam
--
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
Saturday, October 20, 2012
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment