Dear all,

I was wondering whether it is possible to make a (minor) change to the
indent style used for C code.  Generally I like the style and I don't
want to change much.  The only exception that I'd like to add is such
that the following code is indented as shown (I've changed tabs to
spaces for email readability):

for (;;)
{
    /* This is indented correctly: I don't want to change this */
    CallFunction1();
    CallFunction2();
}

for (;;)
    {CallFunction();} /* This is what I'd like to support for single
lines with open and close braces */

for (;;)
{CallFunction();} /* This is how vim does it */

Is this possible without messing up the rest of the indentation style?

Many thanks in advance,

Al

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to