Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add basic Deno configuration docs (#17447)

Peter Tripp629a412c2e86
diff --git a/docs/src/languages/deno.md b/docs/src/languages/deno.md
index 7993ce81d95..3b5e4a1ff9d 100644
--- a/docs/src/languages/deno.md
+++ b/docs/src/languages/deno.md
@@ -4,8 +4,36 @@ Deno support is available through the [Deno extension](https://github.com/zed-in
- Language server: [Deno Language Server](https://docs.deno.com/runtime/manual/advanced/language_server/overview/)
+## Deno Configuration
+
+To use the Deno 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:
+
+```json
+{
+ "languages": {
+ "TypeScript": {
+ "language_servers": [
+ "deno",
+ "!typescript-language-server",
+ "!vtsls",
+ "!eslint"
+ ]
+ },
+ "TSX": {
+ "language_servers": [
+ "deno",
+ "!typescript-language-server",
+ "!vtsls",
+ "!eslint"
+ ]
+ }
+ }
+}
+```
+
+See [Configuring supported languages](../configuring-languages.md) in the Zed documentation for more information.
+
<!--
-TBD: Document Deno configuration
TBD: Deno Typescript REPL instructions [docs/repl#typescript-deno](../repl.md#typescript-deno)
-->