From: Brennan Vincent Date: Wed, 9 Oct 2024 11:30:30 +0000 (-0500) Subject: Eglot: use :immediate t when resolving completions (bug#73279) X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~2^2~20^2~362^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6a5c2edd84fc3fdb879e4a19ea182c2a4d385833;p=emacs.git 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. --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index e7a0a3ce135..0a14146a245 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -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)))