aboutsummaryrefslogtreecommitdiff
path: root/development/helix/disable-grammar-fetching.patch
diff options
context:
space:
mode:
Diffstat (limited to 'development/helix/disable-grammar-fetching.patch')
-rw-r--r--development/helix/disable-grammar-fetching.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/development/helix/disable-grammar-fetching.patch b/development/helix/disable-grammar-fetching.patch
new file mode 100644
index 0000000000..e1b1246485
--- /dev/null
+++ b/development/helix/disable-grammar-fetching.patch
@@ -0,0 +1,12 @@
+--- a/helix-term/build.rs 2025-01-20 00:25:42.000000000 +0300
++++ b/helix-term/build.rs 2025-06-14 14:11:03.753775574 +0300
+@@ -1,8 +1,7 @@
+-use helix_loader::grammar::{build_grammars, fetch_grammars};
++use helix_loader::grammar::build_grammars;
+
+ fn main() {
+ if std::env::var("HELIX_DISABLE_AUTO_GRAMMAR_BUILD").is_err() {
+- fetch_grammars().expect("Failed to fetch tree-sitter grammars");
+ build_grammars(Some(std::env::var("TARGET").unwrap()))
+ .expect("Failed to compile tree-sitter grammars");
+ }