rksm / paredit.js

Generic reader and editor for s-expressions.
MIT License
107 stars 21 forks source link

Multiline string indentation is not preserved #8

Closed jasongilman closed 8 years ago

jasongilman commented 8 years ago

I'm using the Atom lisp-paredit package which is using 0.2.11 of paredit.js. multiline string indentation is not being reserved when reindenting a block of code. Is that a problem in paredit.js or in the package using it?

It reindents from this:

(defn foo
  "This
       indentation
                   is 
                      good"
  []
  5)

to this:

(defn foo
  "This
  indentation
  is 
  good"
  []
  5)
rksm commented 8 years ago

Thanks, 0.2.12 fixes that

jasongilman commented 8 years ago

Thanks for the quick fix.