Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix: change "and alike" phrase correction to "and the like"
hippietrailc95bc16c3a2a
diff --git a/harper-core/src/linting/lint_group.rs b/harper-core/src/linting/lint_group.rsindex fc901c3fe..5586ff667 100644--- a/harper-core/src/linting/lint_group.rs+++ b/harper-core/src/linting/lint_group.rs@@ -30,7 +30,7 @@ use super::multiple_sequential_pronouns::MultipleSequentialPronouns;use super::nobody::Nobody;use super::number_suffix_capitalization::NumberSuffixCapitalization;use super::phrase_corrections::{- AndAlike, BadRap, BatedBreath, BeckAndCall, ChangeTack, EnMasse, HumanLife, HungerPang,+ AndTheLike, BadRap, BatedBreath, BeckAndCall, ChangeTack, EnMasse, HumanLife, HungerPang,LetAlone, LoAndBehold, NeedHelp, NoLonger, OfCourse, SneakingSuspicion, SpecialAttention,SupposedTo, ThanOthers, ThatChallenged, TurnItOff,};@@ -273,7 +273,7 @@ create_lint_group_config!(ThatChallenged => true,TurnItOff => true,OfCourse => true,- AndAlike => true,+ AndTheLike => true,BadRap => true,BatedBreath => true,BeckAndCall => true,diff --git a/harper-core/src/linting/mod.rs b/harper-core/src/linting/mod.rsindex ce8bdc037..9830343b5 100644--- a/harper-core/src/linting/mod.rs+++ b/harper-core/src/linting/mod.rs@@ -86,7 +86,7 @@ pub use number_suffix_capitalization::NumberSuffixCapitalization;pub use oxford_comma::OxfordComma;pub use pattern_linter::PatternLinter;pub use phrase_corrections::{- AndAlike, BadRap, BatedBreath, BeckAndCall, ChangeTack, EnMasse, HumanLife, HungerPang,+ AndTheLike, BadRap, BatedBreath, BeckAndCall, ChangeTack, EnMasse, HumanLife, HungerPang,LetAlone, LoAndBehold, NeedHelp, NoLonger, OfCourse, SneakingSuspicion, SpecialAttention,SupposedTo, ThanOthers, ThatChallenged, TurnItOff,};diff --git a/harper-core/src/linting/phrase_corrections.rs b/harper-core/src/linting/phrase_corrections.rsindex b7c8828f3..449b4e3b6 100644--- a/harper-core/src/linting/phrase_corrections.rs+++ b/harper-core/src/linting/phrase_corrections.rs@@ -76,7 +76,7 @@ create_linter_for_phrase!(ThatChallenged, "that challenged", 2);create_linter_for_phrase!(NoLonger, "no longer", 1);create_linter_for_phrase!(NeedHelp, "need help", 1);create_linter_for_phrase!(OfCourse, "of course", 1);-create_linter_for_phrase!(AndAlike, "and alike", 1);+create_linter_for_phrase!(AndTheLike, "and the like", 1);create_linter_for_phrase!(BadRap, "bad rap", 1);create_linter_for_phrase!(BatedBreath, "bated breath", 1);create_linter_for_phrase!(BeckAndCall, "beck and call", 1);