From 038802dc09dc21d58ade804e41a3ca11feb86dea Mon Sep 17 00:00:00 2001 From: Ed Page Date: Sat, 22 Jun 2024 13:02:06 -0400 Subject: [PATCH] fix(dict): Don't correct reoccurrence Fixes #1013 --- crates/typos-dict/assets/english.csv | 1 + crates/typos-dict/assets/words.csv | 1 - crates/typos-dict/src/word_codegen.rs | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/typos-dict/assets/english.csv b/crates/typos-dict/assets/english.csv index 8b0c936..b7d00d4 100644 --- a/crates/typos-dict/assets/english.csv +++ b/crates/typos-dict/assets/english.csv @@ -35527,6 +35527,7 @@ rent rental renter renunciation +reoccurrence reopen reorg rep diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index 3ba9669..1772e93 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -50179,7 +50179,6 @@ renweables,renewables renyolds,reynolds reoadmap,roadmap reoccuring,reoccurring -reoccurrence,recurrence reocmpression,recompression reocurring,reoccurring,recurring reoder,reorder diff --git a/crates/typos-dict/src/word_codegen.rs b/crates/typos-dict/src/word_codegen.rs index b93b4c0..85a8636 100644 --- a/crates/typos-dict/src/word_codegen.rs +++ b/crates/typos-dict/src/word_codegen.rs @@ -51295,7 +51295,6 @@ pub static WORD_REO_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict keys: &[ dictgen::InsensitiveStr::Ascii("admap"), dictgen::InsensitiveStr::Ascii("ccuring"), - dictgen::InsensitiveStr::Ascii("ccurrence"), dictgen::InsensitiveStr::Ascii("cmpression"), dictgen::InsensitiveStr::Ascii("curring"), dictgen::InsensitiveStr::Ascii("der"), @@ -51329,7 +51328,6 @@ pub static WORD_REO_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict values: &[ &["roadmap"], &["reoccurring"], - &["recurrence"], &["recompression"], &["reoccurring", "recurring"], &["reorder"],