From 9094b0b9aa3c2e24966f7e3ff22537eb2828017b Mon Sep 17 00:00:00 2001 From: Jiralite <33201955+Jiralite@users.noreply.github.com> Date: Wed, 1 Feb 2023 14:34:33 +0000 Subject: [PATCH] feat: Add 3 typos --- crates/typos-dict/assets/words.csv | 3 +++ crates/typos-dict/src/dict_codegen.rs | 20 ++++++++++++++------ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index ed512c1..1315357 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -15124,6 +15124,7 @@ detatched,detached detatches,detaches detatching,detaching detault,default +detctable,detectable detction,detection deteced,detected detecing,detecting @@ -43248,6 +43249,7 @@ seamlessley,seamlessly seamlessy,seamlessly seantor,senator seantors,senators +seaonal,seasonal searcahble,searchable searchd,searched searche,search,searched @@ -52639,6 +52641,7 @@ waviers,waivers wawe,wave wawes,waves wawrick,warwick +wayferer,wayfarer wayword,wayward weakenend,weakened weakensses,weaknesses diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index dff584a..527e9ff 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -2457,9 +2457,12 @@ static WORD_WAY_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen:: }; pub static WORD_WAY_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable { - keys: &[dictgen::InsensitiveStr::Ascii("word")], - values: &[&["wayward"]], - range: 4..=4, + keys: &[ + dictgen::InsensitiveStr::Ascii("ferer"), + dictgen::InsensitiveStr::Ascii("word"), + ], + values: &[&["wayfarer"], &["wayward"]], + range: 4..=5, }; static WORD_WAW_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode { @@ -33847,6 +33850,7 @@ pub static WORD_SEA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict dictgen::InsensitiveStr::Ascii("mlessy"), dictgen::InsensitiveStr::Ascii("ntor"), dictgen::InsensitiveStr::Ascii("ntors"), + dictgen::InsensitiveStr::Ascii("onal"), dictgen::InsensitiveStr::Ascii("rcahble"), dictgen::InsensitiveStr::Ascii("rchd"), dictgen::InsensitiveStr::Ascii("rche"), @@ -33872,6 +33876,7 @@ pub static WORD_SEA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict &["seamlessly"], &["senator"], &["senators"], + &["seasonal"], &["searchable"], &["searched"], &["search", "searched"], @@ -128050,9 +128055,12 @@ static WORD_DETC_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen: }; pub static WORD_DETC_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable { - keys: &[dictgen::InsensitiveStr::Ascii("tion")], - values: &[&["detection"]], - range: 4..=4, + keys: &[ + dictgen::InsensitiveStr::Ascii("table"), + dictgen::InsensitiveStr::Ascii("tion"), + ], + values: &[&["detectable"], &["detection"]], + range: 4..=5, }; static WORD_DETA_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {