Skip to content

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

fix(core): missing fix for `t he` -> `the`

Elijah Potter11dbc5ca78f8
diff --git a/harper-core/src/linting/weir_rules/The.weir b/harper-core/src/linting/weir_rules/The.weir
index 6356a1d7c..3ed9aa9c8 100644
--- a/harper-core/src/linting/weir_rules/The.weir
+++ b/harper-core/src/linting/weir_rules/The.weir
@@ -1,4 +1,4 @@
-expr main [(teh), (te)]
+expr main [(teh), (te), (t he)]
let message "Did you mean the definite article?"
let description "Fixes especially common misspellings of the word `the`"
@@ -6,3 +6,4 @@ let kind "Typo"
let becomes "the"
test "I adore teh light of the moon." "I adore the light of the moon."
+test "At t he time, I thought it was weird." "At the time, I thought it was weird."