Skip to content

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

feat: added `terminating_conjunctions` to config example

Elijah Potter953869b8371f
diff --git a/harper-core/src/linting/matcher.rs b/harper-core/src/linting/matcher.rs
index 049d278da..f3ab2e389 100644
--- a/harper-core/src/linting/matcher.rs
+++ b/harper-core/src/linting/matcher.rs
@@ -272,7 +272,8 @@ impl Matcher {
"Tree", "sitter" => "Tree-sitter",
"all", "of", "the" => "all the",
"an", "other" => "another",
- "not", "longer" => "no longer"
+ "not", "longer" => "no longer",
+ "to", "towards" => "towards"
};
// TODO: Improve the description for this lint specifically.
diff --git a/harper-ls/README.md b/harper-ls/README.md
index c82061aaf..aa4691d2b 100644
--- a/harper-ls/README.md
+++ b/harper-ls/README.md
@@ -78,6 +78,7 @@ lspconfig.harper_ls.setup {
multiple_sequential_pronouns = true,
linking_verbs = false,
avoid_curses = true,
+ terminating_conjunctions = true
}
}
},