jacktasia/dumb-jump

Path names are long in results name (For external files)

gopar opened this issue · 0 comments

gopar commented

I took a quick glance at the code and from what I could tell, it should be shortening paths to the root of that project. See image:
Screen Shot 2021-12-29 at 10 12 52 PM

Ideally, results for external files shuold be the same as current project files (root/path/to/file instead of /root/user/home/etc/... like above.

Is there a setting i'm missing?
Here is my config:

(use-package dumb-jump
  :defer t
  :ensure t
  :custom
  (dumb-jump-prefer-searcher 'ag)
  (dumb-jump-force-searcher 'ag)
  (dumb-jump-selector 'helm)
  :init
  (add-hook 'xref-backend-functions #'dumb-jump-xref-activate))

GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95)) of 2021-03-27

PS.
THANK YOU FOR THIS PACKAGE. This was the only thing I missed from an ide :)