diff options
author | Michael Davis | 2023-03-07 02:46:46 +0000 |
---|---|---|
committer | GitHub | 2023-03-07 02:46:46 +0000 |
commit | 136d1164e06c8ae6f23d611e8fcc2c3e53b9bd80 (patch) | |
tree | 6001f2bf74a68967131a46f78a0c32e2ea32d1cd | |
parent | 84be5cd52c61a53f8d47be60b33bbaaed63652e6 (diff) |
Pin tree-sitter at git master (#6218)
Tree-sitter has some unreleased improvements that can speed up small
queries and prevent hangs due to error recovery in some parsers. This
change pins tree-sitter to the latest master.
Neovim also pins tree-sitter to a commit on master.
-rw-r--r-- | Cargo.lock | 3 | ||||
-rw-r--r-- | Cargo.toml | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -2154,8 +2154,7 @@ dependencies = [ [[package]] name = "tree-sitter" version = "0.20.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4423c784fe11398ca91e505cdc71356b07b1a924fc8735cfab5333afe3e18bc" +source = "git+https://github.com/tree-sitter/tree-sitter?rev=c51896d32dcc11a38e41f36e3deb1a6a9c4f4b14#c51896d32dcc11a38e41f36e3deb1a6a9c4f4b14" dependencies = [ "cc", "regex", @@ -31,3 +31,6 @@ inherits = "test" package.helix-core.opt-level = 2 package.helix-tui.opt-level = 2 package.helix-term.opt-level = 2 + +[patch.crates-io] +tree-sitter = { git = "https://github.com/tree-sitter/tree-sitter", rev = "c51896d32dcc11a38e41f36e3deb1a6a9c4f4b14" } |