Closed zenspider closed 2 months ago
Spacemacs does pretty minimal configuration for dumb-jump (it just adds integrations for ivy, helm, and xref). I'd suggest filing an issue on that package's repo instead.
OMG what was I smoking when I filed this??? Sorry! So many tabs open.
Without any config, if any project I use that is backed by git, then dumb-jump prefers to use
git grep
to find definitions viadumb-jump-pick-grep-variant
. The problem, in C or ruby or anything else I've tried, is that it doesn't find ANYTHING... 0% hit rate. If I set'(dumb-jump-force-searcher 'rg)
then everything works well. I don't know ifgit grep
regexps are deficient or broken because I find dumb-jump hard to navigate but the problem certainly lies with the searcher. For some reason I can't figure out, it choosesgit-grep
overdumb-jump-prefer-searcher
, so I'm not sure what theprefer
vsforce
distinction is for.I would also suggest that rg be preferred over ag.