Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Merge branch 'master' into more-rules
Elijah Potter66c8843e1eb7
diff --cc harper-core/src/linting/lint_group.rsindex a50d8a13d,b32aca155..c77d6a75f--- a/harper-core/src/linting/lint_group.rs+++ b/harper-core/src/linting/lint_group.rs@@@ -344,11 -347,19 +348,20 @@@ impl LintGroupinsert_pattern_rule!(Hedging, true);insert_pattern_rule!(ExpandTimeShorthands, true);insert_pattern_rule!(ModalOf, true);+ insert_pattern_rule!(ForNoun, true);- out.add("SpellCheck", Box::new(SpellCheck::new(dictionary, dialect)));+ out.add(+ "SpellCheck",+ Box::new(SpellCheck::new(dictionary.clone(), dialect)),+ );out.config.set_rule_enabled("SpellCheck", true);+ out.add(+ "InflectedVerbAfterTo",+ Box::new(InflectedVerbAfterTo::new(dictionary.clone(), dialect)),+ );+ out.config.set_rule_enabled("InflectedVerbAfterTo", true);+out}