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)
Aleh Atsman 2020-08-22T11:59:13.002200Z

Hey, I am trying to setup next config prop let g:conjure#log#wrap=1 but I am getting Option 'wrap' requires a Boolean value

Olical 2020-08-23T15:47:41.005600Z

I've fixed this on develop so it'll accept 1/0 now 🙂

Aleh Atsman 2020-08-24T07:19:01.006Z

great! thanks for quick help!

Aleh Atsman 2020-08-22T11:59:21.002500Z

what is the proper way to set this?

Olical 2020-08-22T12:03:54.003700Z

Hmm odd, that should do it, although I'd do let g:conjure#log#wrap = v:true which I think is totally equivalent.

Olical 2020-08-22T12:04:09.003900Z

Maybe there's an issue with the option but I thought this was working fine for others :thinking_face:

Aleh Atsman 2020-08-22T12:09:01.004100Z

Maybe it should be something like

(when (config.get-in [:log :wrap])
            (nvim.win_set_option state.hud.id :wrap))

Aleh Atsman 2020-08-22T12:09:33.004300Z

one more question, when I try to build conjure locally

rm -rf lua
deps/aniseed/scripts/compile.sh
deps/aniseed/scripts/embed.sh aniseed conjure
deps/aniseed/scripts/embed.sh: line 14: rsync: command not found
find: 'lua/conjure/aniseed': No such file or directory
make: *** [Makefile:22: compile] Error 1

Aleh Atsman 2020-08-22T12:09:41.004500Z

what am I missing?

Aleh Atsman 2020-08-22T12:10:32.004700Z

let g:conjure#log#wrap = v:true works fine!

Aleh Atsman 2020-08-22T12:10:36.004900Z

but this is not let g:conjure#log#wrap = 1

Olical 2020-08-22T12:38:31.005300Z

Hmm I'll try to tweak it so 1 works, but I always use v:true and v:false for clarity personally. Also the build requires rsync for copying files around. I did have a method that didn't require rsync but it broke on OSX sadly, the cp isn't implemented in the same was as every Linux distro. So rsync is far more portable if you have it installed.