Subject: Re: bug#74914: 30.0.90; Eglot: Incorrect parameter highlighted in signatureHelp

From: Troy Brown <[email-masked]>
Date: Sat, 4 Jan 2025 21:20:42 -0500

On Sat, Dec 28, 2024 at 10:22 PM Dmitry Gutov <[email-masked]> wrote:
>
> So, does this fix the problem for you?
>
> diff --git a/lisp/progmodes/eglot.el b/lisp/progmodes/eglot.el
> index 816a1e67eca..51c19d5681a 100644
> --- a/lisp/progmodes/eglot.el
> +++ b/lisp/progmodes/eglot.el
> @@ -3416,7 +3416,7 @@ eglot--sig-info
>                                          '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))
>

I'm not sure how the diff was created, as I couldn't get it to apply
cleanly, but yes, this change does fix the issue.