about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-lsp.el7
1 files changed, 0 insertions, 7 deletions
diff --git a/.emacs.d/lisp/init-lsp.el b/.emacs.d/lisp/init-lsp.el
index ff4b4ee..a66cf28 100644
--- a/.emacs.d/lisp/init-lsp.el
+++ b/.emacs.d/lisp/init-lsp.el
@@ -23,17 +23,10 @@
   :hook
   (clojure-mode . lsp)
   (lsp-lens-mode . really-diminish-lsp-lens-mode)
-  (lsp-mode . xref-prefer-cider)
   :config
   (defun really-diminish-lsp-lens-mode ()
     (diminish 'lsp-lens-mode)
     (remove-hook 'lsp-lens-mode-hook 'really-diminish-lsp-lens-mode))
-  (defun xref-prefer-cider ()
-    (when (and lsp-mode
-               (eq 'lsp--xref-backend (car xref-backend-functions))
-               (memq 'cider--xref-backend xref-backend-functions))
-      (remove-hook 'xref-backend-functions 'cider--xref-backend 'local)
-      (add-hook 'xref-backend-functions 'cider--xref-backend nil 'local)))
   (if (eq system-type 'darwin)
       (setq lsp-keymap-prefix "s-l")
     (setq lsp-keymap-prefix "C-c C-l"))