Skip to content

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

Release 0.5.1

Elijah Potter7f713675c514
diff --git a/Cargo.lock b/Cargo.lock
index fba2ca95b..1d0abf89e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -553,7 +553,7 @@ dependencies = [
[[package]]
name = "harper-core"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"criterion",
"hashbrown",
@@ -569,7 +569,7 @@ dependencies = [
[[package]]
name = "harper-ls"
-version = "0.5.0"
+version = "0.5.1"
dependencies = [
"clap",
"harper-core",
diff --git a/harper-core/Cargo.toml b/harper-core/Cargo.toml
index 6df092825..b19e366ed 100644
--- a/harper-core/Cargo.toml
+++ b/harper-core/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-core"
-version = "0.5.0"
+version = "0.5.1"
edition = "2021"
description = "The language checker for artists."
license = "MIT OR Apache-2.0"
diff --git a/harper-core/src/linting/matcher.rs b/harper-core/src/linting/matcher.rs
index a98482a98..0ca6ef926 100644
--- a/harper-core/src/linting/matcher.rs
+++ b/harper-core/src/linting/matcher.rs
@@ -127,7 +127,8 @@ impl Matcher {
"then","her" => "than her",
"then","hers" => "than hers",
"then","him" => "than him",
- "then","his" => "than his"
+ "then","his" => "than his",
+ "simply","grammatical" => "simple grammatical"
};
triggers.push(Rule {
diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.toml
index ad4f08e74..fc5c30be1 100644
--- a/harper-ls/Cargo.toml
+++ b/harper-ls/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "harper-ls"
-version = "0.5.0"
+version = "0.5.1"
edition = "2021"
description = "The language checker for artists."
license = "MIT OR Apache-2.0"
diff --git a/harper-ls/src/tree_sitter_parser.rs b/harper-ls/src/tree_sitter_parser.rs
index c57563671..0068fb061 100644
--- a/harper-ls/src/tree_sitter_parser.rs
+++ b/harper-ls/src/tree_sitter_parser.rs
@@ -26,6 +26,7 @@ impl TreeSitterParser {
"c" => tree_sitter_c::language(),
"cpp" => tree_sitter_cpp::language(),
"h" => tree_sitter_cpp::language(),
+ "hpp" => tree_sitter_cpp::language(),
"rb" => tree_sitter_ruby::language(),
"swift" => tree_sitter_ruby::language(),
"cs" => tree_sitter_c_sharp::language(),