Skip to content

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

chore: move to correct category

hippietrail7e571d52ce43
diff --git a/harper-core/src/linting/matcher.rs b/harper-core/src/linting/matcher.rs
index e841d793b..3a87b0ee7 100644
--- a/harper-core/src/linting/matcher.rs
+++ b/harper-core/src/linting/matcher.rs
@@ -192,8 +192,6 @@ impl Matcher {
triggers.extend(pt! {
"performing","this" => "perform this",
"simply","grammatical" => "simple grammatical",
- "sooner","than","later" => "sooner rather than later",
- "sooner","than","later" => "sooner or later",
"the","challenged" => "that challenged",
"to", "towards" => "towards",
"To-Do" => "To-do",
@@ -203,7 +201,9 @@ impl Matcher {
// wrong set phrases and collocations
triggers.extend(pt! {
"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