guns / vim-clojure-static

Meikel Brandmeyer's excellent Clojure runtime files
Other
420 stars 50 forks source link

Is it possible to indent let bindings correctly using this plugin? #84

Closed erez-rabih closed 7 years ago

erez-rabih commented 7 years ago

For example, I would like:

(let [x "x"
      why "y"])

To be

(let [x   "x"
      why "y"])
guns commented 7 years ago

Hi @erez-rabih,

No, this is not implemented. This is not considered an indentation issue, but rather one of alignment.

Vim filetype plugins don't do any alignment within lines as far as I am aware, but there are numerous non filetype plugins dedicated to alignment. I don't know of any let forms for Lisp/Clojure, but one might exist.

Good luck!

erez-rabih commented 7 years ago

Thanks for the detailed answer @guns I appreciate it