cleanup: Import tree-sitter-highlight so we can cache trees.

This commit is contained in:
Blaž Hrastnik 2020-09-11 14:14:44 +09:00
parent b647c7a773
commit b17a77b8b8
9 changed files with 1148 additions and 138 deletions

13
Cargo.lock generated
View file

@ -372,6 +372,7 @@ dependencies = [
"ropey",
"smallvec",
"tendril",
"tree-sitter",
"unicode-segmentation",
"unicode-width",
]
@ -396,8 +397,6 @@ dependencies = [
"helix-syntax",
"num_cpus",
"smol",
"tree-sitter",
"tree-sitter-highlight",
"tui",
]
@ -719,16 +718,6 @@ 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"