From dc7ba22006002d2297c8669201466dd202d24e0c Mon Sep 17 00:00:00 2001 From: BlueC0re <638422+bluec0re@users.noreply.github.com> Date: Tue, 18 Apr 2023 10:50:07 +0200 Subject: [PATCH] Add textproto extension `.textproto` is now the official, canonical extension to use with the text format: https://protobuf.dev/reference/protobuf/textformat-spec/#working-with-the-format-programmatically --- ProtobufText.sublime-syntax | 1 + 1 file changed, 1 insertion(+) diff --git a/ProtobufText.sublime-syntax b/ProtobufText.sublime-syntax index 20c3695..8d74735 100644 --- a/ProtobufText.sublime-syntax +++ b/ProtobufText.sublime-syntax @@ -14,6 +14,7 @@ file_extensions: - textpb - pbtxt - prototxt + - textproto scope: text.prototxt variables: stringEscape: '(?:\\(?:[''"\\/abfnrtv?]|[0-9]{3}|(?i:u|x)[0-9A-Fa-f]+))'