Document earlier change in eglot-report-progress

* lisp/progmodes/eglot.el (eglot-report-progress): Document the changed
behavior.
* etc/EGLOT-NEWS (https): Mention the change.
scratch/interpreted-function
Theodor Thornhill 2024-04-17 20:27:35 +02:00
parent c15c9f4de6
commit 0dbd9ed046
2 changed files with 10 additions and 1 deletions

View File

@ -20,6 +20,12 @@ https://github.com/joaotavora/eglot/issues/1234.
* Changes in upcoming Eglot
** Disable workDoneProgress if eglot-report-progress is nil
Eglot will now try to not register $/progress messages from the server
when the defcustom is set to nil. This requires a restart of the server
for the change to take effect.
* Changes in Eglot 1.17 (25/1/2024)

View File

@ -517,7 +517,10 @@ ACTION is the default value for commands not in the alist."
(defcustom eglot-report-progress t
"If non-nil, show progress of long running LSP server work.
If set to `messages', use *Messages* buffer, else use Eglot's
mode line indicator."
mode line indicator.
For changes on this variable to take effect, you need to restart
the LSP connection. That can be done by `eglot-reconnect'."
:type '(choice (const :tag "Don't show progress" nil)
(const :tag "Show progress in *Messages*" messages)
(const :tag "Show progress in Eglot's mode line indicator" t))