Slimv.vim :: Invalid parentheses for automatic insertion

I am using clojure on MacVim with slimv.vim.

But when I start writing clojure code, my indentation does not look good. It looks like this:

(def a
    (println "hello") 
     )

It bothers me a bit. I want invalid insertion insertion brackets. Do you have any ideas?

Thanks in advance.

+5
source share
2 answers

Arthur has already described ,(. Alternatively, you can disable paredit globally in .vimrc( let g:paredit_mode=0).

, " " ( , ), let g:paredit_electric_return=0. , ) . , ) (println "hello"), , : (println "hello")).

+11

, : " paredit slimv?"

, paredit: http://kovisoft.bitbucket.org/tutorial.html

paredit, ,(

ps: paredit , ,

+1

All Articles