From 58022586a00a23fe20d12a563dbf6e97b3e64df0 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 25b22a327..369680474 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 85d619b89..1cf8da374 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 = " " }