Skip to content

Commit 3d94fde

Browse files
committed
Actually import the spec
1 parent 790a239 commit 3d94fde

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

docs/Extending.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,8 +238,8 @@
238238
" {\n",
239239
" 'all_listeners': ['some.module.some_function'],\n",
240240
" 'client_listeners': ['some.module.some_other_function'],\n",
241-
" 'server_listeners': ['some.module.yet_another_function'],\n",
242-
" },\n",
241+
" 'server_listeners': ['some.module.yet_another_function']\n",
242+
" }\n",
243243
"}\n",
244244
"```"
245245
]

docs/Roadmap.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@
3535
"source": [
3636
"### Backend\n",
3737
"\n",
38-
"- [#49](https://github.com/jupyter-lsp/jupyterlab-lsp/issues/49) cookiecutter for\n",
39-
" pip-installable specs\n",
38+
"- [#49](https://github.com/jupyter-lsp/jupyterlab-lsp/issues/49) cookiecutter\n",
39+
" for pip-installable specs\n",
4040
"- add hook system to allow serverextensions/kernels to modify, inspect and react\n",
4141
" to LSP messages"
4242
]

python_packages/jupyter_lsp/jupyter_lsp/specs/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
from .r_languageserver import RLanguageServer
1414
from .sql_language_server import SQLLanguageServer
1515
from .texlab import Texlab
16+
from .typescript_language_server import TypescriptLanguageServer
1617
from .unified_language_server import UnifiedLanguageServer
1718
from .vscode_css_languageserver import VSCodeCSSLanguageServer
1819
from .vscode_html_languageserver import VSCodeHTMLLanguageServer
@@ -32,6 +33,7 @@
3233
pyright = PyrightLanguageServer()
3334
r = RLanguageServer()
3435
tex = Texlab()
35-
ts = JavascriptTypescriptLanguageServer()
36+
ts_old = JavascriptTypescriptLanguageServer()
37+
ts = TypescriptLanguageServer()
3638
sql = SQLLanguageServer()
3739
yaml = YAMLLanguageServer()

python_packages/jupyter_lsp/setup.cfg

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,15 @@ install_requires =
3636
jupyter_lsp_spec_v1 =
3737
bash-language-server = jupyter_lsp.specs:bash
3838
dockerfile-language-server-nodejs = jupyter_lsp.specs:dockerfile
39-
javascript-typescript-langserver = jupyter_lsp.specs:ts
39+
javascript-typescript-langserver = jupyter_lsp.specs:ts_old
4040
jedi-language-server = jupyter_lsp.specs:jedi
4141
julia-language-server = jupyter_lsp.specs:julia
4242
python-language-server = jupyter_lsp.specs:py_palantir
4343
python-lsp-server = jupyter_lsp.specs:py_lsp_server
4444
pyright = jupyter_lsp.specs:pyright
4545
r-languageserver = jupyter_lsp.specs:r
4646
texlab = jupyter_lsp.specs:tex
47+
typescript-language-server = jupyter_lsp.specs:ts
4748
sql-language-server = jupyter_lsp.specs:sql
4849
unified-language-server = jupyter_lsp.specs:md
4950
vscode-css-languageserver-bin = jupyter_lsp.specs:css

0 commit comments

Comments
 (0)