5 releases (3 breaking)
new 0.3.0 | Jun 8, 2023 |
---|---|
0.2.0 | May 24, 2023 |
0.1.8 | Apr 30, 2023 |
0.1.7 | Apr 30, 2023 |
0.0.0 | Apr 27, 2023 |
#37 in Text editors
56 downloads per month
46KB
1K
SLoC
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
:
cargo install kak-tree-sitter
Optionally, you can install the CLI controller:
cargo install ktsctl
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).
Credits
Dependencies
~6–12MB
~221K SLoC