GNU bug report logs - #64859
30.0.50; Eglot: codeAction.resolveSupport capability is incorrect

Previous Next

Package: emacs;

Reported by: Matan Peled <chaosite <at> gmail.com>

Date: Tue, 25 Jul 2023 16:40:03 UTC

Severity: normal

Found in version 30.0.50

Full log


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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Matan Peled <chaosite <at> gmail.com>
Cc: João Távora <joaotavora <at> gmail.com>,
 64859 <at> debbugs.gnu.org
Subject: Re: bug#64859: 30.0.50; Eglot: codeAction.resolveSupport capability
 is incorrect
Date: Thu, 1 Feb 2024 23:33:49 -0800
Matan Peled <chaosite <at> gmail.com> writes:

> I'm using a recent snapshot build.
>
> When trying to use Eglot on Rust code (with the rust-analyzer LSP
> server), it crashes complaining about the InitializationOptions message
> being misformed.
>
> This is due to this commit:
> https://git.savannah.gnu.org/cgit/emacs.git/commit/lisp/progmodes/eglot.el?id=3b7273f4ae3623962c5d5fdc922a62af1136f448
>
> resolveSupport is supposed to be a list, not a boolean, see here:
> https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_codeAction
>
> I'm not sure what properties Eglot supports here, so I'm not certain on
> what the correction should be.

João, any comments here?




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

Previous Next


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