abo-abo / lispy

Short and sweet LISP editing
http://oremacs.com/lispy/
1.21k stars 132 forks source link

multiline on a clojure vector #204

Open drorbemet opened 8 years ago

drorbemet commented 8 years ago

Calling special-lispy-alt-multiline with M on a clojure vector like this one:

|[:a :b :c:]

doesn't seem to result in:

|[:a
  :b
  :c]

Although calling lispy-multiline works fine.

sooheon commented 8 years ago

Check out the variable lispy-multiline-threshold.

abo-abo commented 8 years ago

Thanks, @sooheon; lispy-multiline-threshold is needed so that M doesn't add way too many newlines. You can bind it to nil to have a newline added in every place.