File tree Expand file tree Collapse file tree 3 files changed +11
-1
lines changed
Expand file tree Collapse file tree 3 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 5959(parameters "," @delete . ")" (#single_line_only!))
6060
6161; MULTI-LINE ARGUMENTS (in function calls)
62- (arguments "," @append_hardline (#multi_line_only!))
62+ (arguments "," @append_hardline . (comment)? @do_nothing (#multi_line_only!))
6363; uncomment for double indentation in multiline function calls
6464; (arguments (_) @prepend_indent_start @append_indent_end )
6565(arguments
Original file line number Diff line number Diff line change @@ -62,4 +62,9 @@ func foo(): # func comment
6262 var lam = func (): # lambda comment
6363 pass
6464
65+ bar (
66+ a , # function call inline comment
67+ b ,
68+ )
69+
6570 return # function trailing comment at end
Original file line number Diff line number Diff line change @@ -59,4 +59,9 @@ func foo(): # func comment
5959 var lam = func (): # lambda comment
6060 pass
6161
62+ bar (
63+ a , # function call inline comment
64+ b ,
65+ )
66+
6267 return # function trailing comment at end
You can’t perform that action at this time.
0 commit comments