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

Closing parenthesis indented on the same level as opening parenthesis #364

Open
brianxk opened this issue Apr 17, 2023 · 1 comment
Open

Comments

@brianxk
Copy link

brianxk commented Apr 17, 2023

Language: Rust

let a = 1;
let b = 2;

println!("{} {}", a, b|);

Pressing <CR> at | results in:

println!("{} {}", a, b
         |);

However I would like it to result in:

println!("{} {}", a, b
|);

Is this possible?

Thank you

@LunarWatcher
Copy link

This plugin isn't a formatter. You'll have to tweak settings in Vim (realistically via :h cino), or possibly get a better formatter

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

2 participants