nl_ds_struct_enum_close_brace

Whether to force a newline before '}' of a 'struct'/'union'/'enum'. (Lower priority than eat_blanks_before_close_brace.)

Possible values are true and false, default false.

Examples

true

Before:

typedef struct {
    int hour;
    int min;
    int sec;
} counter_t;

struct v {
    union {
        int zoo;
        float mee;
    };
    int m;
} v1;

After

typedef struct {
    int hour;
    int min;
    int sec;

} counter_t;

struct v {
    union {
        int zoo;
        float mee;

    };
    int m;

} v1;

false

Example remains unchanged.

See also