mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-15 14:47:30 +00:00
a0d687c24a
The current Astro Extension fails to load properly if it can't find a `tsserver.js` file in the current workspaces' `node_modules` folder. This happens pretty frequently, either if `typescript` is not installed in the project (which it isn't by default), or if `node_modules` is not in the workspace root. This PR adds a fallback method of installing `typescript` alongside the extensions' language server if it is not found in the workspaces' `node_modules`, as well as correctly setting the `tsdk` path in the initialization options. Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <elliott.codes@gmail.com>
15 lines
446 B
TOML
15 lines
446 B
TOML
id = "astro"
|
|
name = "Astro"
|
|
description = "Astro support."
|
|
version = "0.0.3"
|
|
schema_version = 1
|
|
authors = ["Alvaro Gaona <alvgaona@gmail.com>", "0xk1f0 <dev@k1f0.dev>"]
|
|
repository = "https://github.com/zed-industries/zed"
|
|
|
|
[language_servers.astro-language-server]
|
|
name = "Astro Language Server"
|
|
language = "Astro"
|
|
|
|
[grammars.astro]
|
|
repository = "https://github.com/virchau13/tree-sitter-astro"
|
|
commit = "4be180759ec13651f72bacee65fa477c64222a1a"
|