Is there a way to set default cli options when you are jacking in without a project? It would be nice to have some choice dependencies loaded in without having to manually prefix cider-jack-in
and include your profiles
Yes. You could set cider-clojure-cli-global-options
.
If you wanted different options per-project you could use .dir-locals
.
right, thanks. I wasn't thinking that it would be over-written if my project had a .dir-locals
You’re welcome! The docs have a section on this: https://docs.cider.mx/cider/config/project_config.html