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

Emacs: rust-indent-method-chains indents beginning of line oddly #21650

Closed
ProjectMoon opened this issue Jan 26, 2015 · 2 comments
Closed

Emacs: rust-indent-method-chains indents beginning of line oddly #21650

ProjectMoon opened this issue Jan 26, 2015 · 2 comments

Comments

@ProjectMoon
Copy link

Trying out rust-mode in emacs, and set rust-indent-method-chains because I like me some aligned dots.

It does what it advertises, but for some reason shoves the beginning of the line (and thus the lines underneath it) over one more tab.

I'm using spaces for tabs, configured to width 4.

What I expect:

let x = thing.do_it()
             .aligned()
             .more_alignment();

What I get:

    let x = thing.do_it()
                 .aligned()
                 .more_alignment();

I am using el-get to install rust-mode so it should be pulling off the latest master.

@huonw
Copy link
Member

huonw commented Feb 2, 2015

cc #8793

@steveklabnik
Copy link
Member

Moved to rust-lang/rust-mode#13

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

No branches or pull requests

4 participants