Fork me on GitHub
#cider
<
2020-07-29
>
Mitch12:07:55

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

zane15:07:29

Yes. You could set cider-clojure-cli-global-options.

zane15:07:42

If you wanted different options per-project you could use .dir-locals.

Mitch18:07:17

right, thanks. I wasn't thinking that it would be over-written if my project had a .dir-locals

zane19:07:14

You’re welcome! The docs have a section on this: https://docs.cider.mx/cider/config/project_config.html