From 720bd7b28c5a9b9826e59f6ebd2d8a4677733066 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 16 Mar 2023 03:20:57 -0500 Subject: [PATCH] fix(dict): Allow commitish Fixes #690 --- crates/typos-dict/assets/words.csv | 2 +- crates/typos-dict/src/dict_codegen.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index 563f8f0..b7a67e5 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -9235,6 +9235,7 @@ comit,commit comited,committed comitee,committee comiting,committing +comitish,commitish comits,commits comitte,committed,committee comitted,committed @@ -9377,7 +9378,6 @@ commiteted,committed commiti,committee,committing,commit commitin,committing commiting,committing -commitish,committish commitmet,commitments committ,commit committe,committee diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index fea6f27..2c0f7d7 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -148176,7 +148176,6 @@ pub static WORD_COMMI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = di dictgen::InsensitiveStr::Ascii("ti"), dictgen::InsensitiveStr::Ascii("tin"), dictgen::InsensitiveStr::Ascii("ting"), - dictgen::InsensitiveStr::Ascii("tish"), dictgen::InsensitiveStr::Ascii("tmet"), dictgen::InsensitiveStr::Ascii("tt"), dictgen::InsensitiveStr::Ascii("tte"), @@ -148227,7 +148226,6 @@ pub static WORD_COMMI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = di &["committee", "committing", "commit"], &["committing"], &["committing"], - &["committish"], &["commitments"], &["commit"], &["committee"], @@ -148495,6 +148493,7 @@ pub static WORD_COMI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic dictgen::InsensitiveStr::Ascii("ted"), dictgen::InsensitiveStr::Ascii("tee"), dictgen::InsensitiveStr::Ascii("ting"), + dictgen::InsensitiveStr::Ascii("tish"), dictgen::InsensitiveStr::Ascii("ts"), dictgen::InsensitiveStr::Ascii("tte"), dictgen::InsensitiveStr::Ascii("tted"), @@ -148523,6 +148522,7 @@ pub static WORD_COMI_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic &["committed"], &["committee"], &["committing"], + &["commitish"], &["commits"], &["committed", "committee"], &["committed"],