uncrustify
uncrustify copied to clipboard
indent_continue breaks nested continuation indents?
Not sure if it's intended behavior but I think indent_continue = 4 should make continuations 4-spaces wide relative to the start of the statement being continued.
Version: Uncrustify_d-0.75.1_f.
Config:
input_tab_size = 4
output_tab_size = 4
indent_columns = 4
indent_with_tabs = 0
indent_ignore_first_continue = false
indent_continue = 4
Input:
namespace ns
{
first(foo
, bar
, second(foo
, bar
)
);
first(begin
, end
, [](foo, bar) {
second(foo
, bar
);
});
}
Output:
namespace ns
{
first(foo
, bar
, second(foo
, bar
)
);
first(begin
, end
, [](foo, bar) {
second(foo
, bar
);
});
}
Expected:
first(foo
, bar
, second(foo
, bar
)
);
first(begin
, end
, [](foo, bar) {
second(foo
, bar
);
});
}