Wednesday, April 4, 2012

Function Declaration Indent

Hi -

How to make VI set indent as below in class definition?

class A
{
bool
IsEnabled();
}

Right now it's always like this:

class A
{
bool
IsEnabled();
}
I have tried to set cinoptions=t0, but it doesn't seem to work in class definition.

Thanks,
Michael


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