mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-26 11:01:00 -05:00
Merge pull request #559 from jplatte/config
Ignore thead for markdown files
This commit is contained in:
commit
c2da64079a
2 changed files with 14 additions and 0 deletions
|
@ -235,6 +235,20 @@ impl TypeEngineConfig {
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
patterns
|
||||||
|
.entry("md".into())
|
||||||
|
.or_insert_with(|| GlobEngineConfig {
|
||||||
|
extend_glob: Vec::new(),
|
||||||
|
engine: EngineConfig {
|
||||||
|
dict: Some(DictConfig {
|
||||||
|
extend_identifiers: maplit::hashmap! {
|
||||||
|
"thead".into() => "thead".into(),
|
||||||
|
},
|
||||||
|
..Default::default()
|
||||||
|
}),
|
||||||
|
..Default::default()
|
||||||
|
},
|
||||||
|
});
|
||||||
patterns
|
patterns
|
||||||
.entry("vim".into())
|
.entry("vim".into())
|
||||||
.or_insert_with(|| GlobEngineConfig {
|
.or_insert_with(|| GlobEngineConfig {
|
||||||
|
|
Loading…
Reference in a new issue