mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-12 05:15:00 +00:00
doc fix
This commit is contained in:
parent
6149007df7
commit
0e227a6678
1 changed files with 7 additions and 7 deletions
|
@ -7,7 +7,7 @@ Astro support is available through the [Astro extension](https://github.com/zed-
|
||||||
|
|
||||||
## Astro Configuration
|
## Astro Configuration
|
||||||
|
|
||||||
To use the Astro Language Server with TypeScript and TSX files, you will likely wish to to disable the default language servers and enable deno by adding the following to your settings.json:
|
To enable importing Astro files in TypeScript and TSX files, you will likely wish to disable the default language servers by adding the following to your settings.json:
|
||||||
|
|
||||||
```jsonc
|
```jsonc
|
||||||
{
|
{
|
||||||
|
@ -17,18 +17,18 @@ To use the Astro Language Server with TypeScript and TSX files, you will likely
|
||||||
"astro-typescript",
|
"astro-typescript",
|
||||||
"!typescript-language-server",
|
"!typescript-language-server",
|
||||||
"!vtsls",
|
"!vtsls",
|
||||||
"!eslint"
|
"!eslint",
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
"TSX": {
|
"TSX": {
|
||||||
"language_servers": [
|
"language_servers": [
|
||||||
"astro-typescript",
|
"astro-typescript",
|
||||||
"!typescript-language-server",
|
"!typescript-language-server",
|
||||||
"!vtsls",
|
"!vtsls",
|
||||||
"!eslint"
|
"!eslint",
|
||||||
]
|
],
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue