diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index 727a2f8..af615a5 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -48364,7 +48364,6 @@ thast,that thatn,that,than thay,they thck,thick -thead,thread theard,thread thearding,threading theards,threads diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index 720596e..9ba0072 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -16217,7 +16217,6 @@ static WORD_THEA_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen: pub static WORD_THEA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable { keys: &[ - dictgen::InsensitiveStr::Ascii("d"), dictgen::InsensitiveStr::Ascii("rd"), dictgen::InsensitiveStr::Ascii("rding"), dictgen::InsensitiveStr::Ascii("rds"), @@ -16228,7 +16227,6 @@ pub static WORD_THEA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic dictgen::InsensitiveStr::Ascii("ture"), ], values: &[ - &["thread"], &["thread"], &["threading"], &["threads"], @@ -16238,7 +16236,7 @@ pub static WORD_THEA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["theatre"], &["theatre"], ], - range: 1..=5, + range: 2..=5, }; static WORD_THC_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode { diff --git a/src/config.rs b/src/config.rs index 081f8e6..cba60a8 100644 --- a/src/config.rs +++ b/src/config.rs @@ -179,76 +179,6 @@ impl TypeEngineConfig { ..Default::default() }, }); - patterns - .entry("css".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("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 { - extend_glob: Vec::new(), - engine: EngineConfig { - dict: Some(DictConfig { - extend_identifiers: maplit::hashmap! { - "thead".into() => "thead".into(), - }, - ..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 .entry("vim".into()) .or_insert_with(|| GlobEngineConfig {