diff options
author | Laurent Wandrebeck | 2023-10-08 10:34:21 +0000 |
---|---|---|
committer | GitHub | 2023-10-08 10:34:21 +0000 |
commit | bdf7937a599058daa168fa24b0f52c06d4259cf7 (patch) | |
tree | 72a8a9052af2b6898228feca570f083a2d39dc7d | |
parent | 93e54fa0c88dc0c8761242b14b11a5aca79c6faf (diff) |
Add ansible-language-server for yaml (#7973)
* Update languages.toml
Add ansible support to yaml.
* cargo xtask docgen
-rw-r--r-- | book/src/generated/lang-support.md | 2 | ||||
-rw-r--r-- | languages.toml | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 378c6730..a2c4ba97 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -179,6 +179,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 6eab0421..257d90af 100644 --- a/languages.toml +++ b/languages.toml @@ -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]] |