GNU bug report logs - #65983
Eglot does not support `textDocument/diagnostic` (pull diagnostics)

Previous Next

Package: emacs;

Reported by: Justin Talbott <thepalmcivet <at> gmail.com>

Date: Thu, 14 Sep 2023 22:59:02 UTC

Severity: wishlist

Full log


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

From: Justin Talbott <thepalmcivet <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: joaotavora <at> gmail.com
Subject: Eglot does not support `textDocument/diagnostic` (pull diagnostics)
Date: Thu, 14 Sep 2023 14:14:52 -0400
[Message part 1 (text/plain, inline)]
Some LSP servers, such as `ruby-lsp` (https://github.com/Shopify/ruby-lsp)
don't use `textDocument/publishDiagnostic` to publish diagnostics. Instead,
they expect the LSP client to poll and request diagnostics with
`textDocument/diagnostic`. It would be great if Eglot would support this
method of pulling diagnostics.

I first reported this on Github in the Eglot repo as a Discussion:
https://github.com/joaotavora/eglot/discussions/1290

-
best,
Justin Talbott
[Message part 2 (text/html, inline)]

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

Previous Next


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