Fork me on GitHub
#conjure
<
2021-07-03
>
dharrigan16:07:10

Now that neovim 0.5.0 is out.... 🙂

🚀 9
martinklepsch10:07:02

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

Olical11:07:27

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.

Olical11:07:30

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.

Olical11:07:16

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!"

Olical11:07:02

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