Eglot: use :immediate t when resolving completions (bug#73279)

Copyright-paperwork-exempt: Yes

* lisp/progmodes/eglot.el (eglot-completion-at-point): Tweak
eglot--request call.
This commit is contained in:
Brennan Vincent 2024-10-09 06:30:30 -05:00 committed by João Távora
parent cd36e070c2
commit 6a5c2edd84

View file

@ -3242,7 +3242,8 @@ for which LSP on-type-formatting should be requested."
:resolveProvider)
(plist-get lsp-comp :data))
(eglot--request server :completionItem/resolve
lsp-comp :cancel-on-input t)
lsp-comp :cancel-on-input t
:immediate t)
lsp-comp))))))
(when (and (consp eglot--capf-session)
(= (car bounds) (car (nth 0 eglot--capf-session)))