lalitmetkar / vim

Automatically exported from code.google.com/p/vim
0 stars 0 forks source link

C indenting: incorrect indentation of static enums #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In a static enum the second and following enums will be indented too much:
#v+
static enum {
    FOO,
        BAR,
        BAZ
} foo;
#v-

Original issue reported on code.google.com by lech.lor...@gmail.com on 13 Dec 2011 at 9:53

GoogleCodeExporter commented 9 years ago
The attached patch fixes the problem.

Original comment by lech.lor...@gmail.com on 13 Dec 2011 at 10:44

Attachments:

GoogleCodeExporter commented 9 years ago
Patch included.

Original comment by brammool...@gmail.com on 14 Dec 2011 at 7:06