Kak-tree-sitter

Is it serious that kak-tree-sitter plugin has become public archive ?
Does we need to replace it by another one with kakoune ?

Hello,

No, it’s just that it’s not on GitHub anymore. You can find it at ~hadronized/kak-tree-sitter - tree-sitter meets Kakoune - sourcehut git.

1 Like

This plugin is really interesting with kakoune.
Thanks for doing it.

You’re welcome!

I have this idea for a format checker kicking around in my head. I’d like to have it live in kakoune as I’m editing a file. I think to get the performance I want I’d need kak-tree-sitter to run the custom format code natively. Would you consider a plugin system to extend functionality? Another solution maybe to register an external command to execute after the tree has been updated,

We can discuss that on the feature request tracker, but this is not entirely clear what is needed for other applications. Access to the updated tree? Access to the buffer? Etc.

Depending on the answer, a simple user-defined hook trigger or a mechanism to authorize running Rust code as « plugins » might be explorable.