emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 47d8e4b0d38 1/2: Eglot: report window/workDoneProgress capabili


From: João Távora
Subject: emacs-29 47d8e4b0d38 1/2: Eglot: report window/workDoneProgress capability to language server
Date: Tue, 21 Mar 2023 10:48:57 -0400 (EDT)

branch: emacs-29
commit 47d8e4b0d3835f5e0b0b6ab76f242ef0aa25bda7
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    Eglot: report window/workDoneProgress capability to language server
    
    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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 7a076c134fc..77428c5af07 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -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--{})))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]