]> git.eshelyaron.com Git - emacs.git/commitdiff
Eglot: report window/workDoneProgress capability to language server
authorJoão Távora <joaotavora@gmail.com>
Tue, 21 Mar 2023 09:56:30 +0000 (09:56 +0000)
committerJoão Távora <joaotavora@gmail.com>
Tue, 21 Mar 2023 14:43:11 +0000 (14:43 +0000)
In bug#59149, LSP progress reporting was implemented, but Eglot's
'capabilities' statement to the server wasn't changed to include
window/workDoneProgress.

* lisp/progmodes/eglot.el (eglot-client-capabilities): Actually
report workDoneProgress.

lisp/progmodes/eglot.el

index 7a076c134fc941bf1d713fb4ddfc05f9540ec1c3..77428c5af0771dda2caeae94fe5dcbdb7fcf7894 100644 (file)
@@ -819,6 +819,7 @@ treated as in `eglot--dbind'."
                                        `(:valueSet
                                          [,@(mapcar
                                              #'car eglot--tag-faces)])))
+            :window `(:workDoneProgress t)
             :general (list :positionEncodings ["utf-32" "utf-8" "utf-16"])
             :experimental eglot--{})))