void-packages/srcpkgs/helix/patches/skip_grammar_fetch.patch

14 lines
523 B
Diff

diff --git a/helix-term/build.rs b/helix-term/build.rs
index b47dae8..96c7b30 100644
--- a/helix-term/build.rs
+++ b/helix-term/build.rs
@@ -2,7 +2,7 @@
fn main() {
if std::env::var("HELIX_DISABLE_AUTO_GRAMMAR_BUILD").is_err() {
- fetch_grammars().expect("Failed to fetch tree-sitter grammars");
+ // fetch_grammars().expect("Failed to fetch tree-sitter grammars");
build_grammars(Some(std::env::var("TARGET").unwrap()))
.expect("Failed to compile tree-sitter grammars");
}