KDE & Emacs
This commit is contained in:
1 parent
edcf5dd381
commit
8d688d1107
50 files changed
+2122
-1267
No files matched your search
@@ -0,0 +1,26 @@
|
||||
(use-package cider
|
||||
:ensure t)
|
||||
|
||||
(add-hook 'cider-repl-mode-hook (lambda () (display-line-numbers-mode -1)))
|
||||
(add-hook 'cider-repl-mode-hook #'smartparens-mode)
|
||||
(add-hook 'clojure-mode #'eglot-ensure t)
|
||||
|
||||
(setq-default cider-eldoc-display-for-symbol-at-point nil)
|
||||
|
||||
(defun mu-cider-disable-eldoc ()
|
||||
"Let LSP handle ElDoc instead of CIDER."
|
||||
(remove-hook 'eldoc-documentation-functions #'cider-eldoc t))
|
||||
|
||||
(add-hook 'cider-mode-hook #'mu-cider-disable-eldoc)
|
||||
|
||||
(defun mu-cider-disable-eldoc ()
|
||||
"Let LSP handle ElDoc instead of CIDER."
|
||||
(remove-hook 'eldoc-documentation-functions #'cider-eldoc t))
|
||||
|
||||
(add-hook 'cider-mode-hook #'mu-cider-disable-eldoc)
|
||||
|
||||
(defun mu-cider-disable-completion ()
|
||||
"Let LSP handle completion instead of CIDER."
|
||||
(remove-hook 'completion-at-point-functions #'cider-complete-at-point t))
|
||||
|
||||
(add-hook 'cider-mode-hook #'mu-cider-disable-completion)
|
||||
Reference in new issue
Block a user