Skip to content

Commit

Permalink
Add ansible-language-server for yaml (helix-editor#7973)
Browse files Browse the repository at this point in the history
* Update languages.toml

Add ansible support to yaml.

* cargo xtask docgen
  • Loading branch information
lwandrebeck authored and mtoohey31 committed Jun 2, 2024
1 parent 3ac31a5 commit 880f7a3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,6 @@
| wren |||| |
| xit || | | |
| xml || || |
| yaml || || `yaml-language-server` |
| yaml || || `yaml-language-server`, `ansible-language-server` |
| yuck || | | |
| zig |||| `zls` |
5 changes: 4 additions & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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]]
Expand Down

0 comments on commit 880f7a3

Please sign in to comment.