I’m trying out kak-tree-sitter, which works great with the languages it supports. However I wanted to add support for an unsupported language, QML. So, I followed the readme and tried adding the qml grammar and queries to my ~/.config/kak-tree-sitter/config.toml:
take this configuration with a grain of salt, as it was made >6 months ago and might be relying on some outdated constructs, but it seems to have a lot of elements that you are missing, so try and add a few options and see how it goes!
Ah, I needed to add link_args = [], and my source needs to be nested in a git key. It seems that if the config is invalid it won’t recognize the language. The docs were a little unclear to me but I guess I should’ve looked at the default config more thoroughly. Anyway, thanks!