mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 09:26:19 +04:00
Add ansible-language-server for yaml (#7973)
* Update languages.toml Add ansible support to yaml. * cargo xtask docgen
This commit is contained in:
parent
93e54fa0c8
commit
bdf7937a59
@ -179,6 +179,6 @@
|
||||
| wren | ✓ | ✓ | ✓ | |
|
||||
| xit | ✓ | | | |
|
||||
| xml | ✓ | | ✓ | |
|
||||
| yaml | ✓ | | ✓ | `yaml-language-server` |
|
||||
| yaml | ✓ | | ✓ | `yaml-language-server`, `ansible-language-server` |
|
||||
| yuck | ✓ | | | |
|
||||
| zig | ✓ | ✓ | ✓ | `zls` |
|
||||
|
@ -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]]
|
||||
|
Loading…
Reference in New Issue
Block a user