How can I clean up blocks like the following:
if(a)
{
foo();
}
into
if(a)
{
foo();
}
How can I clean up blocks like the following:
if(a)
{
foo();
}
into
if(a)
{
foo();
}
Check these options:
# Whether to remove blank lines after '{'
eat_blanks_after_open_brace = true # false/true
# Whether to remove blank lines before '}'
eat_blanks_before_close_brace = true # false/true
But some other options such as mod_full_brace_if
and nl_if_leave_one_liners
can also have an impact. Could convert it to if(a) foo();
for example.