Merge pull request #559 from jplatte/config

Ignore thead for markdown files
This commit is contained in:
Ed Page 2022-09-01 09:49:45 -05:00 committed by GitHub
commit c2da64079a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 0 deletions

View file

@ -235,6 +235,20 @@ impl TypeEngineConfig {
..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
.entry("vim".into())
.or_insert_with(|| GlobEngineConfig {