diff options
-rw-r--r-- | tag-emacs/emacs.d/Cask | 2 | ||||
-rw-r--r-- | tag-emacs/emacs.d/init.el | 14 |
2 files changed, 16 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask index d0c5df48..6504e366 100644 --- a/tag-emacs/emacs.d/Cask +++ b/tag-emacs/emacs.d/Cask @@ -12,6 +12,8 @@ (depends-on "bind-key") (depends-on "cask") (depends-on "cedit") +(depends-on "cider") +(depends-on "clojure-mode") (depends-on "company") (depends-on "company-go") (depends-on "deferred") diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 4fc9a70a..a51e7c71 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1174,6 +1174,20 @@ mouse-1: Display Line and Column Mode Menu")))))) run-geiser run-racket)) +(req-package clojure-mode + :defer t + :init (progn + (add-hook 'cider-repl-mode-hook (lambda () (highlight-changes-mode -1))) + (add-hook 'clojure-mode-hook #'ap/lisp-setup))) + +(req-package cider + :require clojure-mode + :defer t + :config (progn + (setq nrepl-hide-special-buffers t) + (add-hook 'cider-mode-hook #'cider-turn-on-eldoc-mode) + (add-hook 'cider-repl-mode-hook #'paredit-mode))) + (req-package redshank :diminish " Λ" :defer t |