Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/build.rs')
| -rw-r--r-- | helix-term/build.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/helix-term/build.rs b/helix-term/build.rs index 60a64659..0f7a8ae8 100644 --- a/helix-term/build.rs +++ b/helix-term/build.rs @@ -1,9 +1,11 @@ use helix_loader::grammar::{build_grammars, fetch_grammars}; +const STRICT: bool = true; + 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())) + fetch_grammars(STRICT).expect("Failed to fetch tree-sitter grammars"); + build_grammars(Some(std::env::var("TARGET").unwrap()), STRICT) .expect("Failed to compile tree-sitter grammars"); } |