Fork me on GitHub
#spacemacs
<
2017-02-23
>
mahinshaw18:02:35

I was able to fix the issue with the following -> ((nil . ((eval . (setq cider-cljs-lein-repl “(start-figwheel)”)))))

mahinshaw18:02:03

Boot would be a great option too, however, my team is using lein ...

PB18:02:15

Does anyone here have their spacemacs configured for clj and another language?

kenbier18:02:36

anyone know a way to format a map with clj-refactor or other commands in the clojure layer?

kenbier18:02:59

i have a map {:a 1 :b 2} and i want to turn it into:

kenbier18:02:02

{:a 1
 :b 2}

PB18:02:12

@kenbier M-f + M-f + C-f + C-j? 😛

kenbier18:02:37

petr: @U08UTJ5PB im using evil mode. what command are you trying to run there?

PB18:02:11

M-f is the equivalent of w in evil 😛

kenbier18:02:52

@U08UTJ5PB ohh lol thats not gonna work

kenbier18:02:01

i need this to extend to a map of n pairs

practicalli-johnny13:02:31

You could try pretty print the map and use a narrow margin. Then you just have to copy the pretty print map back into your .clj file - not ideal, but better than manual. See: http://stackoverflow.com/questions/4020186/how-can-i-format-a-map-over-several-lines-with-pprint