mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 17:11:07 -05:00
fix(config): Don't correct thead for HTML
This commit is contained in:
parent
1e58c65276
commit
58012099b1
1 changed files with 14 additions and 0 deletions
|
@ -179,6 +179,20 @@ impl TypeEngineConfig {
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
patterns
|
||||||
|
.entry("html".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("rust".into())
|
.entry("rust".into())
|
||||||
.or_insert_with(|| GlobEngineConfig {
|
.or_insert_with(|| GlobEngineConfig {
|
||||||
|
|
Loading…
Reference in a new issue