rust-lang / rust-mode

Emacs configuration for Rust
Apache License 2.0
1.11k stars 179 forks source link

Indentation issue #508

Closed jlhg closed 7 months ago

jlhg commented 9 months ago

After running cargo fmt, the indentation was fixed:

image

psibi commented 7 months ago

Can you check if it works with tree sitter mode: https://github.com/rust-lang/rust-mode?tab=readme-ov-file#tree-sitter ?

The test project I have seems to be indenting fine with a sqlx query that I have. When I start typing in the next line, it indents properly for me.

jlhg commented 7 months ago

The indentation was fixed with the new native treesitter mode. Thanks.

psibi commented 7 months ago

Thanks for the confirmation!