projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd36e07
)
Eglot: use :immediate t when resolving completions (bug#73279)
author
Brennan Vincent
<brennan@umanwizard.com>
Wed, 9 Oct 2024 11:30:30 +0000
(06:30 -0500)
committer
João Távora
<joaotavora@gmail.com>
Wed, 9 Oct 2024 11:30:30 +0000
(06:30 -0500)
Copyright-paperwork-exempt: Yes
* lisp/progmodes/eglot.el (eglot-completion-at-point): Tweak
eglot--request call.
lisp/progmodes/eglot.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/eglot.el
b/lisp/progmodes/eglot.el
index e7a0a3ce135ec6345a9f0491db1e7160d00e8647..0a14146a2451d28e8c6f4e584eba6b4ba689b0f1 100644
(file)
--- 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)))