Skip to content

Commit

Permalink
Update languages.toml to add astro-ls (#12939)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qusic authored Feb 26, 2025
1 parent 8cb0d86 commit 69f25a8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion book/src/generated/lang-support.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
| adl |||| |
| agda || | | |
| amber || | | |
| astro || | | |
| astro || | | `astro-ls` |
| awk ||| | `awk-language-server` |
| bash |||| `bash-language-server` |
| bass || | | `bass` |
Expand Down
6 changes: 6 additions & 0 deletions languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 69f25a8

Please sign in to comment.