Showing content from https://lists.gnu.org/archive/html/emacs-devel/2022-11/msg01446.html below:
Re: [PATCH] Eglot: auto-import completion item
Marcin Pajkowski <marcin.pajkowski@gmail.com> writes:
Hi Marcin,
the patch looks good to install, but please send it to the bug tracker
where the discussion started instead: I don't have the bug # handy.
Minor comments below my sig.
João
> 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.
                       ^^^^^^^^^
                       typo!
Also missing a line bug#xxxxx here.
> * lisp/progmodes/eglot.el (eglot-client-capabilities)
Here's, you're supposed to add a ':' and then briefly state what you did
to the definition.
Like this:
* lisp/progmodes/eglot.el
 (eglot-client-capabilities): Advertise :resolveSupport.
> ---
>Â 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"])
Can you break this line so that it fits in under 80 columns?
>Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â :tagSupport (:valueSet [1]))
>Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â :contextSupport t)
>        :hover       (list :dynamicRegistration :json-false
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4