From aae1a25bf1acaf38a5101f0565f5dfb5639b8a4d Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Thu, 17 Aug 2023 09:42:46 +0200 Subject: Add .proto files format to _clang-format MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the Google format with 4 indents. Change-Id: I852fabc07e16c19ac5555e4b34400a1c94a9d1d3 Reviewed-by: Kai Köhne Reviewed-by: Konrad Kujawa Reviewed-by: Alex Blasche --- _clang-format | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3