Fork me on GitHub
#lsp
<
2023-05-31
>
Noah Bogart18:05:04

I was working on https://github.com/borkdude/edamame earlier and ran into a silly bug where I'd try to go from one namespace to another, and vim (relying on clojure-lsp data) would take me to the jar of my local .m2 copy of edamame. the deps.edn file doesn't have the library, but i have clojure-lsp running separately in a wholly different vim instance in a library that does use edamame. has anyone run into this before?

borkdude18:05:19

I have run into this before yes and also reported a few times. This happened to me with babashka.cli, if you search for that in this channel you might find it

👍 2
ericdallo18:05:10

Not sure I get the issue, but one instance of clojure-lsp has nothing with other in other project, could you explain what you did so I can try to repro?

Noah Bogart18:05:57

well, i can't seem to reproduce it now lol, so forgive me. i'm not entirely sure what I did wrong. but when i called cursor-info on the edamame.impl.parser symbol in the edamame.core namespace declaration, it said it was in reference to the jar and not to the file

ericdallo18:05:06

I can't see how that would work if the classpath string of your project really doesn't have anything pointing to m2 edamame, so interesting issue, LMK if you repro

👍 2