Fork me on GitHub
#emacs
<
2021-09-12
>
jaide16:09:32

Is there a variable clojure-mode uses to point to the source paths? I've added src/client to my source paths but ever ytime I create a file, it prefixes the auto-generated ns with client.* when that should not be there.

ericdallo16:09:14

this is done by clj-refactor , I'm not sure though how to change that, only disable it :/

ericdallo16:09:33

if you are using clojure-lsp , you can disable that and use from clojure-lsp if you want

ericdallo16:09:02

more details https://emacs-lsp.github.io/lsp-mode/tutorials/clojure-guide/#refactorings, check `Conflict with clj-refactor when creating new files`

yuhan08:09:03

check out the function cider-expected-ns