Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

Merge pull request #644 from hippietrail/sooner-than-later-616

Elijah Potterdd87c3651d18
diff --cc harper-core/src/linting/matcher.rs
index f95d54a33,3a87b0ee7..d75742d7b
--- a/harper-core/src/linting/matcher.rs
+++ b/harper-core/src/linting/matcher.rs
@@@ -200,12 -200,10 +200,14 @@@ impl Matcher
// wrong set phrases and collocations
triggers.extend(pt! {
+ "discuss", "about" => "discuss",
+ "discussed", "about" => "discussed",
+ "discusses", "about" => "discusses",
+ "discussing", "about" => "discussing",
"same", "than" => "same as",
- "Same", "than" => "same as"
+ "Same", "than" => "same as",
+ "sooner","than","later" => "sooner rather than later",
+ "sooner","than","later" => "sooner or later"
});
// belonging to multiple of the other categories