diff options
| author | Brennan Vincent | 2024-10-09 06:30:30 -0500 |
|---|---|---|
| committer | João Távora | 2024-10-09 06:30:30 -0500 |
| commit | 6a5c2edd84fc3fdb879e4a19ea182c2a4d385833 (patch) | |
| tree | fc5de87849d91046208ce52a2bfaf1bab63e32e9 | |
| parent | cd36e070c24d7828ea1b9bf62ffa920068ac4d41 (diff) | |
| download | emacs-6a5c2edd84fc3fdb879e4a19ea182c2a4d385833.tar.gz emacs-6a5c2edd84fc3fdb879e4a19ea182c2a4d385833.zip | |
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.
| -rw-r--r-- | lisp/progmodes/eglot.el | 3 |
1 files changed, 2 insertions, 1 deletions
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." | |||
| 3242 | :resolveProvider) | 3242 | :resolveProvider) |
| 3243 | (plist-get lsp-comp :data)) | 3243 | (plist-get lsp-comp :data)) |
| 3244 | (eglot--request server :completionItem/resolve | 3244 | (eglot--request server :completionItem/resolve |
| 3245 | lsp-comp :cancel-on-input t) | 3245 | lsp-comp :cancel-on-input t |
| 3246 | :immediate t) | ||
| 3246 | lsp-comp)))))) | 3247 | lsp-comp)))))) |
| 3247 | (when (and (consp eglot--capf-session) | 3248 | (when (and (consp eglot--capf-session) |
| 3248 | (= (car bounds) (car (nth 0 eglot--capf-session))) | 3249 | (= (car bounds) (car (nth 0 eglot--capf-session))) |