]> git.eshelyaron.com Git - emacs.git/commitdiff
eglot-server-programs: ts-mode -> typescript-ts-mode
authorBrian Leung <leungbk@posteo.net>
Sat, 26 Nov 2022 02:16:52 +0000 (18:16 -0800)
committerStefan Kangas <stefankangas@gmail.com>
Sat, 26 Nov 2022 08:11:13 +0000 (09:11 +0100)
* lisp/progmodes/eglot.el (eglot-server-programs): Fix name of
'typescript-ts-mode' after rename from 'ts-mode'.  (Bug#59589)

lisp/progmodes/eglot.el

index a0fb253e10028a733d7e6ce2fb75b3b1dcd8b61b..120d4feb951b54508f66aef2c790a04cd6ac05b8 100644 (file)
@@ -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 ts-mode typescript-mode)
+                                ((js-mode typescript-ts-mode typescript-mode)
                                  . ("typescript-language-server" "--stdio"))
                                 ((bash-ts-mode sh-mode) . ("bash-language-server" "start"))
                                 ((php-mode phps-mode)