Add special indent for clojure (match) macro
This commit is contained in:
parent
b3c7e6b9e7
commit
f6670386e9
@ -3217,9 +3217,9 @@ Start with clojure-mode:
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package clojure-mode
|
||||
:mode (("\\.clj\\'" . clojure-mode)
|
||||
("\\.cljs\\'" . clojurescript-mode)
|
||||
("\\.cljc\\'" . clojurec-mode)
|
||||
("\\.edn\\'" . clojure-mode))
|
||||
("\\.cljs\\'" . clojurescript-mode)
|
||||
("\\.cljc\\'" . clojurec-mode)
|
||||
("\\.edn\\'" . clojure-mode))
|
||||
:config
|
||||
(define-clojure-indent
|
||||
(defroutes 'defun)
|
||||
@ -3235,7 +3235,8 @@ Start with clojure-mode:
|
||||
(let-routes 1)
|
||||
(context 2)
|
||||
(:= 3)
|
||||
(:+ 3)))
|
||||
(:+ 3)
|
||||
(match 1)))
|
||||
#+END_SRC
|
||||
|
||||
Add flycheck support:
|
||||
|
Loading…
Reference in New Issue
Block a user