]> git.eshelyaron.com Git - emacs.git/commitdiff
Prefer typescript-language-server for js&ts
authorJoão Távora <joaotavora@gmail.com>
Mon, 1 Feb 2021 15:39:15 +0000 (15:39 +0000)
committerJoão Távora <joaotavora@gmail.com>
Mon, 1 Feb 2021 15:39:57 +0000 (15:39 +0000)
* README.md (Connecting to a server): Prefer
typescript-language-server.

* eglot.el (eglot-server-programs): Use
typescript-language-server.

GitHub-reference: close https://github.com/joaotavora/eglot/issues/566

lisp/progmodes/eglot.el

index 3ea8a2fa7e1eca09b4dbdae0f5853a6000933799..158a1084993be9f2116d9c186766aec380966e1a 100644 (file)
@@ -99,7 +99,7 @@
                                 (python-mode . ("pyls"))
                                 ((js-mode
                                   typescript-mode)
-                                 . ("javascript-typescript-stdio"))
+                                 . ("typescript-language-server" "--stdio"))
                                 (sh-mode . ("bash-language-server" "start"))
                                 (php-mode
                                  . ("php" "vendor/felixfbecker/\