summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas2022-04-23 13:38:29 +0000
committerGitHub2022-04-23 13:38:29 +0000
commit1c1ba006aed87b1f26cf8e337a1cb04d1b21879a (patch)
tree98cd5c84f96090eb3f72741d53faa1d96e6f5774
parent2c7f770aa9b094afca4454c8e85c8a963112ec32 (diff)
feat(lsp): add yaml lsp (#2234)
-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 7292b61b..259ffe00 100644
--- a/book/src/generated/lang-support.md
+++ b/book/src/generated/lang-support.md
@@ -80,5 +80,5 @@
| typescript | ✓ | | ✓ | `typescript-language-server` |
| vue | ✓ | | | `vls` |
| wgsl | ✓ | | | |
-| yaml | ✓ | | ✓ | |
+| yaml | ✓ | | ✓ | `yaml-language-server` |
| zig | ✓ | | ✓ | `zls` |
diff --git a/languages.toml b/languages.toml
index 3b2eedf2..19d42e96 100644
--- a/languages.toml
+++ b/languages.toml
@@ -644,6 +644,7 @@ file-types = ["yml", "yaml"]
roots = []
comment-token = "#"
indent = { tab-width = 2, unit = " " }
+language-server = { command = "yaml-language-server", args = ["--stdio"] }
injection-regex = "yml|yaml"
[[grammar]]