Commit 0ae9d9da authored by Mark Nauwelaerts's avatar Mark Nauwelaerts
Browse files

lspclient: switch to a maintained javascript language server

The javascript/typescript language server used so far has actually been
https://github.com/sourcegraph/javascript-typescript-langserver.
However, that one has now gone into unmaintained status, so switch
to the language server that is recommended there;
https://github.com/theia-ide/typescript-language-server

In this case, the server is better equipped to deal with the
javascript/typescript distinction, so we leave that up to the server.
parent 0f747337
......@@ -39,11 +39,11 @@
"highlightingModeRegex": "^Haskell$"
},
"javascript": {
"command": ["javascript-typescript-stdio"],
"commandDebug": ["javascript-typescript-stdio", "-t"],
"command": ["typescript-language-server", "--stdio"],
"rootIndicationFileNames": ["package.json", "package-lock.json"],
"url": "https://github.com/sourcegraph/vscode-javascript-typescript",
"highlightingModeRegex": "^JavaScript.*$"
"url": "https://github.com/theia-ide/typescript-language-server",
"highlightingModeRegex": "^JavaScript.*$",
"documentLanguageId": false
},
"latex": {
"command": ["texlab"],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment