In vim, by writing lisp / clojure code, how to properly indent in let?

In vim, my let statement bindings are not properly indented. I get the following:

 (let [language :clojure editor :vim] "indentation problems") 

I would like to have an editor aligned with language , for example:

 (let [language :clojure editor :vim] "indentation problems") 

What should I do?

+4
source share
1 answer

Since I am the author of the plugin mentioned in the comment from @ edd-steel, I can confirm that it does what you need.

+7
source

Source: https://habr.com/ru/post/1398126/


All Articles