Skip to content

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

feat: added match rules

Elijah Potter94f7d963e794
diff --git a/harper-core/src/linting/matcher.rs b/harper-core/src/linting/matcher.rs
index ce18928d4..b71f128aa 100644
--- a/harper-core/src/linting/matcher.rs
+++ b/harper-core/src/linting/matcher.rs
@@ -102,6 +102,8 @@ impl Matcher {
// This match list needs to be automatically expanded instead of explicitly
// defined like it is now.
let mut triggers = pt! {
+ "spacial","attention" => "special attention",
+ "wellbeing" => "well-being",
"hashtable" => "hash table",
"hashmap" => "hash map",
"CCP" => "Chinese Communist Party",