docs: Add JavaScript configuration to the example setup of Deno (#32104)

When using Deno with the example configuration as described here,
duplicate lsp information is displayed in Javascript files.

This pull request solves that issue by adding Javascript to the
configuration.

Release Notes:

- Improve LSP support when using Deno with Javascript using the default
configuration.
This commit is contained in:
dannybunschoten 2025-06-09 12:18:06 +02:00 committed by GitHub
parent 6fe58a2c4e
commit 3908ca9744
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -20,6 +20,15 @@ To use the Deno Language Server with TypeScript and TSX files, you will likely w
}
},
"languages": {
"JavaScript": {
"language_servers": [
"deno",
"!typescript-language-server",
"!vtsls",
"!eslint"
],
"formatter": "language_server"
},
"TypeScript": {
"language_servers": [
"deno",