From 8cd6d93cd5f4b031146459dde425b279d1b963fc Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Tue, 2 Apr 2024 17:42:13 +0900 Subject: [PATCH] feat(dict): Add suggestion "done" for the typo "donw" Fixes #968 --- crates/typos-dict/assets/words.csv | 2 +- crates/typos-dict/src/word_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 5239504..65ff742 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -20605,7 +20605,7 @@ donejuns,dungeons donesticated,domesticated donig,doing donn,done,don -donw,down +donw,down,done donwgrade,downgrade donwgraded,downgraded donwload,download diff --git a/crates/typos-dict/src/word_codegen.rs b/crates/typos-dict/src/word_codegen.rs index d34d604..09d41d0 100644 --- a/crates/typos-dict/src/word_codegen.rs +++ b/crates/typos-dict/src/word_codegen.rs @@ -150243,7 +150243,7 @@ pub static WORD_DON_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict &["domesticated"], &["doing"], &["done", "don"], - &["down"], + &["down", "done"], &["downgrade"], &["downgraded"], &["download"],