about summary refs log tree commit diff stats
path: root/emacs-prelude/personal/lisp/init-clojure.el
diff options
context:
space:
mode:
Diffstat (limited to 'emacs-prelude/personal/lisp/init-clojure.el')
-rw-r--r--emacs-prelude/personal/lisp/init-clojure.el44
1 files changed, 0 insertions, 44 deletions
diff --git a/emacs-prelude/personal/lisp/init-clojure.el b/emacs-prelude/personal/lisp/init-clojure.el
deleted file mode 100644
index a69b632..0000000
--- a/emacs-prelude/personal/lisp/init-clojure.el
+++ /dev/null
@@ -1,44 +0,0 @@
-(require 'init-lisp)
-
-(prelude-require-package 'yasnippet)
-(use-package yasnippet
-  :diminish yas-minor-mode)
-
-(prelude-require-package 'flycheck-clj-kondo)
-(use-package clojure-mode
-  :config
-  (require 'flycheck-clj-kondo))
-
-(prelude-require-package 'clj-refactor)
-(use-package clj-refactor
-  :diminish
-  :after yasnippet
-  :bind ("C-c '" . hydra-cljr-help-menu/body)
-  :config
-  (cljr-add-keybindings-with-prefix "C-c C-m")
-  (setq cljr-suppress-no-project-warning t)
-  :hook
-  (clojure-mode .
-    (lambda ()
-      (clj-refactor-mode 1)
-      (yas-minor-mode 1))))
-
-(use-package cider
-  :diminish
-  :after key-chord
-  :config
-  (setq cider-repl-pop-to-buffer-on-connect 'display-only
-        cider-repl-display-help-banner nil
-        cider-repl-history-highlight-current-entry t
-        cider-repl-history-highlight-inserted-item t
-        cider-repl-use-clojure-font-lock t
-        cider-repl-use-pretty-printing t
-        ;cider-invert-insert-eval-p t
-        ;cider-switch-to-repl-on-insert nil
-        cider-repl-history-file "~/.emacs.d/cider-history"
-        clojure-toplevel-inside-comment-form t)
-  (key-chord-define-global "??" 'cider-xref-fn-refs-select)
-  (key-chord-define-global "qq" 'cider-xref-fn-refs)
-  :hook (cider-repl-mode . (lambda () (display-line-numbers-mode -1))))
-
-(provide 'init-clojure)