Skip to content

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

fix(core): return special case

Elijah Potter1306076c3365
diff --git a/harper-core/src/linting/repeated_words.rs b/harper-core/src/linting/repeated_words.rs
index 72e503d5f..6627ff241 100644
--- a/harper-core/src/linting/repeated_words.rs
+++ b/harper-core/src/linting/repeated_words.rs
@@ -12,7 +12,7 @@ pub struct RepeatedWords {
impl RepeatedWords {
pub fn new() -> Self {
Self {
- special_cases: vec![char_string!("is")],
+ special_cases: vec![char_string!("is"), char_string!("this")],
}
}