summaryrefslogtreecommitdiff
path: root/file.proto
diff options
context:
space:
mode:
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 {