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)
martinklepsch 2021-07-04T10:06:02.187800Z

What does this mean for Conjure? I haven’t been following very closely

Olical 2021-07-04T11:11:27.188Z

So there's some shims I've had to do I think. The main thing is that I couldn't pass functions from lua -> viml as callbacks but now I can! Which MASSIVELY simplifies some code.

Olical 2021-07-04T11:12:30.188200Z

The main one would be treesitter, which I really want to rely on but I don't think it's on by default for people, I think you need to put some effort into enabling it for your language (and only some languages are supported!) So I could move Conjure to relying on it and slowly phase out the character wise / regex hunting for forms over time, but I think if I switched it off right now a lot of setups would break.

Olical 2021-07-04T11:13:16.188400Z

I need to assess how easy it is to get TS working on every platform for all of Conjure's clients. If it's trivial and the user experience is a lot better while Conjure gets smaller and faster... it could be worth the added step of "make sure you have TS support for your language!"

Olical 2021-07-04T11:14:02.188600Z

I could still include the existing paren hunting code as a lazily loaded backup module, but I'd imagine it'll fall behind in features slowly. TS enables general hunting of forms in any language with TS support... so... Python etc

Olical 2021-07-04T11:17:05.188800Z

the fact that I've never seen this but I don't use sessions really suggests it's session related... or maybe some other plugin both of you have in common? Would one of you be able to open an issue with as much info as you can when you get a chance? I'd love to fix it! This just isn't a great place to track issues and share information since it vanishes after a time 😅

Olical 2021-07-04T11:18:11.189Z

I wonder if we can find a minimal repro... I think it's around writing the file by mistake somewhere, then it gets included in sessions, then you end up with the "nofile" attribute being removed from the log buffer. So then nvim thinks you care about the modifications (things being appended to the log). We have to work out how the nofile option is being removed... if that is the root cause anyway.

2021-07-04T11:59:52.189200Z

[Olical/conjure] Issue closed by HiPhish