diff options
author | Pascal Kuthe | 2023-07-27 02:50:40 +0000 |
---|---|---|
committer | GitHub | 2023-07-27 02:50:40 +0000 |
commit | 262a595e5343c5afd0f2570859b63ebf4c12b0fa (patch) | |
tree | 8f4ba85f3aa484518a6584c53fbdf468f0b9ac5f | |
parent | 953073a679dfe8ae4aff86e8a9bff680d14a5523 (diff) |
pin TS to unreleased git revision to fix freezes (#7737)
-rw-r--r-- | Cargo.lock | 3 | ||||
-rw-r--r-- | Cargo.toml | 3 | ||||
-rw-r--r-- | helix-core/Cargo.toml | 2 | ||||
-rw-r--r-- | helix-loader/Cargo.toml | 2 |
4 files changed, 6 insertions, 4 deletions
@@ -2359,8 +2359,7 @@ dependencies = [ [[package]] name = "tree-sitter" version = "0.20.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e747b1f9b7b931ed39a548c1fae149101497de3c1fc8d9e18c62c1a66c683d3d" +source = "git+https://github.com/tree-sitter/tree-sitter?rev=7d4b0110a9e92161d247a051018ee42b0513e98d#7d4b0110a9e92161d247a051018ee42b0513e98d" dependencies = [ "cc", "regex", @@ -32,3 +32,6 @@ inherits = "test" package.helix-core.opt-level = 2 package.helix-tui.opt-level = 2 package.helix-term.opt-level = 2 + +[workspace.dependencies] +tree-sitter = { version = "0.20", git = "https://github.com/tree-sitter/tree-sitter", rev = "7d4b0110a9e92161d247a051018ee42b0513e98d" } diff --git a/helix-core/Cargo.toml b/helix-core/Cargo.toml index 895ee5bc..f45d97b8 100644 --- a/helix-core/Cargo.toml +++ b/helix-core/Cargo.toml @@ -25,7 +25,7 @@ unicode-width = "0.1" unicode-general-category = "0.6" # slab = "0.4.2" slotmap = "1.0" -tree-sitter = "0.20" +tree-sitter.workspace = true once_cell = "1.18" arc-swap = "1" regex = "1" diff --git a/helix-loader/Cargo.toml b/helix-loader/Cargo.toml index 80265d30..55f8422b 100644 --- a/helix-loader/Cargo.toml +++ b/helix-loader/Cargo.toml @@ -18,7 +18,7 @@ anyhow = "1" serde = { version = "1.0", features = ["derive"] } toml = "0.7" etcetera = "0.8" -tree-sitter = "0.20" +tree-sitter.workspace = true once_cell = "1.18" log = "0.4" which = "4.4" |