Unnamed repository; edit this file 'description' to name the repository.
Update languages.toml to add astro-ls (#12939)
| -rw-r--r-- | book/src/generated/lang-support.md | 2 | ||||
| -rw-r--r-- | languages.toml | 6 |
2 files changed, 7 insertions, 1 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md index 5688a39c..4dd49ec3 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 259951d9..8ccab5ea 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 = "<!--", end = "-->" } indent = { tab-width = 2, unit = " " } +language-servers = [ "astro-ls" ] [[grammar]] name = "astro" |