nl_ds_struct_enum_cmt
Official description: Whether to double-space commented-entries in 'struct'/'union'/'enum'.
It seems official description cited above is incorrect. Instead nl_ds_struct_enum_cmt adds newline before commented member of 'struct'/'union'/'enum'.
Possible values are true and false, default false.
Examples
true
Before:
typedef struct {
int hour;
int min;
// int gee;
int sec;
} counter_t;
After
typedef struct {
int hour;
int min;
// int gee;
int sec;
} counter_t;
false
Example remains unchanged.
See also
- nl_squeeze_ifdef: Whether to remove blanks after
#ifxxand#elxx, or before#elxxand#endif. - nl_after_case: Whether to add a newline after a
casestatement. - nl_after_if: Add or remove blank line after
ifstatement. - nl_before_case: Whether to add a newline before
case, and a blank line before acasestatement that follows a;or}.