diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2023-08-17 09:42:46 +0200 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2023-09-11 09:03:26 +0200 |
commit | aae1a25bf1acaf38a5101f0565f5dfb5639b8a4d (patch) | |
tree | e5ab2053d4f018c2a00a34ebb2bb0d8a3780591f | |
parent | 561f9e287bf646020c6d49bdd1fb6b6822d13200 (diff) |
Add .proto files format to _clang-format
Use the Google format with 4 indents.
Change-Id: I852fabc07e16c19ac5555e4b34400a1c94a9d1d3
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
Reviewed-by: Konrad Kujawa <konrad.kujawa@qt.io>
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
-rw-r--r-- | _clang-format | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/_clang-format b/_clang-format index 76421989..2fa7c0b0 100644 --- a/_clang-format +++ b/_clang-format @@ -106,3 +106,9 @@ AlignEscapedNewlines: Left # initializer list in list-initialization. SpaceBeforeCpp11BracedList: false +--- +# Use the Google-based style for .proto files. +Language: Proto +BasedOnStyle: Google +IndentWidth: 4 +ColumnLimit: 100 |