[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64859: 30.0.50; Eglot: codeAction.resolveSupport capability is incor
From: |
Stefan Kangas |
Subject: |
bug#64859: 30.0.50; Eglot: codeAction.resolveSupport capability is incorrect |
Date: |
Thu, 1 Feb 2024 23:33:49 -0800 |
Matan Peled <chaosite@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?
- bug#64859: 30.0.50; Eglot: codeAction.resolveSupport capability is incorrect,
Stefan Kangas <=