mirror of
https://github.com/sharkdp/bat
synced 2024-12-18 16:23:05 +00:00
include!
generated mappings in source
This commit is contained in:
parent
9f4259721a
commit
d24501ab5e
1 changed files with 7 additions and 0 deletions
|
@ -7,6 +7,13 @@ use globset::{Candidate, GlobBuilder, GlobMatcher};
|
||||||
|
|
||||||
pub mod ignored_suffixes;
|
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)]
|
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
|
||||||
#[non_exhaustive]
|
#[non_exhaustive]
|
||||||
pub enum MappingTarget<'a> {
|
pub enum MappingTarget<'a> {
|
||||||
|
|
Loading…
Reference in a new issue