summaryrefslogtreecommitdiff
path: root/file.proto
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-03-26 09:48:03 -0500
committerJeff Carr <[email protected]>2025-03-26 20:44:06 -0500
commitf3b9d40dfdbadb3255b7e06ab63ab268d09ae316 (patch)
treee1d4423be82e9b75d99b7cf7d92954fb9a0a4c9d /file.proto
parentcb8d3f624cf8dd958c75e5f83128e38ed8547b00 (diff)
works again on my simple proto buf examples
Diffstat (limited to 'file.proto')
-rw-r--r--file.proto5
1 files changed, 4 insertions, 1 deletions
diff --git a/file.proto b/file.proto
index 62033f3..5b8aeff 100644
--- a/file.proto
+++ b/file.proto
@@ -59,7 +59,7 @@ message Sort {
bool needAll = 5; //
}
-// used to format protobuf files
+// used to auto-format protobuf files
message FormatMsg {
repeated string lines = 1; // keys to sort on
int64 maxVarname = 2; // max string length of var names
@@ -67,6 +67,9 @@ message FormatMsg {
repeated FormatMsg inceptionMsgs = 4; // messages inside messages
repeated FormatMsg enums = 5; // locally defined enums
repeated FormatMsg oneofs = 6; // locally defined oneofs
+ string header = 7; // the 'message {','enum {', etc line
+ string footer = 8; // the '}' line
+ repeated string notes = 9; // unknown lines or comments
}
message Find {