-
Notifications
You must be signed in to change notification settings - Fork 1
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-LSP doesn't seem to find broch.core/meters
#7
Comments
If you don't have any immediate ideas, asking in #lsp on Slack might be a good plan B. |
Hi @teodorlu I think this is because the quantitity functions are defined with a special macro But luckily your timing couldn't be better, because I've actually just changed this to use the regular You can use the latest git sha if you like, or just wait until the next release. (which I plan to do today!) |
Oh, amazing! I realize that a source of my confusion was that I was:
Thanks for making this, and thanks for supporting static analysis! Looking forward to the release. |
Hi!
My clojure-lsp setup doesn't seem to be able to find the definition for
broch.core/meters
(and more) variables.broch.core/meters
works perfectly in the REPL. Andbroch.core/meters
looks like a normal def, so I'd expect this to just work.This is what I'm seeing, lint error for
broch.core/meters
and no completion formeters
(but completion for other symbols!).Broch version:
Screenshots were produced with this LSP+clj-kondo version:
(up-to-date versions provided by Doom Emacs
(clojure +lsp)
as of 2023-10-19).For all that I can see, this is more likely to indicate an issue in Clojure-LSP than broch. But I thought I'd ask if you guys have any ideas first -- because you know the broch codebase.
I think it's weird that some vars (like
b/*
ogb/max
) were found without issues, whereas other vars (likeb/meters
) were not found. Perhaps a first step is to try reproduce the issue.Teodor
The text was updated successfully, but these errors were encountered: