diff --git a/src/syntax_mapping.rs b/src/syntax_mapping.rs index c8c361ab..8b0c1c17 100644 --- a/src/syntax_mapping.rs +++ b/src/syntax_mapping.rs @@ -7,6 +7,13 @@ use globset::{Candidate, GlobBuilder, GlobMatcher}; pub mod ignored_suffixes; +// Static syntax mappings generated from /src/syntax_mapping/builtins/ by the +// build script (/build/syntax_mapping.rs). +include!(concat!( + env!("OUT_DIR"), + "/codegen_static_syntax_mappings.rs" +)); + #[derive(Debug, Clone, Copy, PartialEq, Eq)] #[non_exhaustive] pub enum MappingTarget<'a> {