From bb04b7270a12af7249b03f0e218ce99f0bac0d65 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 1 Sep 2022 09:18:16 +0200 Subject: [PATCH] fix(config): Ignore thead for md --- src/config.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/config.rs b/src/config.rs index 0dc3ff2..081f8e6 100644 --- a/src/config.rs +++ b/src/config.rs @@ -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 {