conjure

:neovim:+:clj: https://github.com/Olical/conjure - If you're enjoying Conjure and want to say thanks: https://github.com/users/Olical/sponsorship :smile: (alt https://conjure.fun/discord)
Olical 2020-09-19T11:31:32.009200Z

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!

Olical 2020-09-19T11:56:11.010Z

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

Olical 2020-09-19T12:36:08.010300Z

And it's on develop!

Olical 2020-09-19T12:37:08.011500Z

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).

šŸ‘ 2
2020-09-19T12:53:48.011600Z

Thanks for looking at this, @olical. Truth be told, Iā€™m not sure Iā€™m using figwheel-main in the standard way.

2020-09-19T14:12:31.012Z

FYI I think it might be this bug: https://github.com/bhauman/figwheel-main/issues/103

orestis 2020-09-19T15:54:22.013400Z

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.

nate 2020-09-19T17:27:40.013600Z

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

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

āž• 1
nate 2020-09-19T17:27:55.013900Z

works really well

harryvederci 2020-09-19T17:36:25.014100Z

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

2020-09-19T22:35:22.014600Z

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

nate 2020-09-19T22:39:23.016Z

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

2020-09-19T22:48:01.016200Z

thanks!