]> git.eshelyaron.com Git - emacs.git/commitdiff
Use javascript-typescript-langserver for typescript-mode ()
authorMario Rodas <marsam@users.noreply.github.com>
Sun, 2 Dec 2018 19:16:58 +0000 (14:16 -0500)
committerJoão Távora <joaotavora@gmail.com>
Sun, 2 Dec 2018 19:16:58 +0000 (19:16 +0000)
Copyright-paperwork-exempt: Yes

* eglot.el (eglot-server-programs): add typescript-mode to
  javascript-typescript-langserver's contact

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

lisp/progmodes/eglot.el

index ac10b434c7e91d0696cb70d09ffd96e56af202c7..2e99fc0cdd3be49fb9eefabe4c8d004b735b7a83 100644 (file)
@@ -82,7 +82,9 @@
                                 (python-mode . ("pyls"))
                                 ((js-mode
                                   js2-mode
-                                  rjsx-mode) . ("javascript-typescript-stdio"))
+                                  rjsx-mode
+                                  typescript-mode)
+                                 . ("javascript-typescript-stdio"))
                                 (sh-mode . ("bash-language-server" "start"))
                                 ((c++-mode c-mode) . ("ccls"))
                                 ((caml-mode tuareg-mode reason-mode)