tools/lookup: stop prompting for TAGS file

This commit is contained in:
Henrik Lissner 2019-04-30 15:11:23 -04:00
parent 6b21e31df6
commit ed5d27eee7
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -93,9 +93,10 @@ argument: the identifier at point.")
;; ;;
;;; xref ;;; xref
;; By default, `etags--xref-backend' is the default xref backend. No need. We'll (after! xref
;; set these up ourselves in other modules. ;; We already have `projectile-find-tag' and `evil-jump-to-tag', no need for
(setq-default xref-backend-functions '(t)) ;; xref to be one too.
(remove-hook 'xref-backend-functions #'etags--xref-backend))
;; Use `better-jumper' instead of xref's marker stack ;; Use `better-jumper' instead of xref's marker stack
(advice-add #'xref-push-marker-stack :around #'doom*set-jump) (advice-add #'xref-push-marker-stack :around #'doom*set-jump)