diff options
author | Michael Davis | 2023-06-12 15:32:36 +0000 |
---|---|---|
committer | GitHub | 2023-06-12 15:32:36 +0000 |
commit | 25ad534d6404e2aa39536df818371dcbbc928b52 (patch) | |
tree | 9ae565d7f4fbfc1f842d156a4c128ed33eedc457 /helix-loader/Cargo.toml | |
parent | 18e07addfd464844fc18833cfb1d1cd38c683c11 (diff) |
Check for 'git' before fetching/building grammars (#7320)
Previously the error message for this potential failure-case was
confusing: "no such file or directory". `hx -g fetch`, `hx -g build` and
the helix-term builder should bail early if the git binary is not
available.
Diffstat (limited to 'helix-loader/Cargo.toml')
-rw-r--r-- | helix-loader/Cargo.toml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-loader/Cargo.toml b/helix-loader/Cargo.toml index b0d8f146..6e0217a2 100644 --- a/helix-loader/Cargo.toml +++ b/helix-loader/Cargo.toml @@ -21,6 +21,7 @@ etcetera = "0.8" tree-sitter = "0.20" once_cell = "1.18" log = "0.4" +which = "4.4" # TODO: these two should be on !wasm32 only |