Skip to content

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

fix: "after" and "before" should be allowed as terminating conjunctions

Elijah Pottera57909b1070b
diff --git a/harper-core/src/linting/terminating_conjunctions.rs b/harper-core/src/linting/terminating_conjunctions.rs
index b676c9d4b..8dc1b4d5f 100644
--- a/harper-core/src/linting/terminating_conjunctions.rs
+++ b/harper-core/src/linting/terminating_conjunctions.rs
@@ -13,11 +13,9 @@ impl Default for TerminatingConjunctions {
SequencePattern::default()
.then_any_word_in(Lrc::new(
[
- "after",
"although",
"as",
"because",
- "before",
"if",
"lest",
"once",