From 2e75025fbb28c217c0b484f0040af766445c0cb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=B6hl=2C=20Lukas?= Date: Sat, 23 Apr 2022 12:31:51 +0200 Subject: [PATCH 1/2] feat(lsp): add yaml lsp --- languages.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/languages.toml b/languages.toml index 3b2eedf2c37d..19d42e963276 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]] From 1813616704287af39afe5f6043aa7dc80e6f2a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=B6hl=2C=20Lukas?= Date: Sat, 23 Apr 2022 13:03:41 +0200 Subject: [PATCH 2/2] docs(lsp): regenerate lang support markdown --- book/src/generated/lang-support.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 7292b61bae3f..259ffe002b12 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` |