Add Zig highlighting

Closes #1370
This commit is contained in:
Vincent Prouillet 2021-05-05 21:55:29 +02:00
parent 10c1739c62
commit b2adfae4bc
5 changed files with 7 additions and 1 deletions

3
.gitmodules vendored
View file

@ -70,3 +70,6 @@
[submodule "sublime/syntaxes/extra/sublime-clojure"] [submodule "sublime/syntaxes/extra/sublime-clojure"]
path = sublime/syntaxes/extra/sublime-clojure path = sublime/syntaxes/extra/sublime-clojure
url = https://github.com/tonsky/sublime-clojure.git url = https://github.com/tonsky/sublime-clojure.git
[submodule "sublime/syntaxes/extra/sublime-zig-language"]
path = sublime/syntaxes/extra/sublime-zig-language
url = https://github.com/ziglang/sublime-zig-language.git

View file

@ -35,7 +35,7 @@ Tools > Developer > New Syntax from ... and put it at the root of `sublime_synta
You can also add a submodule to the repository of the wanted syntax: You can also add a submodule to the repository of the wanted syntax:
```bash ```bash
$ cd sublime/syntaxes $ cd sublime/syntaxes/extra
$ git submodule add https://github.com/elm-community/SublimeElmLanguageSupport $ git submodule add https://github.com/elm-community/SublimeElmLanguageSupport
``` ```

View file

@ -35,6 +35,7 @@ Here is a full list of supported languages and their short names:
- C -> ["c", "h"] - C -> ["c", "h"]
- C# -> ["cs", "csx"] - C# -> ["cs", "csx"]
- C++ -> ["C", "c++", "cc", "cp", "cpp", "cxx", "h", "h++", "hh", "hpp", "hxx", "inl", "ipp"] - C++ -> ["C", "c++", "cc", "cp", "cpp", "cxx", "h", "h++", "hh", "hpp", "hxx", "inl", "ipp"]
- Clojure -> ["clj", "cljc", "cljs", "edn"]
- ClojureC -> ["boot", "clj", "cljc", "cljs", "cljx"] - ClojureC -> ["boot", "clj", "cljc", "cljs", "cljx"]
- CMake -> ["CMakeLists.txt", "cmake"] - CMake -> ["CMakeLists.txt", "cmake"]
- CMake C Header -> ["h.in"] - CMake C Header -> ["h.in"]
@ -143,6 +144,7 @@ Here is a full list of supported languages and their short names:
- VimL -> ["vim"] - VimL -> ["vim"]
- XML -> ["dtml", "opml", "rng", "rss", "svg", "tld", "xml", "xsd", "xslt"] - XML -> ["dtml", "opml", "rng", "rss", "svg", "tld", "xml", "xsd", "xslt"]
- YAML -> ["sublime-syntax", "yaml", "yml"] - YAML -> ["sublime-syntax", "yaml", "yml"]
- Zig -> ["zig"]
``` ```
Note: due to some issues with the JavaScript syntax, the TypeScript syntax will be used instead. Note: due to some issues with the JavaScript syntax, the TypeScript syntax will be used instead.

@ -0,0 +1 @@
Subproject commit 9d2083815742ed703b07a25ad3573bec1214d554

Binary file not shown.