mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(clojure): adjust buffer-local hook, not global
Though the global side-effect likely had no effect, it's better that our hacks don't overstep their bounds.
This commit is contained in:
@ -87,7 +87,7 @@
|
||||
(add-hook! 'cider-mode-hook
|
||||
(defun +clojure--cider-disable-completion ()
|
||||
"Use lsp completion instead of cider."
|
||||
(remove-hook 'completion-at-point-functions #'cider-complete-at-point))))
|
||||
(remove-hook 'completion-at-point-functions #'cider-complete-at-point t))))
|
||||
|
||||
;; Error messages emitted from CIDER is silently funneled into *nrepl-server*
|
||||
;; rather than the *cider-repl* buffer. How silly. We might want to see that
|
||||
|
Reference in New Issue
Block a user