diff --git a/src/config.rs b/src/config.rs index 6a41b9e..0dc3ff2 100644 --- a/src/config.rs +++ b/src/config.rs @@ -193,6 +193,34 @@ impl TypeEngineConfig { ..Default::default() }, }); + patterns + .entry("js".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("ts".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("html".into()) .or_insert_with(|| GlobEngineConfig {