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

* Update languages.toml

Add ansible support to yaml.

* cargo xtask docgen
pull/7182/head
Laurent Wandrebeck 1 year ago committed by GitHub
parent 93e54fa0c8
commit bdf7937a59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -87,6 +87,9 @@ yaml-language-server = { command = "yaml-language-server", args = ["--stdio"] }
zls = { command = "zls" } zls = { command = "zls" }
blueprint-compiler = { command = "blueprint-compiler", args = ["lsp"] } blueprint-compiler = { command = "blueprint-compiler", args = ["lsp"] }
[language-server.ansible-language-server]
command = "ansible-language-server"
args = ["--stdio"]
[language-server.lua-language-server] [language-server.lua-language-server]
command = "lua-language-server" command = "lua-language-server"
@ -1071,7 +1074,7 @@ file-types = ["yml", "yaml"]
roots = [] roots = []
comment-token = "#" comment-token = "#"
indent = { tab-width = 2, unit = " " } indent = { tab-width = 2, unit = " " }
language-servers = [ "yaml-language-server" ] language-servers = [ "yaml-language-server", "ansible-language-server" ]
injection-regex = "yml|yaml" injection-regex = "yml|yaml"
[[grammar]] [[grammar]]

Loading…
Cancel
Save