branch: externals/eglot
commit 980f3e7feb717a66120950175cfd5cdf507a1462
Author: João Távora <joaotav...@gmail.com>
Commit: João Távora <joaotav...@gmail.com>

    Fix another merge-related bug in eglot-eldoc-function
    
    * eglot.el (eglot-eldoc-function): Correctly destructure
    eglot--range-region.
---
 eglot.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eglot.el b/eglot.el
index 64d06a3..3f82c89 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1138,7 +1138,7 @@ If SKIP-SIGNATURE, don't try to send 
textDocument/signatureHelp."
                  (when-buffer-window
                   (mapcar
                    (jsonrpc-lambda (&key range _kind _role)
-                     (pcase-let ((`(,beg ,end)
+                     (pcase-let ((`(,beg . ,end)
                                   (eglot--range-region range)))
                        (let ((ov (make-overlay beg end)))
                          (overlay-put ov 'face 'highlight)

Reply via email to