From 043179a22ea405c334eb2dd10054564f83b6dae3 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Wed, 21 Jun 2023 16:20:49 +0200 Subject: [PATCH] fix(dict): Don't correct intension, intensional & intensionally --- crates/typos-dict/assets/allowed.csv | 3 +++ crates/typos-dict/assets/words.csv | 5 +---- crates/typos-dict/src/dict_codegen.rs | 8 +------- 3 files changed, 5 insertions(+), 11 deletions(-) diff --git a/crates/typos-dict/assets/allowed.csv b/crates/typos-dict/assets/allowed.csv index e7ace62..eaa1d65 100644 --- a/crates/typos-dict/assets/allowed.csv +++ b/crates/typos-dict/assets/allowed.csv @@ -10,3 +10,6 @@ zar,currency code for the South African rand simulative,adjective pervious,adjective perviously,adverb +intension,noun +intensional,adjective +intensionally,adverb diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index c95f37b..42ecf5f 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -31721,10 +31721,7 @@ intendos,intends inteneded,intended intenisty,intensity intenseley,intensely -intension,intention -intensional,intentional -intensionally,intentionally -intensionaly,intentionally +intensionaly,intentionally,intensionally intensitive,insensitive,intensive intensitiy,intensity intensley,intensely diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index f480073..e6454cd 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -105246,9 +105246,6 @@ pub static WORD_INTEN_CHILDREN: dictgen::DictTable<&'static [&'static str]> = di dictgen::InsensitiveStr::Ascii("eded"), dictgen::InsensitiveStr::Ascii("isty"), dictgen::InsensitiveStr::Ascii("seley"), - dictgen::InsensitiveStr::Ascii("sion"), - dictgen::InsensitiveStr::Ascii("sional"), - dictgen::InsensitiveStr::Ascii("sionally"), dictgen::InsensitiveStr::Ascii("sionaly"), dictgen::InsensitiveStr::Ascii("sitive"), dictgen::InsensitiveStr::Ascii("sitiy"), @@ -105280,10 +105277,7 @@ pub static WORD_INTEN_CHILDREN: dictgen::DictTable<&'static [&'static str]> = di &["intended"], &["intensity"], &["intensely"], - &["intention"], - &["intentional"], - &["intentionally"], - &["intentionally"], + &["intentionally", "intensionally"], &["insensitive", "intensive"], &["intensity"], &["intensely"],