From 27a8403231d883d0d545ae2dd3098ec47eba79b9 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 9 Apr 2024 11:41:22 -0500 Subject: [PATCH] fix(dict): Allow automations --- crates/typos-dict/assets/allowed.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/allowed.csv b/crates/typos-dict/assets/allowed.csv index 32cd55bc6..fa5a5a20d 100644 --- a/crates/typos-dict/assets/allowed.csv +++ b/crates/typos-dict/assets/allowed.csv @@ -35,3 +35,4 @@ dur,abbreviation for duration ang,abbreviation for angle lst,abbreviation for list especially when list is a built-in like Python ans,abbreviation for answer +automations,while automation is uncountable there are cases where automations works like with iPhone automations diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index 7e9f1d94c..17b5c4bed 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -6008,7 +6008,6 @@ automaticly,automatically automatico,automation automatied,automate automatiek,automate -automations,automation automato,automation automatonic,automation automatron,automation diff --git a/crates/typos-dict/src/word_codegen.rs b/crates/typos-dict/src/word_codegen.rs index 400b24233..6e51b489e 100644 --- a/crates/typos-dict/src/word_codegen.rs +++ b/crates/typos-dict/src/word_codegen.rs @@ -199516,7 +199516,6 @@ pub static WORD_AUTOM_CHILDREN: dictgen::DictTable<&'static [&'static str]> = di dictgen::InsensitiveStr::Ascii("atico"), dictgen::InsensitiveStr::Ascii("atied"), dictgen::InsensitiveStr::Ascii("atiek"), - dictgen::InsensitiveStr::Ascii("ations"), dictgen::InsensitiveStr::Ascii("ato"), dictgen::InsensitiveStr::Ascii("atonic"), dictgen::InsensitiveStr::Ascii("atron"), @@ -199576,7 +199575,6 @@ pub static WORD_AUTOM_CHILDREN: dictgen::DictTable<&'static [&'static str]> = di &["automation"], &["automation"], &["automation"], - &["automation"], &["automate"], &["automatically"], &["automatic"],