From 8d4056ab3038f3f7fc8e7cec02cbb6b131632aa6 Mon Sep 17 00:00:00 2001 From: bemyak Date: Fri, 12 Jun 2020 13:19:50 +0300 Subject: [PATCH] Add GLSL and GDScrip syntax highlighting (#1060) --- .gitmodules | 6 ++++++ docs/content/documentation/content/syntax-highlighting.md | 2 ++ sublime/syntaxes/GDScript-sublime | 1 + sublime/syntaxes/sublime-glsl | 1 + 4 files changed, 10 insertions(+) create mode 160000 sublime/syntaxes/GDScript-sublime create mode 160000 sublime/syntaxes/sublime-glsl diff --git a/.gitmodules b/.gitmodules index 9856f3c5..ffd0dd08 100644 --- a/.gitmodules +++ b/.gitmodules @@ -61,3 +61,9 @@ [submodule "sublime/syntaxes/vue-syntax-highlight"] path = sublime/syntaxes/vue-syntax-highlight url = https://github.com/vuejs/vue-syntax-highlight.git +[submodule "sublime/syntaxes/sublime-glsl"] + path = sublime/syntaxes/sublime-glsl + url = https://github.com/euler0/sublime-glsl.git +[submodule "sublime/syntaxes/GDScript-sublime"] + path = sublime/syntaxes/GDScript-sublime + url = https://github.com/beefsack/GDScript-sublime.git diff --git a/docs/content/documentation/content/syntax-highlighting.md b/docs/content/documentation/content/syntax-highlighting.md index 499f283e..d074dc8b 100644 --- a/docs/content/documentation/content/syntax-highlighting.md +++ b/docs/content/documentation/content/syntax-highlighting.md @@ -54,6 +54,7 @@ Here is a full list of supported languages and their short names: - Fortran (Modern) -> ["F03", "F08", "F90", "F95", "f03", "f08", "f90", "f95"] - Fortran Namelist -> ["namelist"] - Friendly Interactive Shell (fish) -> ["fish"] +- GDScript -> ["gd"] - Generic Config -> [".dircolors", ".gitattributes", ".gitignore", ".gitmodules", ".inputrc", "Doxyfile", "cfg", "conf", "config", "dircolors", "gitattributes", "gitignore", "gitmodules", "ini", "inputrc", "mak", "mk", "pro"] - Git Attributes -> [".gitattributes", "attributes", "gitattributes"] - Git Commit -> ["COMMIT_EDITMSG", "MERGE_MSG", "TAG_EDITMSG"] @@ -63,6 +64,7 @@ Here is a full list of supported languages and their short names: - Git Log -> ["gitlog"] - Git Mailmap -> [".mailmap", "mailmap"] - Git Rebase Todo -> ["git-rebase-todo"] +- GLSL -> ["vs", "fs", "gs", "vsh", "fsh", "gsh", "vshader", "fshader", "gshader", "vert", "frag", "geom", "tesc", "tese", "comp", "glsl"] - Go -> ["go"] - GraphQL -> ["gql", "graphql"] - Graphviz (DOT) -> ["DOT", "dot", "gv"] diff --git a/sublime/syntaxes/GDScript-sublime b/sublime/syntaxes/GDScript-sublime new file mode 160000 index 00000000..96f5dcf2 --- /dev/null +++ b/sublime/syntaxes/GDScript-sublime @@ -0,0 +1 @@ +Subproject commit 96f5dcf29728aa987123321e2544330eed991a3e diff --git a/sublime/syntaxes/sublime-glsl b/sublime/syntaxes/sublime-glsl new file mode 160000 index 00000000..4cd4acff --- /dev/null +++ b/sublime/syntaxes/sublime-glsl @@ -0,0 +1 @@ +Subproject commit 4cd4acfffc7f2ab4f154b6ebfbbe0bb71825eb89