forked from colonelpanic/dotfiles
Indent 'describe and 'it appropriately in clojure
This commit is contained in:
parent
ab95dd07a4
commit
2ac63dbf46
@ -2657,9 +2657,13 @@ The following is taken from [[https://github.com/syl20bnr/spacemacs/blob/a650877
|
|||||||
;; (cljr-add-keybindings-with-prefix "C-c C-m")
|
;; (cljr-add-keybindings-with-prefix "C-c C-m")
|
||||||
(clj-refactor-mode 1)
|
(clj-refactor-mode 1)
|
||||||
;;for adding require/use/import statements
|
;;for adding require/use/import statements
|
||||||
(yas-minor-mode 1)))
|
(yas-minor-mode 1))
|
||||||
|
(defvar imalison:clojure-level-1-symobls
|
||||||
|
'(describe it)))
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
|
(cl-loop for symbol in imalison:clojure-level-1-symobls
|
||||||
|
do (put-clojure-indent symbol 1))
|
||||||
(add-hook 'clojure-mode-hook 'imalison:clojure-mode-hook)
|
(add-hook 'clojure-mode-hook 'imalison:clojure-mode-hook)
|
||||||
(dolist (m '(clojure-mode clojurescript-mode clojurec-mode clojurex-mode))
|
(dolist (m '(clojure-mode clojurescript-mode clojurec-mode clojurex-mode))
|
||||||
(imalison:clojure-fancify-symbols m))))
|
(imalison:clojure-fancify-symbols m))))
|
||||||
|
Loading…
Reference in New Issue
Block a user