emacs-diffs
[Top][All Lists]
Advanced

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

feature/eglot2emacs be47552331 049/120: Change capability 'documentchang


From: João Távora
Subject: feature/eglot2emacs be47552331 049/120: Change capability 'documentchanges' to t
Date: Thu, 20 Oct 2022 07:16:52 -0400 (EDT)

branch: feature/eglot2emacs
commit be4755233192f2e27ddab75a75c6b858198bac26
Author: Felicián Németh <felician.nemeth@gmail.com>
Commit: GitHub <noreply@github.com>

    Change capability 'documentchanges' to t
    
    Eglot does support woskspaceEdit/documentChanges, but failed to
    advertise this fact.
    
    Per https://github.com/joaotavora/eglot/issues/873.
    
    * eglot.el (eglot-client-capabilities): Set documentChanges to t.
    
    GitHub-reference: per https://github.com/joaotavora/eglot/issues/853
---
 lisp/progmodes/eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
index 5b4d419678..cc0a06f4cb 100644
--- a/lisp/progmodes/eglot.el
+++ b/lisp/progmodes/eglot.el
@@ -649,7 +649,7 @@ treated as in `eglot-dbind'."
             :workspace (list
                         :applyEdit t
                         :executeCommand `(:dynamicRegistration :json-false)
-                        :workspaceEdit `(:documentChanges :json-false)
+                        :workspaceEdit `(:documentChanges t)
                         :didChangeWatchedFiles `(:dynamicRegistration t)
                         :symbol `(:dynamicRegistration :json-false)
                         :configuration t)



reply via email to

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