Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
fix: better fix for "more foreign" → "foreigner" (#2711)
Andrew Dunbara4e1b608cfd6
diff --git a/harper-core/dictionary.dict b/harper-core/dictionary.dictindex 1822ef99f..64f3e3cb3 100644--- a/harper-core/dictionary.dict+++ b/harper-core/dictionary.dict@@ -25373,7 +25373,7 @@ foregone/VTJforeground/~NgSVGdforehand/~NgSJVforehead/~NgS-foreign/~J>pNZ+foreign/~JpNZforeigner/~Ngforeignness/Ngforeknew/Vdiff --git a/harper-core/src/linting/more_adjective.rs b/harper-core/src/linting/more_adjective.rsindex f740459de..dfbe2fd7b 100644--- a/harper-core/src/linting/more_adjective.rs+++ b/harper-core/src/linting/more_adjective.rs@@ -89,9 +89,8 @@ wherereturn None;}- // "foreigner" is a noun, not an adjective "more foreign"// "humaner" = "more humane", not "more human"- if adj_str == "foreign" || adj_str == "human" {+ if adj_str == "human" {return None;}