diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 5688a39cd..4dd49ec3b 100644 --- a/book/src/generated/lang-support.md +++ b/book/src/generated/lang-support.md @@ -4,7 +4,7 @@ | adl | ✓ | ✓ | ✓ | | | agda | ✓ | | | | | amber | ✓ | | | | -| astro | ✓ | | | | +| astro | ✓ | | | `astro-ls` | | awk | ✓ | ✓ | | `awk-language-server` | | bash | ✓ | ✓ | ✓ | `bash-language-server` | | bass | ✓ | | | `bass` | diff --git a/languages.toml b/languages.toml index 259951d99..8ccab5eaf 100644 --- a/languages.toml +++ b/languages.toml @@ -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 = "" } indent = { tab-width = 2, unit = " " } +language-servers = [ "astro-ls" ] [[grammar]] name = "astro"