]> git.eshelyaron.com Git - emacs.git/commitdiff
Eglot: fix eglot--sig-info
authorJoão Távora <joaotavora@gmail.com>
Mon, 10 Jul 2023 12:09:48 +0000 (13:09 +0100)
committerJoão Távora <joaotavora@gmail.com>
Mon, 10 Jul 2023 12:09:48 +0000 (13:09 +0100)
See https://github.com/joaotavora/eglot/issues/1253

* lisp/progmodes/eglot.el (eglot--sig-info): Fix.

lisp/progmodes/eglot.el

index f09c348143ddcefc87729c2d6a00278ccb8bc8f5..95e9a30a37206e5f093a83fbfa674bb70a1099cd 100644 (file)
@@ -3216,7 +3216,7 @@ for which LSP on-type-formatting should be requested."
            (add-face-text-property (point-min) (point)
                                    'font-lock-function-name-face))
          ;; ...perhaps highlight it in the formals list
-         (when (= i active-param)
+         (when (eq i active-param)
            (save-excursion
              (goto-char (point-min))
              (pcase-let