From 1db7873cc111ce09d72093f6e76a1ccfea3afdec Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Sun, 2 Dec 2018 14:16:58 -0500 Subject: [PATCH] Use javascript-typescript-langserver for typescript-mode () 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index ac10b434c7e..2e99fc0cdd3 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -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) -- 2.39.2