diff --git a/addons/lspclient/settings.json b/addons/lspclient/settings.json index a35c63658..38147cd27 100644 --- a/addons/lspclient/settings.json +++ b/addons/lspclient/settings.json @@ -1,56 +1,67 @@ { "servers": { "bibtex": { "use": "latex", "highlightingModeRegex": "^BibTeX$" }, "c": { "command": ["clangd", "-log=error", "--background-index"], "commandDebug": ["clangd", "-log=verbose", "--background-index"], "url": "https://clang.llvm.org/extra/clangd/", "highlightingModeRegex": "^(C|ANSI C89|Objective-C)$" }, "cpp": { "use": "c", "highlightingModeRegex": "^(C\\+\\+|ISO C\\+\\+|Objective-C\\+\\+)$" }, "d": { "command": ["dls", "--stdio"], "url": "https://github.com/d-language-server/dls", "highlightingModeRegex": "^D$" }, "fortran": { "command": ["fortls"], "rootIndicationFileNames": [".fortls"], "url": "https://github.com/hansec/fortran-language-server", "highlightingModeRegex": "^Fortran.*$" }, + "javascript": { + "command": ["javascript-typescript-stdio"], + "commandDebug": ["javascript-typescript-stdio", "-t"], + "rootIndicationFileNames": ["package.json", "package-lock.json"], + "url": "https://github.com/sourcegraph/vscode-javascript-typescript", + "highlightingModeRegex": "^JavaScript.*$" + }, "latex": { "command": ["texlab"], "url": "https://texlab.netlify.com/", "highlightingModeRegex": "^LaTeX$" }, "go": { "command": ["go-langserver"], "commandDebug": ["go-langserver", "-trace"], "url": "https://github.com/sourcegraph/go-langserver", "highlightingModeRegex": "^Go$" }, "python": { "command": ["python3", "-m", "pyls", "--check-parent-process"], "url": "https://github.com/palantir/python-language-server", "highlightingModeRegex": "^Python$" }, "rust": { "command": ["rls"], "rootIndicationFileNames": ["Cargo.lock", "Cargo.toml"], "url": "https://github.com/rust-lang/rls", "highlightingModeRegex": "^Rust$" }, "ocaml": { "command": ["ocamllsp"], "url": "https://github.com/ocaml/ocaml-lsp", "highlightingModeRegex": "^Objective Caml.*$" + }, + "typescript": { + "use": "javascript", + "highlightingModeRegex": "^TypeScript.*$" } } }