eraserhd / parinfer-rust

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

Parinfer does not support S-expression comment? #140

Closed nicball closed 1 year ago

nicball commented 1 year ago

When using #;, parinfer treats it as if it's just ;.

For example, commenting the following code:

(if a
  b
  c)

produces:

#;(if a
  b
  c
nicball commented 1 year ago

I realized that #; is racket specific stuff. Clojure uses #_ for example.

If one intends to use it, here's a workaround:

#;
(if a
  b
  c)