From 8913c8af5f8451dcc956025adc53e48557fff49c Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 30 Jun 2023 09:31:04 -0500 Subject: [PATCH] fix(dict): Don't correct contiguities --- crates/typos-dict/assets/allowed.csv | 1 + crates/typos-dict/assets/words.csv | 1 - crates/typos-dict/src/dict_codegen.rs | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/typos-dict/assets/allowed.csv b/crates/typos-dict/assets/allowed.csv index 564a484..695f2f5 100644 --- a/crates/typos-dict/assets/allowed.csv +++ b/crates/typos-dict/assets/allowed.csv @@ -14,3 +14,4 @@ intension,noun intensional,adjective intensionally,adverb unuseful,adjective +contiguities,plural of contiguity diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index 190e5af..ebb3b64 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -13698,7 +13698,6 @@ contignent,contingent contignuous,contiguous contigous,contiguous contiguious,contiguous -contiguities,continuities contiguos,contiguous contimplate,contemplate contimplating,contemplating diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index ee52e58..e9ef735 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -166230,7 +166230,6 @@ pub static WORD_CONTIG_CHILDREN: dictgen::DictTable<&'static [&'static str]> = d dictgen::InsensitiveStr::Ascii("nuous"), dictgen::InsensitiveStr::Ascii("ous"), dictgen::InsensitiveStr::Ascii("uious"), - dictgen::InsensitiveStr::Ascii("uities"), dictgen::InsensitiveStr::Ascii("uos"), ], values: &[ @@ -166242,7 +166241,6 @@ pub static WORD_CONTIG_CHILDREN: dictgen::DictTable<&'static [&'static str]> = d &["contiguous"], &["contiguous"], &["contiguous"], - &["continuities"], &["contiguous"], ], range: 3..=6,