kak-tree-sitter-0.3.0 is not a library.
kak-tree-sitter
This is a binary server that interfaces tree-sitter with kakoune.
Features
- Semantic highlighting.
- Semantic selections (types, functions, declarations, etc.)
- Efficient parsing via
tree-sitter, with partial parsing, etc. - Shared between Kakoune sessions.
Install
Currently, the only installation channel, which is not ideal, is via cargo:
Optionally, you can install the CLI controller:
Usage
See the wiki.
Design
Alternatives
- tree-sitter.kak: a similar project, with the same motivations. It’s currently the only viable alternative with both features (semantic highlighting / selections).