summaryrefslogtreecommitdiff
path: root/.clang-format
blob: 0a1656e2a9afa088e3de20e120750d2556df6762 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# dotfiles -- clang-format
# author: johannst
# doc   : https://clang.llvm.org/docs/ClangFormatStyleOptions.html
---

Language: Cpp
BasedOnStyle: Chromium

AllowShortFunctionsOnASingleLine: None
#AllowShortFunctionsOnASingleLine: Empty

AccessModifierOffset: -2
IndentWidth: 2

AlignConsecutiveMacros: true
AlignConsecutiveAssignments: true