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

Indent: broken with indent when used in sigil #442

Open
jbodah opened this issue Aug 2, 2018 · 5 comments
Open

Indent: broken with indent when used in sigil #442

jbodah opened this issue Aug 2, 2018 · 5 comments

Comments

@jbodah
Copy link
Collaborator

jbodah commented Aug 2, 2018

Originally found here: #385 (comment)

Actual

r = ~r"with"
           waaaaaaa

Expected

r = ~r"with"
waaaaaaa
@eaguilera23
Copy link

This is also broken without sigil. With plain with expression indent is broken.

@jbodah
Copy link
Collaborator Author

jbodah commented Aug 8, 2018

@eaguilera23 do you have an example?

@eaguilera23
Copy link

Problem

After typing 1+1 and hitting Enter, it goes far away

with {:ok, no_working} <- function(),
     true <- hi do
       1 = 1
                  2+3
end

Expected

with {:ok, no_working} <- function(),
     true <- hi do
       1 = 1
       2 + 3
end

@jbodah
Copy link
Collaborator Author

jbodah commented Aug 8, 2018

Could you verify that you're updated to HEAD? The 1 = 1 line should be indented only one tabstop on HEAD to comply with mix format

@eaguilera23
Copy link

Totally my fault. Sorry, it works. I should make a script to update my plugins automatically.

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

Successfully merging a pull request may close this issue.

2 participants