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)
adambros 2020-08-16T01:08:51.052800Z

I took a stab at rewriting https://github.com/guns/vim-clojure-highlight, but I ran into trouble trying to only eval code when conjure was connected to a session I ended up using a timer loop and checking the nrepl client state for a session key, but that feels dirty? Anyone know of some better solution I'm overlooking? here's the lua code I've got so far: https://github.com/Pancia/dotfiles/blob/master/lib/vim/conjure-highlight/lua/conjure-highlight/main.lua#L6

Olical 2020-08-17T10:36:54.053700Z

I actually had a Todo item for this so this is awesome, I'll take a look when I'm back from my holiday and back in code mode

Olical 2020-08-17T10:36:59.053900Z

Thanks for taking a look!

adambros 2020-08-25T18:29:01.018600Z

So I was using this in a project that had a var defined as just |, which caused the plugin to crash and all syntax highlighting to break I first figured out how to try / catch and restore the syntax https://github.com/Pancia/dotfiles/commit/347e6022b1835405cd762b06abbbaf90d93ca650, and then where/how to escape that character https://github.com/Pancia/dotfiles/commit/ae08a01afb11242b86bc03af723cefb84bf3d71a I figured I would inform you in case you try to do anything with this, but also to check if you know any better way around this problem

Olical 2020-08-25T20:06:19.018900Z

Whaaaaat that's amazing

Olical 2020-08-25T20:06:41.019100Z

You mean crash vim-clojure-highlight or conjure?

Olical 2020-08-25T20:07:22.019300Z

Ah, highlight

Olical 2020-08-25T20:07:34.019500Z

Thanks for the tip!

2020-08-16T17:09:49.053300Z

1👍
Olical 2020-08-17T10:37:24.054100Z

Oooo this looks cool! Again, will have a look when I'm back from my holiday ☺️