From: Marcin Pajkowski Date: Sun, 20 Nov 2022 19:03:57 +0000 (+0100) Subject: Eglot: Advertise completion.resolveSupport capabilities X-Git-Tag: emacs-29.0.90~1538 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=cf439636d466d999a1f064fe9783013d3f3db17d;p=emacs.git Eglot: Advertise completion.resolveSupport capabilities Some servers avoid reporting completion items that require "additionalTextEdits" capability. Actually, 'eglot-completion-at-point' function supports such feature so it can be advertised to LSP server. * lisp/progmodes/eglot.el (eglot-client-capabilities): Advertise resolveSupport. (bug#59465) Copyright-paperwork-exempt: yes --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index e057b12e0ee..94f718c865d 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -737,6 +737,10 @@ treated as in `eglot--dbind'." t :json-false) :deprecatedSupport t + :resolveSupport (:properties + ["documentation" + "details" + "additionalTextEdits"]) :tagSupport (:valueSet [1])) :contextSupport t) :hover (list :dynamicRegistration :json-false