From: Felicián Németh Date: Sat, 12 Mar 2022 09:57:53 +0000 (+0100) Subject: Change capability 'documentchanges' to t X-Git-Tag: emacs-29.0.90~1616^2~524^2~4^2~69 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=be4755233192f2e27ddab75a75c6b858198bac26;p=emacs.git 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 --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 5b4d4196780..cc0a06f4cbd 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)