You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started by writing my own plugin for BlockVar adding a group and a couple breakable_emptys, which works and produces output that conforms with line length:
Blocks with a long list of vars doesn't get split. Eg:
isn't changed when run through
stree format
.I started by writing my own plugin for
BlockVar
adding agroup
and a couplebreakable_empty
s, which works and produces output that conforms with line length:The plugin has an issue though with blocks passed to methods with their own long list of args. In its current state,
syntax_tree
formats it like this:With the plugin I wrote, that ends up being formatted as
presumably because the block var groups are the outermost, and therefore get split first.
Is there a way to tell
syntax_tree
to break the method call before breaking the block vars?The text was updated successfully, but these errors were encountered: