Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat: impressed of→impressed by/with (#3566)
Andrew Dunbar8018f5c06d0c
diff --git a/harper-core/default_config.json b/harper-core/default_config.jsonindex dec114f06..aa283c0c2 100644--- a/harper-core/default_config.json+++ b/harper-core/default_config.json@@ -5012,6 +5012,13 @@"label": "Every Single One Of"}},+ {+ "Bool": {+ "name": "Impressed",+ "state": true,+ "label": "Impressed"+ }+ },{"Bool": {"name": "Catch22",diff --git a/harper-core/src/linting/weir_rules/Impressed.weir b/harper-core/src/linting/weir_rules/Impressed.weirnew file mode 100644index 000000000..d6c8bbdc6--- /dev/null+++ b/harper-core/src/linting/weir_rules/Impressed.weir@@ -0,0 +1,9 @@+expr main (impressed of)++let message "The correct preposition after `impressed` is `by` or `with`."+let description "Corrects `impressed of` to `impressed by` or `impressed with`."+let kind "Usage"+let becomes ["impressed by", "impressed with"]++test "I am still impressed of so many features." "I am still impressed by so many features."+test "I just discovered Unciv and I am impressed of the game." "I just discovered Unciv and I am impressed with the game."\ No newline at end of file