From b4cc2ed919990eb7baa35d66ed463aa9d7674405 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Wed, 21 Jun 2023 19:40:27 +0200 Subject: [PATCH] fix(dict): Don't correct unuseful --- 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 eaa1d65..564a484 100644 --- a/crates/typos-dict/assets/allowed.csv +++ b/crates/typos-dict/assets/allowed.csv @@ -13,3 +13,4 @@ perviously,adverb intension,noun intensional,adjective intensionally,adverb +unuseful,adjective diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index 42ecf5f..190e5af 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -60655,7 +60655,6 @@ unusal,unusual unusally,unusually unusaully,unusually unuseable,unusable -unuseful,useless unusre,unsure unusuable,unusable unusualy,unusually diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index e6454cd..ee52e58 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -8766,7 +8766,6 @@ pub static WORD_UNU_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict dictgen::InsensitiveStr::Ascii("sally"), dictgen::InsensitiveStr::Ascii("saully"), dictgen::InsensitiveStr::Ascii("seable"), - dictgen::InsensitiveStr::Ascii("seful"), dictgen::InsensitiveStr::Ascii("sre"), dictgen::InsensitiveStr::Ascii("suable"), dictgen::InsensitiveStr::Ascii("sualy"), @@ -8781,7 +8780,6 @@ pub static WORD_UNU_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict &["unusually"], &["unusually"], &["unusable"], - &["useless"], &["unsure"], &["unusable"], &["unusually"],