From 6d6713180eddac0b504a130a1d500d8937fb9f06 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 6 Oct 2022 14:27:29 +0200 Subject: [PATCH] feat(dict): Add whaat -> what --- crates/typos-dict/assets/words.csv | 1 + crates/typos-dict/src/dict_codegen.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index 13d6c6c..aefab06 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -52587,6 +52587,7 @@ westmonster,westminster westrbook,westbrook wether,weather,whether wew,we +whaat,what whaeton,wheaton whan,want,when whant,want diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index 5d9903b..996d9e8 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -2028,6 +2028,7 @@ static WORD_WHA_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen:: pub static WORD_WHA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable { keys: &[ + dictgen::InsensitiveStr::Ascii("at"), dictgen::InsensitiveStr::Ascii("eton"), dictgen::InsensitiveStr::Ascii("n"), dictgen::InsensitiveStr::Ascii("nt"), @@ -2040,6 +2041,7 @@ pub static WORD_WHA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict dictgen::InsensitiveStr::Ascii("tseover"), ], values: &[ + &["what"], &["wheaton"], &["want", "when"], &["want"],