about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2024-09-26 08:58:39 +0100
committerDavid Morgan <djm_uk@protonmail.com>2024-09-26 08:58:39 +0100
commit07fe791eea932eebfb765a10c5dfd218d9950501 (patch)
treea8b39be187302c078681b80ada3bb15a479066b5 /.emacs.d
parent9355affb7d51e11cabb2903ad95ee54ad889a493 (diff)
downloaddotfiles-07fe791eea932eebfb765a10c5dfd218d9950501.tar.gz
Revert "Remove dumb-jump"
This reverts commit 83b22f50622de5a13d027528bf5ec6e0b5592fd5.
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-navigation.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-navigation.el b/.emacs.d/lisp/init-navigation.el
index 2c46c6c..0ad8d0d 100644
--- a/.emacs.d/lisp/init-navigation.el
+++ b/.emacs.d/lisp/init-navigation.el
@@ -119,5 +119,10 @@ Or remove all highlighted symbols in the current buffer (with`ARG')."
   ("C-c C-l" . link-hint-open-link)
   ("C-c C-S-l" . link-hint-copy-link))
 
+(use-package dumb-jump
+  :defer 5
+  :custom (dumb-jump-force-searcher 'rg)
+  :config (add-hook 'xref-backend-functions #'dumb-jump-xref-activate))
+
 (provide 'init-navigation)
 ;;; init-navigation.el ends here