Incorrect active_signature
count when displaying signature help
#47
Labels
bug
Something isn't working
active_signature
count when displaying signature help
#47
Describe the bug
ELP sends an incorrect
active_signature
count when displaying signature help.According to helix-editor/helix#11269 it's an off-by-one error.
To Reproduce
Write a self-recursive function where the call has the same number of arguments as the function of that name that takes the most parameters, writing the arguments inside already-complete parentheses. A crash, at least in Helix, only occurs modifying the final argument to a function call when all other arguments are supplied.
i.e.
Expected behavior
An correct active signature count is sent by
elp
.Actual behavior
An incorrect active signature count is sent by
elp
.Context
elp version
): elp 1.1.0+build-2024-07-16The text was updated successfully, but these errors were encountered: