Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force "<-" alignment #529

Closed
Banana1530 opened this issue Jul 6, 2019 · 1 comment
Closed

Force "<-" alignment #529

Banana1530 opened this issue Jul 6, 2019 · 1 comment

Comments

@Banana1530
Copy link

Banana1530 commented Jul 6, 2019

Hi, align assignments seems a pretty natural desire but I haven't found how to set it so far. If such functionality exists, it would be great if someone could point it out. Thank you!

What I want is

before styling

a <- 1
aa <- 1
aaaa <- 1

after styling

a    <- 1
aa   <- 1
aaaa <- 1
@lorenzwalthert
Copy link
Collaborator

It's not currently possible to

  • keep alignment if it is already there.
  • force alignment if it is not there.

I doubt we'll ever support the second (which is the example you gave above), but there are efforts to keep the alignment if it is there already in the first place. Check #258. I think we can close this in favor of this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants