diff options
author | David Morgan <djm_uk@protonmail.com> | 2024-10-18 07:52:55 +0100 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2024-10-18 07:52:55 +0100 |
commit | a03615fcd27456910f5db1e523322feb3a14f82e (patch) | |
tree | c50f2ac9d128ec2d00458c998a2f97e1d9acbed5 /.emacs.d/lisp | |
parent | e005caac2e447d7108e962fdaf8c0daea0a09f47 (diff) | |
download | dotfiles-a03615fcd27456910f5db1e523322feb3a14f82e.tar.gz |
Make sure xref settings are not overwritten
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r-- | .emacs.d/lisp/init-editor.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el index d10b384..b748c31 100644 --- a/.emacs.d/lisp/init-editor.el +++ b/.emacs.d/lisp/init-editor.el @@ -163,6 +163,10 @@ (and (featurep 'xref) (unload-feature 'xref t)) ;; Make sure xref-find-definitions doesn't override this embark binding (unless https://github.com/oantolin/embark/issues/732 can be fixed) (bind-key "M-." 'embark-dwim) + ;; Make sure these aren't overwritten + (setq xref-search-program 'ripgrep + xref-show-xrefs-function #'consult-xref + xref-show-definitions-function #'consult-xref) (elpaca--continue-build e)) (defun +elpaca-xref-build-steps () |