Skip to content

Commit 730aa22

Browse files
committed
wip
1 parent c67363a commit 730aa22

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/ruby_lsp/listeners/signature_help.rb

+1
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def on_call_node_enter(node)
5757

5858
arguments_node = node.arguments
5959
arguments = arguments_node&.arguments || []
60+
# TODO: figure this out to select the correct sig
6061
active_parameter = (arguments.length - 1).clamp(0, first_sig.parameters.length - 1)
6162

6263
# 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

Comments
 (0)