From 4d4e19f143398e326b5de23b7b053aa7c3189c46 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 12 Apr 2024 15:26:35 -0500 Subject: [PATCH] fix(dict): Always allow inout Fixes #991 --- 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 fa5a5a2..646d735 100644 --- a/crates/typos-dict/assets/allowed.csv +++ b/crates/typos-dict/assets/allowed.csv @@ -36,3 +36,4 @@ 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 +inout,keyword in many languages but used in many more diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index 17b5c4b..16d60bf 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -32055,7 +32055,6 @@ inoperant,inoperative inoquous,innocuous inormation,information inot,into -inout,input inouts,inputs inovation,innovation inovative,innovative diff --git a/crates/typos-dict/src/word_codegen.rs b/crates/typos-dict/src/word_codegen.rs index 6e51b48..8828498 100644 --- a/crates/typos-dict/src/word_codegen.rs +++ b/crates/typos-dict/src/word_codegen.rs @@ -111600,7 +111600,6 @@ pub static WORD_INO_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict dictgen::InsensitiveStr::Ascii("quous"), dictgen::InsensitiveStr::Ascii("rmation"), dictgen::InsensitiveStr::Ascii("t"), - dictgen::InsensitiveStr::Ascii("ut"), dictgen::InsensitiveStr::Ascii("uts"), dictgen::InsensitiveStr::Ascii("vation"), dictgen::InsensitiveStr::Ascii("vative"), @@ -111616,7 +111615,6 @@ pub static WORD_INO_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict &["innocuous"], &["information"], &["into"], - &["input"], &["inputs"], &["innovation"], &["innovative"],