Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Protocol Buffer text format #5716

Merged
merged 4 commits into from
Feb 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -1046,6 +1046,9 @@
[submodule "vendor/grammars/textmate.tmbundle"]
path = vendor/grammars/textmate.tmbundle
url = https://github.com/textmate/textmate.tmbundle
[submodule "vendor/grammars/textproto-grammar"]
path = vendor/grammars/textproto-grammar
url = https://github.com/thejustinwalsh/textproto-grammar.git
[submodule "vendor/grammars/thrift.tmbundle"]
path = vendor/grammars/thrift.tmbundle
url = https://github.com/textmate/thrift.tmbundle
Expand Down
3 changes: 3 additions & 0 deletions grammars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -919,6 +919,9 @@ vendor/grammars/textmate.tmbundle:
- source.regexp.oniguruma
- source.tm-properties
- textmate.format-string
vendor/grammars/textproto-grammar:
- markdown.textproto.codeblock
- source.textproto
vendor/grammars/thrift.tmbundle:
- source.thrift
vendor/grammars/toml.tmbundle:
Expand Down
11 changes: 11 additions & 0 deletions lib/linguist/languages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4709,6 +4709,17 @@ Protocol Buffer:
codemirror_mode: protobuf
codemirror_mime_type: text/x-protobuf
language_id: 297
Protocol Buffer Text Format:
type: data
aliases:
- text proto
- protobuf text format
extensions:
- ".textproto"
- ".pbtxt"
tm_scope: source.textproto
ace_mode: text
language_id: 436568854
Public Key:
type: data
extensions:
Expand Down
Loading