Closed fbearoff closed 1 year ago
When you have a chance, could you add a spec for the other direction of each toggle?
No prob, in there now
Had to write a custom function to return the arguments of a function call. This is my real first piece of lua code, not sure my approach is the cleanest or most efficient. Tried to mirror the style of the ruby and python custom actions as much as possible.
Hey! Looks pretty reasonable. I don't use R, so I'll take your word for it that this is working as desired. Thanks for the contribution :)
This adds preliminary support for multiline toggle in R for function definition formal parameters and argument lists. Marking as draft as I can not figure out how to get the first argument to start on a newline, as the "arguments" node does not include the surrounding parenthesis, unlike the "formal_parameters" node.
Ideally this is how it would function