From 5598b5b3e942978c5fb97a3ae391af53df241346 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Fri, 21 Jan 2022 10:10:48 -0600 Subject: [PATCH] fix(dict): Workes should also correct to workers Fixes #402 --- crates/typos-dict/assets/words.csv | 2 +- crates/typos-dict/src/dict_codegen.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index db98f2d..a02966e 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -52316,7 +52316,7 @@ workbneches,workbenches workboos,workbooks workd,worked worke,work,worked,works -workes,works +workes,works,workers workfore,workforce workfow,workflow workfows,workflows diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index 03395f1..45e14be 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -832,7 +832,7 @@ pub static WORD_WORK_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["workbooks"], &["worked"], &["work", "worked", "works"], - &["works"], + &["works", "workers"], &["workforce"], &["workflow"], &["workflows"],