We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c67363a commit 730aa22Copy full SHA for 730aa22
lib/ruby_lsp/listeners/signature_help.rb
@@ -57,6 +57,7 @@ def on_call_node_enter(node)
57
58
arguments_node = node.arguments
59
arguments = arguments_node&.arguments || []
60
+ # TODO: figure this out to select the correct sig
61
active_parameter = (arguments.length - 1).clamp(0, first_sig.parameters.length - 1)
62
63
# If there are arguments, then we need to check if there's a trailing comma after the end of the last argument
0 commit comments