mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 17:24:23 +00:00
eglot-server-programs: Account for new ts-mode
At the time of writing, this exists only in the unmerged tree-sitter branch. It is not harmful to include, however. * lisp/progmodes/eglot.el (eglot-server-programs): Add new major mode to be used with the typescript-language-server. (Bug#58769)
This commit is contained in:
parent
566e410287
commit
bb95e597a9
1 changed files with 1 additions and 1 deletions
|
|
@ -187,7 +187,7 @@ chosen (interactively or automatically)."
|
|||
. ,(eglot-alternatives
|
||||
'("pylsp" "pyls" ("pyright-langserver" "--stdio") "jedi-language-server")))
|
||||
((js-json-mode json-mode) . ,(eglot-alternatives '(("vscode-json-language-server" "--stdio") ("json-languageserver" "--stdio"))))
|
||||
((js-mode typescript-mode)
|
||||
((js-mode ts-mode typescript-mode)
|
||||
. ("typescript-language-server" "--stdio"))
|
||||
(sh-mode . ("bash-language-server" "start"))
|
||||
((php-mode phps-mode)
|
||||
|
|
|
|||
Loading…
Reference in a new issue