I'm using vim 7.0.
I want the following code be indented in the following way (initialization list in the same indentation as constructor):
A::A() :
a1(10),
a2(10),
a3(10)
{
}
According to vim help this can be done by setting:
set cino+=i0
But this setting yields (only a1 is indented correctly):
A::A() :
a1(10),
a2(10),
a3(10)
{
}
Setting cino+=i1 indents correctly a1..a3 with 1 space indentation.