parinfer-rust
parinfer-rust copied to clipboard
"forceBalance" behaves differently in rust port
(foo [:bar|])
Press <Enter>.
JavaScript:
(foo [:bar])
|
Rust (the same as without "forceBalance"):
(foo [:bar
|])
Similarly, after hitting enter - I'm unable to use backspace to delete empty space or return to previous line because the temporary 'forceBalance' function refuses to be out of balance. I would personally prefer the JavaScript behavior where parens are only moved down when there are characters to be wrapped - currently it focuses too much on the cursor IMHO
@cbcoutinho Hopefully, once I get forceBalance working, this will be resolved. But will check again then.