From: Theodor Thornhill Date: Sat, 26 Nov 2022 20:12:51 +0000 (+0100) Subject: Add js-ts-mode to eglot-server-programs X-Git-Tag: emacs-29.0.90~1465 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=40ff40198d817b1385694499a4dce9adb313ea6f;p=emacs.git Add js-ts-mode to eglot-server-programs * lisp/progmodes/eglot.el (eglot-server-programs): Add js-ts-mode as an alternative. (Bug#59252) --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 120d4feb951..7755353396f 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -190,7 +190,7 @@ chosen (interactively or automatically)." ((js-json-mode json-mode json-ts-mode) . ,(eglot-alternatives '(("vscode-json-language-server" "--stdio") ("json-languageserver" "--stdio")))) - ((js-mode typescript-ts-mode typescript-mode) + ((js-mode js-ts-mode typescript-ts-mode typescript-mode) . ("typescript-language-server" "--stdio")) ((bash-ts-mode sh-mode) . ("bash-language-server" "start")) ((php-mode phps-mode)