mirror of https://github.com/helix-editor/helix
Update languages.toml to add astro-ls (#12939)
parent
8cb0d869e6
commit
69f25a85da
|
@ -4,7 +4,7 @@
|
||||||
| adl | ✓ | ✓ | ✓ | |
|
| adl | ✓ | ✓ | ✓ | |
|
||||||
| agda | ✓ | | | |
|
| agda | ✓ | | | |
|
||||||
| amber | ✓ | | | |
|
| amber | ✓ | | | |
|
||||||
| astro | ✓ | | | |
|
| astro | ✓ | | | `astro-ls` |
|
||||||
| awk | ✓ | ✓ | | `awk-language-server` |
|
| awk | ✓ | ✓ | | `awk-language-server` |
|
||||||
| bash | ✓ | ✓ | ✓ | `bash-language-server` |
|
| bash | ✓ | ✓ | ✓ | `bash-language-server` |
|
||||||
| bass | ✓ | | | `bass` |
|
| bass | ✓ | | | `bass` |
|
||||||
|
|
|
@ -139,6 +139,11 @@ wasm-language-tools = { command = "wat_server" }
|
||||||
command = "ansible-language-server"
|
command = "ansible-language-server"
|
||||||
args = ["--stdio"]
|
args = ["--stdio"]
|
||||||
|
|
||||||
|
[language-server.astro-ls]
|
||||||
|
command = "astro-ls"
|
||||||
|
args = [ "--stdio" ]
|
||||||
|
config = { typescript = { tsdk = "node_modules/typescript/lib" } }
|
||||||
|
|
||||||
[language-server.lua-language-server]
|
[language-server.lua-language-server]
|
||||||
command = "lua-language-server"
|
command = "lua-language-server"
|
||||||
|
|
||||||
|
@ -2632,6 +2637,7 @@ injection-regex = "astro"
|
||||||
file-types = ["astro"]
|
file-types = ["astro"]
|
||||||
block-comment-tokens = { start = "<!--", end = "-->" }
|
block-comment-tokens = { start = "<!--", end = "-->" }
|
||||||
indent = { tab-width = 2, unit = " " }
|
indent = { tab-width = 2, unit = " " }
|
||||||
|
language-servers = [ "astro-ls" ]
|
||||||
|
|
||||||
[[grammar]]
|
[[grammar]]
|
||||||
name = "astro"
|
name = "astro"
|
||||||
|
|
Loading…
Reference in New Issue