GNU bug report logs - #67150
eglot with typescript language server >= 4.1.0

Previous Next

Package: emacs;

Reported by: Rajeev N <contact <at> sivalik.com>

Date: Mon, 13 Nov 2023 15:26:01 UTC

Severity: normal

Done: João Távora <joaotavora <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 67150 <at> debbugs.gnu.org (full text, mbox):

From: Rajeev N <contact <at> sivalik.com>
To: João Távora <joaotavora <at> gmail.com>
Cc: 67150 <at> debbugs.gnu.org
Subject: Re: bug#67150: eglot with typescript language server >= 4.1.0
Date: Mon, 13 Nov 2023 16:42:11 +0000
[Message part 1 (text/plain, inline)]
I am running the latest stable branch of emacs with the latest eglot from stable.

The following fixed the issue for me.

#+begin_src elisp
(add-to-list 'eglot-server-programs
             `(((js-mode :language-id "javascript")
		(js-ts-mode :language-id "javascript")
		(tsx-ts-mode  :language-id "typescriptreact")
		typescript-ts-mode typescript-mode)
               .
               ("typescript-language-server" "--stdio")))
#+end_src
[Message part 2 (text/html, inline)]

This bug report was last modified 1 year and 243 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.