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
Should this be a separate option or go under strict? I suggest creating a new argument math_token_spacing that takes a list that has two lists in it: One containing the tokens where we want 1 space before/after it and one that contains the tokens that should have no spacing before/after them. We can use a helper function to create this list like that
Activity
krlmlr commentedon Jul 25, 2017
Reference: https://github.com/krlmlr/styler/pull/79#discussion_r129096510
lorenzwalthert commentedon Sep 24, 2017
Should this be a separate option or go under strict? I suggest creating a new argument
math_token_spacingthat takes a list that has two lists in it: One containing the tokens where we want1space before/after it and one that contains the tokens that should have no spacing before/after them. We can use a helper function to create this list like thatTokens that are not mentioned in
zerooronewill have space around it, since that the tidyverse style guide encourages.lorenzwalthert commentedon Sep 24, 2017
Note that the proposed API is similar to the one proposed in #217 where we have
reindention = specify_reindention(...)lorenzwalthert commentedon Oct 8, 2017
Closed with #221.