Skip to content

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

feat: Flag "discuss about" instead of "discuss"

hippietrail57a217b3a402
diff --git a/harper-core/src/linting/matcher.rs b/harper-core/src/linting/matcher.rs
index b034adf2c..f95d54a33 100644
--- a/harper-core/src/linting/matcher.rs
+++ b/harper-core/src/linting/matcher.rs
@@ -200,6 +200,10 @@ 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"
});