diff options
author | Jack <66967891+ASpoonPlaysGames@users.noreply.github.com> | 2023-12-20 14:01:01 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-20 15:01:01 +0100 |
commit | 714282b52039b12225c8348ef7346d092676ffb1 (patch) | |
tree | 022db617c1710ef36aabe4db4f89831eeb77374c | |
parent | 0438b5c8cfa99ac01c7e142d959aa40f88f1cc70 (diff) | |
download | NorthstarLauncher-714282b52039b12225c8348ef7346d092676ffb1.tar.gz NorthstarLauncher-714282b52039b12225c8348ef7346d092676ffb1.zip |
Set a better `AccessModifierOffset` in `clang-format` (#619)
Default appears to be -2, which causes clang-format to mix tabs and spaces
-rw-r--r-- | .clang-format | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format index cb98dfc0..2ad2ec20 100644 --- a/.clang-format +++ b/.clang-format @@ -3,6 +3,7 @@ Standard: Cpp11 IndentWidth: 4 TabWidth: 4 UseCRLF: false +AccessModifierOffset: -4 AlignTrailingComments: false AllowAllConstructorInitializersOnNextLine: false AllowAllParametersOfDeclarationOnNextLine: true |