aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authoruniboi <64006268+uniboi@users.noreply.github.com>2023-12-07 21:17:50 +0100
committerGitHub <noreply@github.com>2023-12-07 21:17:50 +0100
commit2a30a0d58e31a6142a6077e7bd9da85d53e7a329 (patch)
tree09c37d24991ba4a4b5dee9510a0e19350b4b4964 /.clang-format
parentad1b6ae61b4f1d9728fc088106ae508b2a23245f (diff)
downloadNorthstarLauncher-2a30a0d58e31a6142a6077e7bd9da85d53e7a329.tar.gz
NorthstarLauncher-2a30a0d58e31a6142a6077e7bd9da85d53e7a329.zip
Add clang-format config to pack constructor initializers (#608)
The setting will set each initializer in a new line if all of them don't fit in one line
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format2
1 files changed, 2 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index 0c08cabd..cb98dfc0 100644
--- a/.clang-format
+++ b/.clang-format
@@ -34,3 +34,5 @@ IndentExternBlock: Indent
PointerAlignment: Left
SortIncludes: false
NamespaceIndentation: All
+PackConstructorInitializers: NextLine
+BreakConstructorInitializersBeforeComma: true