each language would have multiple sets of snippets, a base set, which is always loaded, and conditional sets which are either user specified or loaded if certain snippet is triggered( for example import opencv would load opencv related snippets into the trie(or set of contextual tries) for that window.
That’s an awesome feature !
That’s normal, kakoune want’s you to do most of the job outside kakoune. Kakoune just give you the minial glue to connect with external script.
How would I go about setting priority for completion items?
Idk myself, but you might want to check this post:
For the moment the only maintained kakoune snippets plugin is GitHub - alexherbo2/snippet.kak: Snippets integration for Kakoune ( I use it, it work well ) maybe you want to build on top of that. ( you can go back a few commit if you want an even more simple plugin to start from )