eraserhd / parinfer-rust

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

Clojure letfn with comment slurps the entire body below it #97

Open pangloss opened 3 years ago

pangloss commented 3 years ago

The following snippet causes the entire body to be slurped into the when statement within the letfn when you try to add a newline after the comment.

(letfn [(x []
          ;; In insert mode, press enter after this line: 
          (when nil
            nil))]
  nil)