aboutsummaryrefslogtreecommitdiff
path: root/development/helix/disable-grammar-fetching.patch
blob: e1b1246485a3d8562110080b554179000bdb177e (plain)
1
2
3
4
5
6
7
8
9
10
11
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");
     }