diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 1287c11ff8e3..6af389bc6ead 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -176,6 +176,6 @@ | wren | ✓ | ✓ | ✓ | | | xit | ✓ | | | | | xml | ✓ | | ✓ | | -| yaml | ✓ | | ✓ | `yaml-language-server` | +| yaml | ✓ | | ✓ | `yaml-language-server`, `ansible-language-server` | | yuck | ✓ | | | | | zig | ✓ | ✓ | ✓ | `zls` | diff --git a/languages.toml b/languages.toml index d3cb402569e5..1f4548aa07e6 100644 --- a/languages.toml +++ b/languages.toml @@ -85,6 +85,9 @@ yaml-language-server = { command = "yaml-language-server", args = ["--stdio"] } zls = { command = "zls" } blueprint-compiler = { command = "blueprint-compiler", args = ["lsp"] } +[language-server.ansible-language-server] +command = "ansible-language-server" +args = ["--stdio"] [language-server.lua-language-server] command = "lua-language-server" @@ -959,7 +962,7 @@ file-types = ["yml", "yaml"] roots = [] comment-token = "#" indent = { tab-width = 2, unit = " " } -language-servers = [ "yaml-language-server" ] +language-servers = [ "yaml-language-server", "ansible-language-server" ] injection-regex = "yml|yaml" [[grammar]]