aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHekno252022-06-24 21:21:26 +0000
committerGitHub2022-06-24 21:21:26 +0000
commit33e6df870710a48e89875b6f7471b9ee5f54af50 (patch)
treef387a76267338ca3d812a1e8a917f166e925d5df
parent3dbad0442fc3038dd0b0f6bd07ba0e40d2d92000 (diff)
feat: add wgsl_analyzer as wgsl language server (#2872)
-rw-r--r--book/src/generated/lang-support.md2
-rw-r--r--languages.toml1
2 files changed, 2 insertions, 1 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md
index 0ed4062d..7d0ac202 100644
--- a/book/src/generated/lang-support.md
+++ b/book/src/generated/lang-support.md
@@ -98,6 +98,6 @@
| vala | ✓ | | | `vala-language-server` |
| verilog | ✓ | ✓ | | `svlangserver` |
| vue | ✓ | | | `vls` |
-| wgsl | ✓ | | | |
+| wgsl | ✓ | | | `wgsl_analyzer` |
| yaml | ✓ | | ✓ | `yaml-language-server` |
| zig | ✓ | | ✓ | `zls` |
diff --git a/languages.toml b/languages.toml
index e0a57080..62513141 100644
--- a/languages.toml
+++ b/languages.toml
@@ -787,6 +787,7 @@ scope = "source.wgsl"
file-types = ["wgsl"]
roots = []
comment-token = "//"
+language-server = { command = "wgsl_analyzer" }
indent = { tab-width = 4, unit = " " }
[[grammar]]