]> git.eshelyaron.com Git - emacs.git/commitdiff
Eglot: fix signature precedence based on provenance (bug#74914)
authorJoão Távora <joaotavora@gmail.com>
Sun, 5 Jan 2025 20:39:51 +0000 (20:39 +0000)
committerEshel Yaron <me@eshelyaron.com>
Wed, 8 Jan 2025 08:35:07 +0000 (09:35 +0100)
* lisp/progmodes/eglot.el (eglot--sig-info): Reverse order of
activeParameter and sig-active.

(cherry picked from commit 04a8faef0948f46b16172855ee337f59819f22a7)

lisp/progmodes/eglot.el

index f2e24498414dbd50f0e5c20ebc89cb3b9eca0b90..48ad8e024dd46eedc750a33b7c46fa648f643761 100644 (file)
@@ -3465,7 +3465,7 @@ for which LSP on-type-formatting should be requested."
                                        'font-lock-function-name-face))))
       ;; Now to the parameters
       (cl-loop
-       with active-param = (or sig-active activeParameter)
+       with active-param = (or activeParameter sig-active)
        for i from 0 for parameter across parameters do
        (eglot--dbind ((ParameterInformation)
                       ((:label parlabel))