eraserhd / parinfer-rust

A Rust port of parinfer.
ISC License
546 stars 42 forks source link

pressing ret after a comment seems to forcibly and incorrectly nest code below it within emacs #130

Open jlowry03 opened 2 years ago

jlowry03 commented 2 years ago

Version

0.4.4-beta

Expected Behaviour

where [x] is the cursor

;;[x]
(foo)
(bar)
(baz)

->

;;
;;[x]
(foo)
(bar)
(baz)

Actual Behaviour

;;
;;[x]
(foo)
(bar)
(baz)

->

;;
;;[x]
(foo
 (bar
  (baz)))

This may be related to #128, but I'm not entirely sure on that front. I might make an asciicast/script(1) of the issue and send it later.