Skip to content

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

add false positive "one of a"

hippietrail1119a085af62
diff --git a/harper-core/src/linting/adjective_of_a.rs b/harper-core/src/linting/adjective_of_a.rs
index 6cf8c8ad6..de93f617a 100644
--- a/harper-core/src/linting/adjective_of_a.rs
+++ b/harper-core/src/linting/adjective_of_a.rs
@@ -31,6 +31,7 @@ impl Linter for AdjectiveOfA {
['f', 'r', 'o', 'n', 't'] | ['F', 'r', 'o', 'n', 't'] => true,
['k', 'i', 'n', 'd'] | ['K', 'i', 'n', 'd'] => true,
['m', 'e', 'a', 'n', 'i', 'n', 'g'] | ['M', 'e', 'a', 'n', 'i', 'n', 'g'] => true,
+ ['o', 'n', 'e'] | ['O', 'n', 'e'] => true,
['p', 'a', 'r', 't'] | ['P', 'a', 'r', 't'] => true,
['s', 'h', 'a', 'd', 'o', 'w'] | ['S', 'h', 'a', 'd', 'o', 'w'] => true,
['s', 'h', 'o', 'r', 't'] | ['S', 'h', 'o', 'r', 't'] => true,