Add ansible-language-server for yaml (#7973)

* Update languages.toml

Add ansible support to yaml.

* cargo xtask docgen
This commit is contained in:
Laurent Wandrebeck 2023-10-08 12:34:21 +02:00 committed by GitHub
parent 93e54fa0c8
commit bdf7937a59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -179,6 +179,6 @@
| wren | ✓ | ✓ | ✓ | |
| xit | ✓ | | | |
| xml | ✓ | | ✓ | |
| yaml | ✓ | | ✓ | `yaml-language-server` |
| yaml | ✓ | | ✓ | `yaml-language-server`, `ansible-language-server` |
| yuck | ✓ | | | |
| zig | ✓ | ✓ | ✓ | `zls` |

View File

@ -87,6 +87,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"
@ -1071,7 +1074,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]]