From d4dbe5f77bde37609ce3424df4a713a61f87ad2b Mon Sep 17 00:00:00 2001 From: Ed Page Date: Mon, 31 Mar 2025 09:07:56 -0500 Subject: [PATCH] fix(dict): Also correct typ to type --- crates/typos-dict/assets/words.csv | 2 +- crates/typos-dict/benches/benches/aho_corasick_codegen.rs | 2 +- crates/typos-dict/src/word_codegen.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index e1605fd1..86951a1c 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -66943,7 +66943,7 @@ tyops,typos tyos,typos tyou,you tyour,your,tour -typ,typo +typ,typo,type typcast,typecast typcasting,typecasting typcasts,typecasts diff --git a/crates/typos-dict/benches/benches/aho_corasick_codegen.rs b/crates/typos-dict/benches/benches/aho_corasick_codegen.rs index 798e6d46..abb1ad87 100644 --- a/crates/typos-dict/benches/benches/aho_corasick_codegen.rs +++ b/crates/typos-dict/benches/benches/aho_corasick_codegen.rs @@ -138565,7 +138565,7 @@ impl Word { &["typos"], &["you"], &["your", "tour"], - &["typo"], + &["typo", "type"], &["typecast"], &["typecasting"], &["typecasts"], diff --git a/crates/typos-dict/src/word_codegen.rs b/crates/typos-dict/src/word_codegen.rs index a2ce3caf..3ec4e59a 100644 --- a/crates/typos-dict/src/word_codegen.rs +++ b/crates/typos-dict/src/word_codegen.rs @@ -153935,7 +153935,7 @@ pub static WORD: dictgen::Map, &[&str]> = dictg dictgen::InsensitiveStr::Ascii("approching"), &["approaching"], ), - (dictgen::InsensitiveStr::Ascii("typ"), &["typo"]), + (dictgen::InsensitiveStr::Ascii("typ"), &["typo", "type"]), (dictgen::InsensitiveStr::Ascii("messures"), &["measures"]), ( dictgen::InsensitiveStr::Ascii("corruptiuon"),