-
-
Notifications
You must be signed in to change notification settings - Fork 247
Closed
Description
(clojure-expected-ns)
returns the wrong ns if you organize project.clj with :source-paths ["src/server" "src/client" "src/common"]. clojure-expected-ns
just chops off the "src/" from the path and makes a ns out of the rest, so it adds an extra e.g. "server." prefix.
It already special-cases "src/clj" and "src/cljs" via a regexp. What if we just made that regexp a defcustom for people who organize their project with custom source-paths?
If that's the right fix, I'd be happy to take a stab at a PR. If there's a better way, I'd love to hear it!
Metadata
Metadata
Assignees
Labels
No labels