I am using vim 7.0.
I want the following code to be indented as follows (initialization list in the same indentation as the constructor):
A::A() : a1(10), a2(10), a3(10) { }
According to vim, this can be done by setting:
set cino+=i0
But this parameter gives (only a1 correctly edited):
A::A() : a1(10), a2(10), a3(10) { }
Setting cino + = i1 to correctly render a1..a3 with 1 space indent.
source share