-
Notifications
You must be signed in to change notification settings - Fork 151
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clojure predicates not recognized correctly #168
Comments
This probably simply requires setting |
Thanks for the report! I think there's a few things going on in this case. I think what you said is correct, but I also think that I'll try to look into this further later today (or this week). If you could try setting |
So I have a build.boot file with:
I thought maybe it's a problem with |
Maybe it's also worth reviewing how
Do you think it would be possible to make it more intelligent? So it would take to Or that's way too much work? |
@agzam Thanks for the debug output! I'll definitely fix things so
It's certainly possible.
For me, yes. In my opinion this would make dumb-jump no longer "dumb" and require a pretty big re-write for how things are currently done. The idea for dumb-jump is to "just work" most of the time, but not to give any one language too much special treatment. If you need this level of accuracy for clojure I'd recommend using https://github.com/clojure-emacs/cider |
well, here's the thing: syl20bnr/spacemacs#9792 I wish there was something lightweight, maybe based on Lumo, that would help navigating Clojure/script projects. Until then dumb-jump is a good alternative |
@agzam The version of dumb jump now available in MELPA should fix the issue you described here with the |
@jacktasia kudos for fixing it so quickly! I will definitely test it out later today. Should I expect these changes to be on MELPA or should I grab the package from GH? |
No problem!
Awesome, thank you!
It looks like MELPA already has the changes so you should just have to update via Emacs (and maybe restart) |
@jacktasia I just have tried, I think it works correctly now! Thank you very much! |
Awesome! Thanks for letting me know! |
…acktasia#168 * improve support for ? in lisp function names
It seems when you have:
(defn dev? ...)
and(defn dev ...)
- which are clearly two different functions, and if the cursor atdev
,dumb-jump-go
would prefer to jump to(defn dev?)
- the wrong one.That I guess happens because
dev?
is at the top of the file, anddev
is declared few lines later. Neverthelessdumb-jump
should not seedev
anddev?
as equal symbols.The text was updated successfully, but these errors were encountered: