From 983b6a58279ac542e267793abfdaa02e200baa16 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Wed, 21 Jun 2023 16:08:27 +0200 Subject: [PATCH] fix(dict): Don't correct pervious & perviously --- crates/typos-dict/assets/allowed.csv | 2 ++ crates/typos-dict/assets/words.csv | 2 -- crates/typos-dict/src/dict_codegen.rs | 4 ---- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/crates/typos-dict/assets/allowed.csv b/crates/typos-dict/assets/allowed.csv index b5bbaf3..e7ace62 100644 --- a/crates/typos-dict/assets/allowed.csv +++ b/crates/typos-dict/assets/allowed.csv @@ -8,3 +8,5 @@ ons,so `add-ons` works accreting,verb of accrete zar,currency code for the South African rand simulative,adjective +pervious,adjective +perviously,adverb diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index 706a1e2..c95f37b 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -42509,8 +42509,6 @@ perverst,pervert pervertes,perverse perview,preview,purview perviews,previews,purviews -pervious,previous -perviously,previously perxoide,peroxide pesitcides,pesticides pessiary,pessary diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index a050764..f480073 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -69197,8 +69197,6 @@ pub static WORD_PERV_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic dictgen::InsensitiveStr::Ascii("ertes"), dictgen::InsensitiveStr::Ascii("iew"), dictgen::InsensitiveStr::Ascii("iews"), - dictgen::InsensitiveStr::Ascii("ious"), - dictgen::InsensitiveStr::Ascii("iously"), ], values: &[ &["prevail"], @@ -69211,8 +69209,6 @@ pub static WORD_PERV_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["perverse"], &["preview", "purview"], &["previews", "purviews"], - &["previous"], - &["previously"], ], range: 3..=6, };