diff --git a/.gitmodules b/.gitmodules index 5b033dde..cd1bbfc7 100644 --- a/.gitmodules +++ b/.gitmodules @@ -70,3 +70,6 @@ [submodule "sublime/syntaxes/extra/sublime-clojure"] path = sublime/syntaxes/extra/sublime-clojure 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 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 6a9fdbe1..2997c0c2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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: ```bash -$ cd sublime/syntaxes +$ cd sublime/syntaxes/extra $ git submodule add https://github.com/elm-community/SublimeElmLanguageSupport ``` diff --git a/docs/content/documentation/content/syntax-highlighting.md b/docs/content/documentation/content/syntax-highlighting.md index 1dde1c32..e35241b1 100644 --- a/docs/content/documentation/content/syntax-highlighting.md +++ b/docs/content/documentation/content/syntax-highlighting.md @@ -35,6 +35,7 @@ Here is a full list of supported languages and their short names: - C -> ["c", "h"] - C# -> ["cs", "csx"] - 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"] - CMake -> ["CMakeLists.txt", "cmake"] - CMake C Header -> ["h.in"] @@ -143,6 +144,7 @@ Here is a full list of supported languages and their short names: - VimL -> ["vim"] - XML -> ["dtml", "opml", "rng", "rss", "svg", "tld", "xml", "xsd", "xslt"] - YAML -> ["sublime-syntax", "yaml", "yml"] +- Zig -> ["zig"] ``` Note: due to some issues with the JavaScript syntax, the TypeScript syntax will be used instead. diff --git a/sublime/syntaxes/extra/sublime-zig-language b/sublime/syntaxes/extra/sublime-zig-language new file mode 160000 index 00000000..9d208381 --- /dev/null +++ b/sublime/syntaxes/extra/sublime-zig-language @@ -0,0 +1 @@ +Subproject commit 9d2083815742ed703b07a25ad3573bec1214d554 diff --git a/sublime/syntaxes/newlines.packdump b/sublime/syntaxes/newlines.packdump index 646806ba..259015ae 100644 Binary files a/sublime/syntaxes/newlines.packdump and b/sublime/syntaxes/newlines.packdump differ