Skip to content

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

Merge branch 'master' into operative-system

Elijah Potter99d638521138
diff --cc harper-core/src/linting/phrase_corrections.rs
index fb3a89d42,2beaefe8c..f52ebc35a
--- a/harper-core/src/linting/phrase_corrections.rs
+++ b/harper-core/src/linting/phrase_corrections.rs
@@@ -211,18 -211,12 +211,24 @@@ pub fn lint_group() -> LintGroup
"Did you mean `my house`?",
"Fixes the typo `mu house` to `my house`."
),
+ "OperativeSystem" => (
+ "operative system",
+ ["operating system"],
+ "Did you mean `operating system`?",
+ "Ensures `operating system` is used correctly instead of `operative system`."
+ ),
+ "OperativeSystems" => (
+ "operative systems",
+ ["operating systems"],
+ "Did you mean `operating systems`?",
+ "Ensures `operating systems` is used correctly instead of `operative systems`."
+ ),
+ "BanTogether" => (
+ "ban together",
+ ["band together"],
+ "Did you mean 'band together'?",
+ "Detects and corrects the common error of using `ban together` instead of the idiom `band together`, which means to unite or join forces."
+ )
});
group.add("FastPaste", Box::new(MapPhraseLinter::new(