Fork me on GitHub
#cider
<
2018-07-06
>
dpsutton01:07:34

@doglooksgood i have an issue at https://github.com/clojure-emacs/cider/issues/2375 . very simple fix if you want it as well. and thoughts for the future

dpsutton01:07:13

and i'm just now realizing i didn't follow your concern in "also, will it affect the ns generation?"

doglooksgood09:07:07

In some cases, we I create a new .clj file, it will not automatically insert the ns form. I haven't ran into this issue in the previous version of cider. but I'm not sure about the reason.

manuel09:07:51

@doglooksgood I use clj-refactor, and by setting cljr-add-ns-to-blank-clj-files to t I get automatic insertion of ns forms.

doglooksgood11:07:21

yes, but when I upgrade cider, this not works anymore. I'm not sure why.

manuel12:07:39

just tried with latest cider from melpa and it's still working for me. Maybe you could open an issue on github detailing the steps to reproduce the problem?

bozhidar20:07:02

> In some cases, we I create a new .clj file, it will not automatically insert the ns form. I haven’t ran into this issue in the previous version of cider. but I’m not sure about the reason.

bozhidar20:07:56

I guess I should finally move this to clojure-mode, as there’s no reason for it to rely on CIDER. However, nothing has been changed in the single CIDER function it relies on recently (`cider-expected-ns`).

jumblemuddle23:07:04

Is there a good way to add indentation metadata to code I don't control? https://cider.readthedocs.io/en/latest/indent_spec/

arrdem23:07:44

It’s not ideal but you can alter-meta!

jumblemuddle23:07:35

@arrdem Oh, nice. I didn't know about that.

arrdem23:07:29

Doing the alter-meta! thing is super janky, but nobody’s put together indents file support for CIDER yet. PRs accepted as usual 😕 (this is snarking at the fact that I care about this but don’t have spare cycles to do it myself)