From 1c266970d66b6c2118654dc4c02b5f2bb93baf63 Mon Sep 17 00:00:00 2001 From: Jaakko Paju Date: Mon, 18 Mar 2024 21:39:32 +0200 Subject: [PATCH] Add yaml LSP for docker compose (#9916) * Add yaml LSP for docker compose * Change docs --- book/src/generated/lang-support.md | 2 +- languages.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 25b22a32748ac..3696804748950 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -31,7 +31,7 @@ | devicetree | ✓ | | | | | dhall | ✓ | ✓ | | `dhall-lsp-server` | | diff | ✓ | | | | -| docker-compose | ✓ | | ✓ | `docker-compose-langserver` | +| docker-compose | ✓ | | ✓ | `docker-compose-langserver`, `yaml-language-server` | | dockerfile | ✓ | | | `docker-langserver` | | dot | ✓ | | | `dot-language-server` | | dtd | ✓ | | | | diff --git a/languages.toml b/languages.toml index 85d619b8933fa..1cf8da374234b 100644 --- a/languages.toml +++ b/languages.toml @@ -1550,7 +1550,7 @@ source = { git = "https://github.com/camdencheek/tree-sitter-dockerfile", rev = name = "docker-compose" scope = "source.yaml.docker-compose" roots = ["docker-compose.yaml", "docker-compose.yml"] -language-servers = [ "docker-compose-langserver" ] +language-servers = [ "docker-compose-langserver", "yaml-language-server" ] file-types = [{ glob = "docker-compose.yaml" }, { glob = "docker-compose.yml" }] comment-token = "#" indent = { tab-width = 2, unit = " " }