From 4cba7ffa9ad8934601efe7391b5b036661d9f240 Mon Sep 17 00:00:00 2001 From: Marcin Pajkowski Date: Sun, 20 Nov 2022 20:03:57 +0100 Subject: [PATCH] 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 adverised to LSP server. * lisp/progmodes/eglot.el (eglot-client-capabilities) --- lisp/progmodes/eglot.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 9555d21b00..4193ee0106 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -737,6 +737,7 @@ eglot-client-capabilities t :json-false) :deprecatedSupport t + :resolveSupport (:properties ["documentation" "details" "additionalTextEdits"]) :tagSupport (:valueSet [1])) :contextSupport t) :hover (list :dynamicRegistration :json-false -- 2.38.1