From 42c935f946e8225f6c910205717110bf1f69a107 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 25 Apr 2022 13:17:39 +0200 Subject: [PATCH 1/3] docs: Fix typo in CONTRIBUTING.md --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 4456277..46dc6de 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,7 +31,7 @@ to re-work some of it and the discouragement that goes along with that. `typos` dictionary is a mapping of typos to a list of possible corrections (see [Design](docs/design.md)). To add to the dictionary: -1. Add your type to our data file `crates/typos-dict/assets/words.csv` +1. Add your typo to our data file `crates/typos-dict/assets/words.csv` Format: `typo,correction[,correction...]` From bbd71ab43418e64d92177308d3e39bc96f94007b Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 25 Apr 2022 13:19:59 +0200 Subject: [PATCH 2/3] feat(dict): Add 'unencyrpted' typo to words.csv --- crates/typos-dict/assets/words.csv | 1 + crates/typos-dict/src/dict_codegen.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index ad68a85..2a8e0e7 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -49982,6 +49982,7 @@ unempolyed,unemployed unempolyment,unemployment unencrpt,unencrypt unencrpted,unencrypted +unencyrpted,unencrypted unenforcable,unenforceable unenployment,unemployment unepected,unexpected diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index f3fc28b..f3f3b95 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -8969,12 +8969,14 @@ pub static WORD_UNEN_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic keys: &[ dictgen::InsensitiveStr::Ascii("crpt"), dictgen::InsensitiveStr::Ascii("crpted"), + dictgen::InsensitiveStr::Ascii("cyrpted"), dictgen::InsensitiveStr::Ascii("forcable"), dictgen::InsensitiveStr::Ascii("ployment"), ], values: &[ &["unencrypt"], &["unencrypted"], + &["unencrypted"], &["unenforceable"], &["unemployment"], ], From 5f5ef1468de42e5f365e9ad1f9203983701acd7d Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Mon, 25 Apr 2022 13:20:58 +0200 Subject: [PATCH 3/3] feat(dict): Add 'signign' typo to words.csv --- crates/typos-dict/assets/words.csv | 1 + crates/typos-dict/src/dict_codegen.rs | 2 ++ 2 files changed, 3 insertions(+) diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index 2a8e0e7..8cb9aa6 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -43653,6 +43653,7 @@ signifigant,significant signifigantly,significantly signifikant,significant signifiy,signify +signign,signing signigns,signings signins,signings signitories,signatories diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index f3f3b95..6e938d4 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -30109,6 +30109,7 @@ pub static WORD_SIG_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict dictgen::InsensitiveStr::Ascii("nifigantly"), dictgen::InsensitiveStr::Ascii("nifikant"), dictgen::InsensitiveStr::Ascii("nifiy"), + dictgen::InsensitiveStr::Ascii("nign"), dictgen::InsensitiveStr::Ascii("nigns"), dictgen::InsensitiveStr::Ascii("nins"), dictgen::InsensitiveStr::Ascii("nitories"), @@ -30171,6 +30172,7 @@ pub static WORD_SIG_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict &["significantly"], &["significant"], &["signify"], + &["signing"], &["signings"], &["signings"], &["signatories"],