Fork me on GitHub
#lsp
<
2023-06-15
>
Noah Bogart16:06:09

I have a couple of dev functions in dev/user.clj which is in the classpath when doing dev work. i can type (user/decompile ...) to quickly eval something inline, but clojure-lsp doesn't surface any of the function definition info unless i also write (require '[user]) above. would it be possible to treat user as globally required?

2
borkdude16:06:50

You can configure this using {:linters {:unresolved-namespace {:exclude [user]}}}

Noah Bogart16:06:46

ayyyy that's great, thank you