Fork me on GitHub
#conjure
<
2020-09-19
>
Olical11:09:32

Is anyone using figwheel successfully in the browser from Conjure? If you get an error does it continue to run or freeze? @jkrasnay's figwheel dies and completely locks up on error but it's not Conjure, you can get the same thing to happen with the nREPL CLI. If you have a good working figwheel-main through lein setup, please do share!

jkrasnay12:09:48

Thanks for looking at this, @U38J3881W. Truth be told, I’m not sure I’m using figwheel-main in the standard way.

Olical11:09:11

I'm playing with folding results beyond certain line lengths! (configurable and off by default I think) Just a heads up 😄

Olical12:09:08

And it's on develop!

Olical12:09:08

If you want to try result folding, switch over to develop and let g:conjure#log#fold#enabled = v:true, you can configure the amount of lines you need to trigger folding by setting let g:conjure#log#fold#lines = 5 (defaults to 10 or more).

👏 6
orestis15:09:22

Since @we mention folding, what do people use to fold Clojure code? I was using something before but it seems I changed something and it stopped working.

nate17:09:40

I use https://github.com/gberenfield/cljfold.vim, with a vimrc config of:

let g:clojure_foldwords = "def,defn,defmacro,defmethod,defschema,defprotocol,defrecord"

3
nate17:09:55

works really well

harryvederci17:09:25

I don't use code folding that much, but this looks like it might be useful: https://github.com/guns/vim-clojure-static#indent-options

sogaiu22:09:22

ah, is it possible that any of these might work for comment blocks -- as in hiding entire comment blocks?

nate22:09:23

I think that cljsfold might work is you add comment to foldwords

sogaiu01:09:24

i gave it a try. it does fold comment blocks, but it appears to fold other things too even with this:

let g:clojure_foldwords = "comment"
i have comment blocks interleaved with other top-level forms in some of my .clj files and the other top-level forms are also getting folded.