Document earlier change in eglot-report-progress
authorTheodor Thornhill <theo@thornhill.no>
Wed, 17 Apr 2024 18:27:35 +0000 (20:27 +0200)
committerTheodor Thornhill <theo@thornhill.no>
Wed, 17 Apr 2024 18:42:23 +0000 (20:42 +0200)
* lisp/progmodes/eglot.el (eglot-report-progress): Document the changed
behavior.
* etc/EGLOT-NEWS (https): Mention the change.

etc/EGLOT-NEWS
lisp/progmodes/eglot.el

index 12e7d3f6b9b4c981456c0a60920673978313214e..0e3e4b7aff846ff62e62625db7d038b88d564b8a 100644 (file)
@@ -20,6 +20,12 @@ https://github.com/joaotavora/eglot/issues/1234.
 \f
 * 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.
+
 \f
 * Changes in Eglot 1.17 (25/1/2024)
 
index bff273338c4587d916a29a37b11fb95e72108014..c395efd9f5515b6c30a55be933c38fd9bfe7999f 100644 (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))