draft: tree-sitter highlighting

This commit is contained in:
Blaž Hrastnik 2020-09-09 15:48:25 +09:00
parent 7eac12a4bb
commit 25b3f98e3d
4 changed files with 141 additions and 0 deletions

13
Cargo.lock generated
View file

@ -393,8 +393,11 @@ dependencies = [
"argh",
"crossterm",
"helix-core",
"helix-syntax",
"num_cpus",
"smol",
"tree-sitter",
"tree-sitter-highlight",
"tui",
]
@ -716,6 +719,16 @@ dependencies = [
"regex",
]
[[package]]
name = "tree-sitter-highlight"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6e3c800ac0db1562a045a4893cbbd7c484eb93426cae5632f9e5d24dd588cd1"
dependencies = [
"regex",
"tree-sitter",
]
[[package]]
name = "tui"
version = "0.10.0"