Added a Google Protobuf mode
This commit is contained in:
parent
3cd5ea654e
commit
7c8d81333f
6 changed files with 159 additions and 2 deletions
|
|
@ -140,7 +140,7 @@ var docs = {
|
|||
"docs/xquery.xq": "XQuery",
|
||||
"docs/yaml.yaml": "YAML",
|
||||
"docs/c9search.c9search_results": "C9 Search Results",
|
||||
|
||||
|
||||
"docs/actionscript.as": "ActionScript",
|
||||
"docs/assembly_x86.asm": "Assembly_x86",
|
||||
"docs/autohotkey.ahk": "AutoHotKey",
|
||||
|
|
@ -152,7 +152,8 @@ var docs = {
|
|||
"docs/prolog.plg": "Prolog",
|
||||
"docs/rust.rs": "Rust",
|
||||
"docs/twig.twig": "Twig",
|
||||
"docs/Nix.nix": "Nix"
|
||||
"docs/Nix.nix": "Nix",
|
||||
"docs/protobuf.proto": "Protobuf"
|
||||
};
|
||||
|
||||
var ownSource = {
|
||||
|
|
|
|||
16
demo/kitchen-sink/docs/protobuf.proto
Normal file
16
demo/kitchen-sink/docs/protobuf.proto
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
message Point {
|
||||
required int32 x = 1;
|
||||
required int32 y = 2;
|
||||
optional string label = 3;
|
||||
}
|
||||
|
||||
message Line {
|
||||
required Point start = 1;
|
||||
required Point end = 2;
|
||||
optional string label = 3;
|
||||
}
|
||||
|
||||
message Polyline {
|
||||
repeated Point point = 1;
|
||||
optional string label = 2;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue