From be4755233192f2e27ddab75a75c6b858198bac26 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Felici=C3=A1n=20N=C3=A9meth?= Date: Sat, 12 Mar 2022 10:57:53 +0100 Subject: [PATCH] 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 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) -- 2.39.5