From 786c825f1753f87b02d24770e3f4ec8043d9084a Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Sun, 1 Sep 2024 18:05:55 +0900 Subject: [PATCH] fix(dict): Add suggestions for the typo "grather" "greater" and "gather" will be the candidates --- 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 a96adaac6..1e8ccaea0 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -28800,7 +28800,7 @@ grassrooters,grassroots grat,great gratefull,grateful gratful,grateful -grather +grather,greater,gather gratificacion,gratification gratificaiton,gratification gratituous,gratuitous diff --git a/crates/typos-dict/src/word_codegen.rs b/crates/typos-dict/src/word_codegen.rs index a3bab083d..80eb2f2bf 100644 --- a/crates/typos-dict/src/word_codegen.rs +++ b/crates/typos-dict/src/word_codegen.rs @@ -130399,7 +130399,7 @@ pub static WORD_GRAT_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic values: &[ &["grateful"], &["grateful"], - &[], + &["greater", "gather"], &["gratification"], &["gratification"], &["gratuitous"],