Update languages.toml to add astro-ls (#12939)

This commit is contained in:
Bang Lee 2025-02-27 07:30:55 +08:00 committed by GitHub
parent 8cb0d869e6
commit 69f25a85da
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 1 deletions

View file

@ -4,7 +4,7 @@
| adl | ✓ | ✓ | ✓ | |
| agda | ✓ | | | |
| amber | ✓ | | | |
| astro | ✓ | | | |
| astro | ✓ | | | `astro-ls` |
| awk | ✓ | ✓ | | `awk-language-server` |
| bash | ✓ | ✓ | ✓ | `bash-language-server` |
| bass | ✓ | | | `bass` |

View file

@ -139,6 +139,11 @@ wasm-language-tools = { command = "wat_server" }
command = "ansible-language-server"
args = ["--stdio"]
[language-server.astro-ls]
command = "astro-ls"
args = [ "--stdio" ]
config = { typescript = { tsdk = "node_modules/typescript/lib" } }
[language-server.lua-language-server]
command = "lua-language-server"
@ -2632,6 +2637,7 @@ injection-regex = "astro"
file-types = ["astro"]
block-comment-tokens = { start = "<!--", end = "-->" }
indent = { tab-width = 2, unit = " " }
language-servers = [ "astro-ls" ]
[[grammar]]
name = "astro"