In my current project, we try to colocate our tests with our source code, meaning that our namespaces src/clj and src/cljc contain tests and actual code.
In our project.clj we have
:source-paths ["src/clj" "src/cljc"]
:test-paths ["src/clj" "src/cljc" "test/clj" "test/cljc"] ;; also run tests from src files
:resource-paths ["resources" "target/cljsbuild"]
This results in src/clj and src/cljc being marked as test directories.

I can get around this by marking the folders as source directories manually, but that is overwritten every time I import Leiningen changes.
Could this be fixed by having priorities for the different markings, and if Cursive thinks a directory can be marked as both source and test, it would be marked as a source directory?
In my current project, we try to colocate our tests with our source code, meaning that our namespaces
src/cljandsrc/cljccontain tests and actual code.In our project.clj we have
This results in
src/cljandsrc/cljcbeing marked as test directories.I can get around this by marking the folders as source directories manually, but that is overwritten every time I import Leiningen changes.
Could this be fixed by having priorities for the different markings, and if Cursive thinks a directory can be marked as both source and test, it would be marked as a source directory?