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-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c1f1100f4e2c5d5f043dd5bb1e478127065aceaf;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. (cherry picked from commit 6a5c2edd84fc3fdb879e4a19ea182c2a4d385833) --- diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el index 51075324632..239dfd034a7 100644 --- a/lisp/progmodes/eglot.el +++ b/lisp/progmodes/eglot.el @@ -3287,7 +3287,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)))