diff options
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 20 |
1 files changed, 11 insertions, 9 deletions
@@ -2444,7 +2444,6 @@ (use-package cider :ensure t :commands cider-mode - ;; :pin melpa-stable :init (setq cider-annotate-completion-candidates t cider-auto-select-error-buffer nil clojure-docstring-fill-column 72 @@ -2463,15 +2462,18 @@ cider-eldoc-display-for-symbol-at-point t eldoc-echo-area-use-multiline-p nil nrepl-prompt-to-kill-server-buffer-on-quit nil) + + (defun jao-cider--tabs-workaround () (setq-local tab-always-indent t)) + :hook ((cider-mode . cider-company-enable-fuzzy-completion) - (cider-mode . cider-eldoc-setup))) - - (eval-after-load "cider-test" - '(progn - (advice-add 'cider-scale-background-color :override - (lambda () (frame-parameter nil 'background-color))) - (setq cider-test-items-background-color - (frame-parameter nil 'background-color)))) + (cider-mode . cider-eldoc-setup) + (cider-mode . jao-cider--tabs-workaround))) + + (with-eval-after-load "cider-test" + (advice-add 'cider-scale-background-color :override + (lambda () (frame-parameter nil 'background-color))) + (setq cider-test-items-background-color + (frame-parameter nil 'background-color))) (use-package cider-macroexpansion :after cider |