diff --git a/.gitmodules b/.gitmodules index cd1bbfc7..aba5d052 100644 --- a/.gitmodules +++ b/.gitmodules @@ -73,3 +73,6 @@ [submodule "sublime/syntaxes/extra/sublime-zig-language"] path = sublime/syntaxes/extra/sublime-zig-language url = https://github.com/ziglang/sublime-zig-language.git +[submodule "sublime/syntaxes/extra/protobuf-syntax-highlighting"] + path = sublime/syntaxes/extra/protobuf-syntax-highlighting + url = https://github.com/VcamX/protobuf-syntax-highlighting.git diff --git a/CHANGELOG.md b/CHANGELOG.md index ac3a5220..65743edb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,7 +25,7 @@ - Add the `base16-aterlierdune-light` syntax highlight theme - Improve link checking: less concurrency and try to not overload the servers - Allow using POST for `load_data`, along with a body to POST and allow it to fail -- Add Zig syntax highlighting +- Add Zig and Protobuf syntax highlighting - Footnotes links are now stripped from summaries - they were not linking to anything. ## 0.13.0 (2021-01-09) diff --git a/docs/content/documentation/content/syntax-highlighting.md b/docs/content/documentation/content/syntax-highlighting.md index e35241b1..6e0e5fa6 100644 --- a/docs/content/documentation/content/syntax-highlighting.md +++ b/docs/content/documentation/content/syntax-highlighting.md @@ -113,6 +113,8 @@ Here is a full list of supported languages and their short names: - PHP -> ["php", "php3", "php4", "php5", "php7", "phps", "phpt", "phtml"] - Plain Text -> ["txt"] - PowerShell -> ["ps1", "psd1", "psm1"] +- Protocol Buffer -> ["proto", "protodevel"] +- Protocol Buffer (TEXT) -> ["pb.txt", "pbtxt", "proto.text", "prototxt", "textpb"] - PureScript -> ["purs"] - Python -> ["SConscript", "SConstruct", "Sconstruct", "Snakefile", "bazel", "bzl", "cpy", "gyp", "gypi", "pxd", "pxd.in", "pxi", "pxi.in", "py", "py3", "pyi", "pyw", "pyx", "pyx.in", "rpy", "sconstruct", "vpy", "wscript"] - R -> ["R", "Rprofile", "r"] diff --git a/sublime/syntaxes/extra/protobuf-syntax-highlighting b/sublime/syntaxes/extra/protobuf-syntax-highlighting new file mode 160000 index 00000000..726e21d7 --- /dev/null +++ b/sublime/syntaxes/extra/protobuf-syntax-highlighting @@ -0,0 +1 @@ +Subproject commit 726e21d74dac23cbb036f2fbbd626decdc954060 diff --git a/sublime/syntaxes/newlines.packdump b/sublime/syntaxes/newlines.packdump index 259015ae..14f70269 100644 Binary files a/sublime/syntaxes/newlines.packdump and b/sublime/syntaxes/newlines.packdump differ