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:
parent
15432cf9d2
commit
7d8b7b4fc2
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@
|
||||||
(add-hook! 'cider-mode-hook
|
(add-hook! 'cider-mode-hook
|
||||||
(defun +clojure--cider-disable-completion ()
|
(defun +clojure--cider-disable-completion ()
|
||||||
"Use lsp completion instead of cider."
|
"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*
|
;; 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
|
;; rather than the *cider-repl* buffer. How silly. We might want to see that
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue