diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 17:44:12 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-04 17:44:12 +0000 |
commit | 8ccb487c21368a7fdc8c7c72315325bf0aa06147 (patch) | |
tree | b2056fae01d325924508a41731edfbd4c3cddd23 /misc/syntax/protobuf.syntax | |
parent | Initial commit. (diff) | |
download | mc-8ccb487c21368a7fdc8c7c72315325bf0aa06147.tar.xz mc-8ccb487c21368a7fdc8c7c72315325bf0aa06147.zip |
Adding upstream version 3:4.8.29.upstream/3%4.8.29upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | misc/syntax/protobuf.syntax | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/misc/syntax/protobuf.syntax b/misc/syntax/protobuf.syntax new file mode 100644 index 0000000..2490889 --- /dev/null +++ b/misc/syntax/protobuf.syntax @@ -0,0 +1,57 @@ +# Syntax rules for Protobuf files and gRPC extensions + +context default + keyword whole enum yellow + keyword whole extend yellow + keyword whole extensions yellow + keyword whole import yellow + keyword whole map yellow + keyword whole message yellow + keyword whole oneof yellow + keyword whole option yellow + keyword whole optional yellow + keyword whole package yellow + keyword whole public yellow + keyword whole repeated yellow + keyword whole required yellow + keyword whole reserved yellow + keyword whole returns yellow + keyword whole rpc yellow + keyword whole service yellow + keyword whole stream yellow + + keyword whole double yellow + keyword whole float yellow + keyword whole int32 yellow + keyword whole int64 yellow + keyword whole uint32 yellow + keyword whole uint64 yellow + keyword whole sint32 yellow + keyword whole sint64 yellow + keyword whole fixed32 yellow + keyword whole fixed64 yellow + keyword whole sfixed32 yellow + keyword whole sfixed64 yellow + keyword whole bool yellow + keyword whole string yellow + keyword whole bytes yellow + + keyword // brown + +# punctuation characters, sorted by ASCII code + keyword ( brightcyan + keyword ) brightcyan + keyword , brightcyan + keyword : brightcyan + keyword ; brightmagenta + keyword = yellow + keyword [ brightcyan + keyword ] brightcyan + keyword { brightcyan + keyword } brightcyan + +context exclusive // \n brown + spellcheck + +context " " green + spellcheck |