Fork me on GitHub
#cursive
<
2015-09-03
>
Pablo Fernandez12:09:54

I just created a lein plug in, opened with cursive, and the indentation seems all wrong: http://i.imgur.com/TY7gcFP.png Any ideas what’s going on here?

cfleming16:09:01

@pupeno: The problem looks like your project has no Clojure jar attached

Pablo Fernandez16:09:39

cfleming: in lein plugins you are not supposed to specify clojure as a dependency. Might that be it?

cfleming16:09:08

Yes, could be - I’ve never attempted to make a lein plugin in Cursive.

cfleming16:09:24

You could manually attach a Clojure jar to your project.

cfleming17:09:49

Project Structure->Modules->(your module)->Dependencies->+->Jars or directories and select a Clojure jar somewhere, for example in your .m2

Pablo Fernandez21:09:13

cfleming: it worked, thank you.