summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Sjöberg2022-01-08 15:27:10 +0000
committerGitHub2022-01-08 15:27:10 +0000
commit5e2269486598645a6e9511ea25f87b3609511d77 (patch)
treeb94422f81c66932703cfd00ae22ab31e1f9eaa84
parent1af8dd9912d655cfc47979d40738ee4ebaa2521a (diff)
Add default language server for JavaScript (#1457)
* Add default language server for JavaScript * Update lang support documentation
-rw-r--r--book/src/generated/lang-support.md2
-rw-r--r--languages.toml1
2 files changed, 2 insertions, 1 deletions
diff --git a/book/src/generated/lang-support.md b/book/src/generated/lang-support.md
index daf8b006..384ba96b 100644
--- a/book/src/generated/lang-support.md
+++ b/book/src/generated/lang-support.md
@@ -18,7 +18,7 @@
| go | ✓ | ✓ | ✓ | `gopls` |
| html | ✓ | | | |
| java | ✓ | | | |
-| javascript | ✓ | | ✓ | |
+| javascript | ✓ | | ✓ | `typescript-language-server` |
| json | ✓ | | ✓ | |
| julia | ✓ | | | `julia` |
| latex | ✓ | | | |
diff --git a/languages.toml b/languages.toml
index 3e2e7b15..c8f9bab4 100644
--- a/languages.toml
+++ b/languages.toml
@@ -128,6 +128,7 @@ roots = []
comment-token = "//"
# TODO: highlights-jsx, highlights-params
+language-server = { command = "typescript-language-server", args = ["--stdio"] }
indent = { tab-width = 2, unit = " " }
[[language]]