diff options
author | David Morgan <djm_uk@protonmail.com> | 2021-07-03 21:02:12 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2021-07-03 21:02:12 +0100 |
commit | 3fbaf487183e7b7e3785628ab8ed6290ddd94fd7 (patch) | |
tree | 10c7e584e5b1e054dea84dd4d8fa8c397f0a1519 /emacs-prelude/personal/lisp/init-clojure.el | |
parent | b5e8c2052c43e9865aad35380ff0b36cabae19d2 (diff) | |
download | dotfiles-3fbaf487183e7b7e3785628ab8ed6290ddd94fd7.tar.gz |
Update emacs prelude config
Diffstat (limited to 'emacs-prelude/personal/lisp/init-clojure.el')
-rw-r--r-- | emacs-prelude/personal/lisp/init-clojure.el | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/emacs-prelude/personal/lisp/init-clojure.el b/emacs-prelude/personal/lisp/init-clojure.el index 174dffd..191eae2 100644 --- a/emacs-prelude/personal/lisp/init-clojure.el +++ b/emacs-prelude/personal/lisp/init-clojure.el @@ -2,7 +2,7 @@ (prelude-require-package 'yasnippet) (use-package yasnippet - :diminish yas) + :diminish yas-minor-mode) (prelude-require-package 'flycheck-clj-kondo) (use-package clojure-mode @@ -12,6 +12,7 @@ (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") @@ -23,13 +24,18 @@ (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-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 + clojure-toplevel-inside-comment-form t) + (key-chord-define-global "??" 'cider-xref-fn-refs-select) + (key-chord-define-global "qq" 'cider-xref-fn-refs)) (provide 'init-clojure) |