Add support for emacs dumb-jump

Allow easy navigation to function definitions in emacs.

The rg (ripgrep) search is needed because as the dumb-jump README says:

   [...] the default searcher (git-grep) won't be able to search
   outside of the project root. This edge case will be fixed in a
   future release.

See: https://github.com/jacktasia/dumb-jump
This commit is contained in:
Adam Spiers 2020-11-02 00:19:21 +00:00
parent 90278f854c
commit c872baba2d
2 changed files with 3 additions and 0 deletions

1
.dir-locals.el Normal file
View file

@ -0,0 +1 @@
((cperl-mode . ((dumb-jump-force-searcher . rg))))

2
.dumbjump Normal file
View file

@ -0,0 +1,2 @@
+bin/*.in
+lib/*.pm.in