[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-30 6a5c2edd84f 2/2: Eglot: use :immediate t when resolving complet
From: |
João Távora |
Subject: |
emacs-30 6a5c2edd84f 2/2: Eglot: use :immediate t when resolving completions (bug#73279) |
Date: |
Wed, 9 Oct 2024 08:06:42 -0400 (EDT) |
branch: emacs-30
commit 6a5c2edd84fc3fdb879e4a19ea182c2a4d385833
Author: Brennan Vincent <brennan@umanwizard.com>
Commit: João Távora <joaotavora@gmail.com>
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.
---
lisp/progmodes/eglot.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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)))