Tree-sitter-based highlighting for Kakoune
Find a file
Lucas Schwiderski 718a7fde41
feat: Improve performances
- create a map of byte offsets to Kakoune ranges once, to avoid having to
iterate the content for every highlight event
- create a direct lookup for faces from the token index passed by the
highlighter event, rather than performing a string map lookup each time
- minimize allocations by pushing only a single string with sufficient
capacity, rather than building small strings
2023-04-18 10:35:14 +02:00
benches feat: Improve performances 2023-04-18 10:35:14 +02:00
rc feat: Improve performances 2023-04-18 10:35:14 +02:00
src feat: Improve performances 2023-04-18 10:35:14 +02:00
.gitignore chore: Initialize project 2023-04-13 17:12:19 +02:00
Cargo.lock feat: Improve performances 2023-04-18 10:35:14 +02:00
Cargo.toml feat: Improve performances 2023-04-18 10:35:14 +02:00
CHANGELOG.adoc chore: v1.0.0 2023-04-14 10:09:55 +02:00
LICENSE chore: Initialize project 2023-04-13 17:12:19 +02:00
README.adoc chore: Initialize project 2023-04-13 17:12:19 +02:00
test.sh feat: Finish initial implementation 2023-04-14 10:05:18 +02:00

Kak Highlight

Tree-sitter-based highlighting for Kakoune.