Open
Description
As a minimal example, with
LambdaBodyIndentation: OuterScope
the desired formatting of a relevant code snippet would be
struct Callbacks {
void (*done)(void *data);
};
const Callbacks callbacks = {
.done = [](void *data) {
// code
},
};
but instead the result is
struct Callbacks {
void (*done)(void *data);
};
const Callbacks callbacks = {
.done = [](void *data) {
// code
},
};
For completeness, the config we're using is https://invent.kde.org/plasma/kwin/-/blob/ad4f49774aa8f2bebf2b340608348e343fed6166/.clang-format