aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Paju2024-03-18 19:39:32 +0000
committerGitHub2024-03-18 19:39:32 +0000
commit58022586a00a23fe20d12a563dbf6e97b3e64df0 (patch)
tree1a7234b86b473ccb23341b6118381fc66afa6e46
parent2e4653ea312dcb69d2453eccaa7c0f873cce6aa5 (diff)
Add yaml LSP for docker compose (#9916)
* Add yaml LSP for docker compose * Change docs
-rw-r--r--book/src/generated/lang-support.md2
-rw-r--r--languages.toml2
2 files changed, 2 insertions, 2 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md
index 25b22a32..36968047 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 85d619b8..1cf8da37 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 = " " }