简体   繁体   中英

How to add ending paren to a clojure form when using emacs with paredit?

I have the following form:

(defn common [title & body]
  (h/html5
  [:body
    [:div
  ]))

The problem is that I have a missing ] at the end of the hiccup template and If I press ] emacs does not add the missing ] instead it just behaves like I pressed Ctrl+f. I know that this is because of paredit but I can't seem to find out how to add the missing ] and this is starting to drive me crazy.

How can I add the missing paren when I'm using emacs with paredit?

括号前的Cqquoted-insert )应该可以工作。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM