Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
Release 1.8.0
Elijah Potter6678b83c5207
diff --git a/Cargo.lock b/Cargo.lockindex c4cbed69d..1e0403317 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -2681,7 +2681,7 @@ dependencies = [[[package]]name = "harper-asciidoc"-version = "1.7.0"+version = "1.8.0"dependencies = ["harper-core","harper-tree-sitter",@@ -2692,7 +2692,7 @@ dependencies = [[[package]]name = "harper-brill"-version = "1.7.0"+version = "1.8.0"dependencies = ["harper-pos-utils","serde_json",@@ -2727,7 +2727,7 @@ dependencies = [[[package]]name = "harper-comments"-version = "1.7.0"+version = "1.8.0"dependencies = ["harper-core","harper-html",@@ -2763,7 +2763,7 @@ dependencies = [[[package]]name = "harper-core"-version = "1.7.0"+version = "1.8.0"dependencies = ["ammonia","bitflags 2.11.0",@@ -2803,7 +2803,7 @@ dependencies = [[[package]]name = "harper-html"-version = "1.7.0"+version = "1.8.0"dependencies = ["harper-core","harper-tree-sitter",@@ -2814,7 +2814,7 @@ dependencies = [[[package]]name = "harper-ink"-version = "1.7.0"+version = "1.8.0"dependencies = ["harper-core","harper-tree-sitter",@@ -2825,7 +2825,7 @@ dependencies = [[[package]]name = "harper-jjdescription"-version = "1.7.0"+version = "1.8.0"dependencies = ["harper-core","harper-tree-sitter",@@ -2836,7 +2836,7 @@ dependencies = [[[package]]name = "harper-literate-haskell"-version = "1.7.0"+version = "1.8.0"dependencies = ["harper-comments","harper-core",@@ -2847,7 +2847,7 @@ dependencies = [[[package]]name = "harper-ls"-version = "1.7.0"+version = "1.8.0"dependencies = ["anyhow","clap",@@ -2878,7 +2878,7 @@ dependencies = [[[package]]name = "harper-pos-utils"-version = "1.7.0"+version = "1.8.0"dependencies = ["burn","burn-ndarray",@@ -2896,7 +2896,7 @@ dependencies = [[[package]]name = "harper-python"-version = "1.7.0"+version = "1.8.0"dependencies = ["harper-core","harper-tree-sitter",@@ -2907,7 +2907,7 @@ dependencies = [[[package]]name = "harper-stats"-version = "1.7.0"+version = "1.8.0"dependencies = ["chrono","harper-core",@@ -2918,7 +2918,7 @@ dependencies = [[[package]]name = "harper-tex"-version = "1.6.0"+version = "1.8.0"dependencies = ["harper-core","paste",@@ -2926,7 +2926,7 @@ dependencies = [[[package]]name = "harper-thesaurus"-version = "1.7.0"+version = "1.8.0"dependencies = ["hashbrown 0.16.1","indexmap",@@ -2937,7 +2937,7 @@ dependencies = [[[package]]name = "harper-tree-sitter"-version = "1.7.0"+version = "1.8.0"dependencies = ["harper-core","tree-sitter",@@ -2956,7 +2956,7 @@ dependencies = [[[package]]name = "harper-typst"-version = "1.7.0"+version = "1.8.0"dependencies = ["harper-core","itertools 0.14.0",diff --git a/harper-asciidoc/Cargo.toml b/harper-asciidoc/Cargo.tomlindex 54763834c..fbc059a88 100644--- a/harper-asciidoc/Cargo.toml+++ b/harper-asciidoc/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-asciidoc"-version = "1.7.0"+version = "1.8.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-brill/Cargo.toml b/harper-brill/Cargo.tomlindex ab4db71a3..018d88ffc 100644--- a/harper-brill/Cargo.toml+++ b/harper-brill/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-brill"-version = "1.7.0"+version = "1.8.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-comments/Cargo.toml b/harper-comments/Cargo.tomlindex d58a2dd2e..2e4e04756 100644--- a/harper-comments/Cargo.toml+++ b/harper-comments/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-comments"-version = "1.7.0"+version = "1.8.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-core/Cargo.toml b/harper-core/Cargo.tomlindex a2acb225f..30aa8ea04 100644--- a/harper-core/Cargo.toml+++ b/harper-core/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-core"-version = "1.7.0"+version = "1.8.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-html/Cargo.toml b/harper-html/Cargo.tomlindex 42809f70a..9864b4d7c 100644--- a/harper-html/Cargo.toml+++ b/harper-html/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-html"-version = "1.7.0"+version = "1.8.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-ink/Cargo.toml b/harper-ink/Cargo.tomlindex 2a7d4e377..480e0d900 100644--- a/harper-ink/Cargo.toml+++ b/harper-ink/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-ink"-version = "1.7.0"+version = "1.8.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-jjdescription/Cargo.toml b/harper-jjdescription/Cargo.tomlindex 9c09724a8..ef800c05a 100644--- a/harper-jjdescription/Cargo.toml+++ b/harper-jjdescription/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-jjdescription"-version = "1.7.0"+version = "1.8.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-literate-haskell/Cargo.toml b/harper-literate-haskell/Cargo.tomlindex 6f495c484..003e380df 100644--- a/harper-literate-haskell/Cargo.toml+++ b/harper-literate-haskell/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-literate-haskell"-version = "1.7.0"+version = "1.8.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-ls/Cargo.toml b/harper-ls/Cargo.tomlindex e720e3596..359c487fa 100644--- a/harper-ls/Cargo.toml+++ b/harper-ls/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-ls"-version = "1.7.0"+version = "1.8.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-pos-utils/Cargo.toml b/harper-pos-utils/Cargo.tomlindex 6571359d5..3481e83e9 100644--- a/harper-pos-utils/Cargo.toml+++ b/harper-pos-utils/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-pos-utils"-version = "1.7.0"+version = "1.8.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-python/Cargo.toml b/harper-python/Cargo.tomlindex 9924e8b6f..02c689d02 100644--- a/harper-python/Cargo.toml+++ b/harper-python/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-python"-version = "1.7.0"+version = "1.8.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-stats/Cargo.toml b/harper-stats/Cargo.tomlindex 74839c7b0..87c2747e1 100644--- a/harper-stats/Cargo.toml+++ b/harper-stats/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-stats"-version = "1.7.0"+version = "1.8.0"edition = "2021"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-tex/Cargo.toml b/harper-tex/Cargo.tomlindex 7a6f96600..c7f5da833 100644--- a/harper-tex/Cargo.toml+++ b/harper-tex/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-tex"-version = "1.6.0"+version = "1.8.0"edition = "2024"[dependencies]diff --git a/harper-thesaurus/Cargo.toml b/harper-thesaurus/Cargo.tomlindex 58b8543a2..498e159c4 100644--- a/harper-thesaurus/Cargo.toml+++ b/harper-thesaurus/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-thesaurus"-version = "1.7.0"+version = "1.8.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-tree-sitter/Cargo.toml b/harper-tree-sitter/Cargo.tomlindex 7f1160e95..1d68ed283 100644--- a/harper-tree-sitter/Cargo.toml+++ b/harper-tree-sitter/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-tree-sitter"-version = "1.7.0"+version = "1.8.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/harper-typst/Cargo.toml b/harper-typst/Cargo.tomlindex 8c6cc27a0..eaec1d9e9 100644--- a/harper-typst/Cargo.toml+++ b/harper-typst/Cargo.toml@@ -1,6 +1,6 @@[package]name = "harper-typst"-version = "1.7.0"+version = "1.8.0"edition = "2024"description = "The language checker for developers."license = "Apache-2.0"diff --git a/packages/chrome-plugin/package.json b/packages/chrome-plugin/package.jsonindex c28b2a93c..45e155691 100644--- a/packages/chrome-plugin/package.json+++ b/packages/chrome-plugin/package.json@@ -1,7 +1,7 @@{"name": "chrome-plugin","displayName": "chrome-plugin",- "version": "1.7.0",+ "version": "1.8.0","author": "no one","description": "The private grammar checker for 21st Century English","type": "module",diff --git a/packages/harper.js/package.json b/packages/harper.js/package.jsonindex 1101c9b6d..b7756aa95 100644--- a/packages/harper.js/package.json+++ b/packages/harper.js/package.json@@ -1,6 +1,6 @@{"name": "harper.js",- "version": "1.7.0",+ "version": "1.8.0","license": "Apache-2.0","author": "Elijah Potter","description": "The grammar checker that respects your privacy.",diff --git a/packages/obsidian-plugin/package.json b/packages/obsidian-plugin/package.jsonindex a854e4c5b..818d24320 100644--- a/packages/obsidian-plugin/package.json+++ b/packages/obsidian-plugin/package.json@@ -1,7 +1,7 @@{"name": "obsidian-plugin","private": true,- "version": "1.7.0",+ "version": "1.8.0","main": "main.js","devDependencies": {"@playwright/test": "^1.58.0",diff --git a/packages/vscode-plugin/package.json b/packages/vscode-plugin/package.jsonindex 1faab96f1..453b3d465 100644--- a/packages/vscode-plugin/package.json+++ b/packages/vscode-plugin/package.json@@ -2,7 +2,7 @@"name": "harper","displayName": "Harper - Grammar / Spell Checking","description": "The grammar checker for developers",- "version": "1.7.0",+ "version": "1.8.0","private": true,"author": "Elijah Potter","publisher": "elijah-potter",@@ -250,6 +250,12 @@"default": true,"description": "Corrects `an` to `and` after `ahead`."},+ "harper.linters.Albeit": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects this expression to the standard `albeit`."+ },"harper.linters.AllIntentsAndPurposes": {"scope": "resource","type": "boolean",@@ -262,6 +268,18 @@"default": true,"description": "Guides this expression toward the standard `all of a sudden`."},+ "harper.linters.AllReady": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Flags `all ready` when it precedes an adjective so the adverb `already` can take its place."+ },+ "harper.linters.AllThough": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Nobody means to write the two-word phrase `all though` when the single word `although` is intended."+ },"harper.linters.AllowTo": {"scope": "resource","type": "boolean",@@ -388,6 +406,12 @@"default": true,"description": "When referring to Apple products and services, make sure to treat them as proper nouns."},+ "harper.linters.ArriveOnWeekday": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Keeps schedules explicit by preferring the familiar `arrive on Friday` pattern instead of a bare weekday."+ },"harper.linters.AsFarAsIKnow": {"scope": "resource","type": "boolean",@@ -598,6 +622,12 @@"default": true,"description": "The verb `beware` naturally pairs with `of` before the noun being warned about, so swap other prepositions for clarity."},+ "harper.linters.BlacklistWhitelist": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Normalize the two-word sequence `black list`/`white list` so it matches the established compound noun or verb."+ },"harper.linters.BlanketStatement": {"scope": "resource","type": "boolean",@@ -712,6 +742,12 @@"default": true,"description": "Flags common soundalikes of \"chock-full\" and makes sure they're hyphenated."},+ "harper.linters.ClickThroughRate": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Hyphenates the verb+preposition pair when it directly precedes rate-style nouns, mirroring how these terms are commonly styled in analytics writing."+ },"harper.linters.ClientOrServerSide": {"scope": "resource","type": "boolean",@@ -742,6 +778,12 @@"default": true,"description": "Promotes `I` in compound subjects headed by a possessive determiner."},+ "harper.linters.ComprisesOf": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "`Comprises` already contains the notion of `of`, so following it with another `of` is redundant."+ },"harper.linters.CondenseAllThe": {"scope": "resource","type": "boolean",@@ -874,6 +916,12 @@"default": true,"description": "Looks for incorrect spacing inside the closed compound `devops`."},+ "harper.linters.DidPast": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects past forms of verbs to their base form, when used together with \"did\"."+ },"harper.linters.Didnt": {"scope": "resource","type": "boolean",@@ -964,12 +1012,24 @@"default": true,"description": "Replaces the determiner `no` with `any` when it follows the auxiliary `didn't/did not` plus a main verb (e.g., have, need, want, make, take, get) so the clause contains only one negation."},+ "harper.linters.DuringAges": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "The idiomatic duration is 'for ages', so swap the initial preposition whenever the words refer to a general span."+ },"harper.linters.EachAndEveryOne": {"scope": "resource","type": "boolean","default": true,"description": "Corrects `each and everyone` to `each and every one`."},+ "harper.linters.EagleEyed": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Treats the phrase as a compound modifier and replaces the space with a hyphen so it reads like one idea."+ },"harper.linters.EggYolk": {"scope": "resource","type": "boolean",@@ -1084,6 +1144,12 @@"default": true,"description": "Expands the informal abbreviation `cuz` to the full word `because` for formality."},+ "harper.linters.ExpandControl": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Expands the informal abbreviation `ctrl` to the full word `control` for clarity."+ },"harper.linters.ExpandDecl": {"scope": "resource","type": "boolean",@@ -1384,6 +1450,12 @@"default": true,"description": "Replaces `go at war` with `go to war`."},+ "harper.linters.GoggleBrand": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Replaces the misspelling `goggle` when it is paired with a well-known Google service."+ },"harper.linters.GoingTo": {"scope": "resource","type": "boolean",@@ -1600,6 +1672,12 @@"default": true,"description": "Expands an initialism."},+ "harper.linters.ImitateFrom": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "After `imitate ...`, idiomatic phrasing points to the inspiration with `of` instead of `from`."+ },"harper.linters.InAWhile": {"scope": "resource","type": "boolean",@@ -1760,7 +1838,7 @@"scope": "resource","type": "boolean","default": true,- "description": "Detects places where the possessive `its` should be the contraction `it's`, including before verbs/clauses and before proper nouns after opinion verbs."+ "description": "The possessive `its` is often mistaken for `it's` when it is followed by vague pronouns (any-, every-, some-, or no- + body/one/thing/where)."},"harper.linters.ItsPossessive": {"scope": "resource",@@ -1822,6 +1900,12 @@"default": true,"description": "Changes `kid regards` to `kind regards`."},+ "harper.linters.KindSortOf": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Flags `kind if` or `sort off` that stand before qualifiers so the filler `of` stays intact."+ },"harper.linters.Koreas": {"scope": "resource","type": "boolean",@@ -1870,6 +1954,12 @@"default": true,"description": "Flags nonstandard verb forms of `layout` (like `layouted` and `layouting`) and suggests the standard English verb forms (`laid out` and `laying out`)."},+ "harper.linters.LeadRiseTo": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects `leads rise to` to `gives rise to`."+ },"harper.linters.LeaveToFor": {"scope": "resource","type": "boolean",@@ -1924,6 +2014,12 @@"default": true,"description": "Corrects `like no tomorrow` to `like there's no tomorrow`."},+ "harper.linters.LikelyHood": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Treat the split tokens as one compound word (`likelihood`) whenever the adjective `likely` precedes `hood`."+ },"harper.linters.Likewise": {"scope": "resource","type": "boolean",@@ -2008,6 +2104,12 @@"default": true,"description": "Detects mass nouns used as countable nouns."},+ "harper.linters.MercedesBenzHyphen": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Connect the separate words `Mercedes` and `Benz` whenever they appear together so the brand stays consistent with its official styling."+ },"harper.linters.MergeWords": {"scope": "resource","type": "boolean",@@ -2248,6 +2350,12 @@"default": false,"description": "The Oxford comma is one of the more controversial rules in common use today. Enabling this lint checks that there is no comma before `and`, `or` or `nor` when listing out more than two ideas."},+ "harper.linters.NobelPeacePrize": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Corrects the frequent typos that swap the Nobel/Peace/Prize spelling when people mention the prize."+ },"harper.linters.Nobody": {"scope": "resource","type": "boolean",@@ -2272,6 +2380,12 @@"default": true,"description": "Corrects the order of the pronoun and modal verb after `nor`."},+ "harper.linters.NotBeAfterNot": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Removes the redundant linking verb that sneaks in between `not` and the predicate after a conjugated `be`."+ },"harper.linters.NotIn": {"scope": "resource","type": "boolean",@@ -2368,6 +2482,12 @@"default": true,"description": "Detects the idiom `oldest X in the books`, which should use singular `book`."},+ "harper.linters.OnFirstGlance": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "The standard idiom starts with `at` for quick appraisals, so swap the preposition to keep the phrase idiomatic."+ },"harper.linters.OnFloor": {"scope": "resource","type": "boolean",@@ -2410,6 +2530,12 @@"default": true,"description": "This linter flags instances of the nonstandard phrase `one in the same`. The correct, more accepted form is `one and the same`"},+ "harper.linters.OneHanded": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Treat 'one handed' and 'two handed' as single adjectives before nouns so the measurement stays attached to 'handed'."+ },"harper.linters.OneOfTheSingular": {"scope": "resource","type": "boolean",@@ -2866,6 +2992,18 @@"default": true,"description": "Corrects nonstandard variants of 'shoot oneself in the foot'."},+ "harper.linters.ShutdownVerb": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Keeps `shutdown` as a noun when it stands alone but swaps it for the phrasal verb `shut down` whenever an auxiliary precedes it."+ },+ "harper.linters.SimilarLike": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "The adjective 'similar' pairs with the preposition 'to', so never follow it with 'like'."+ },"harper.linters.SimpleGrammatical": {"scope": "resource","type": "boolean",@@ -2992,6 +3130,12 @@"default": false,"description": "Most style guides recommend that you spell out numbers less than ten."},+ "harper.linters.SpinalChord": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "The words `spinal`, `vocal`, `umbilical`, and `electrical` are followed by `cord`, so replace accidental `chord`/`chords`."+ },"harper.linters.SplitWords": {"scope": "resource","type": "boolean",@@ -3016,6 +3160,12 @@"default": true,"description": "Corrects `statue of limitations` to `statute of limitations`."},+ "harper.linters.StrikeChord": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "The phrase about resonating with someone is spelled with a chord, not a cord, so fix the typo and keep the idiom intact."+ },"harper.linters.SubjectPronoun": {"scope": "resource","type": "boolean",@@ -3166,6 +3316,12 @@"default": true,"description": "Corrects the common misspelling of `these` as `theses`."},+ "harper.linters.TheyToThem": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Converts `they` to `them` whenever the pronoun serves as an object after common prepositions or actions that take direct objects."+ },"harper.linters.TheyreToTheir": {"scope": "resource","type": "boolean",@@ -3196,6 +3352,12 @@"default": true,"description": "Changes `though process` to `thought process`."},+ "harper.linters.ThreatenVerb": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Normalize `threat` to `threaten` when it is used after modals (or their contractions) because the noun form is being mistaken for a verb."+ },"harper.linters.ThrowAway": {"scope": "resource","type": "boolean",@@ -3220,6 +3382,12 @@"default": true,"description": "Flags duplicated `to` around certain adverbs (e.g. `to never to`) and offers fixes that keep only one `to`."},+ "harper.linters.ToBackOut": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Treats `to backout` as a mistyped infinitive and prefers the two-word verb."+ },"harper.linters.ToBeHonest": {"scope": "resource","type": "boolean",@@ -3316,6 +3484,12 @@"default": true,"description": "Corrects `try one's hands at` to `try one's hand at`."},+ "harper.linters.TuffEnough": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "The adjective `tough` pairs with words like `enough` or `like`, so correct the common typo `tuff` in those constructions."+ },"harper.linters.TumblrNames": {"scope": "resource","type": "boolean",@@ -3388,6 +3562,12 @@"default": true,"description": "Looks for situations where a verb was written where an adjective is often intended."},+ "harper.linters.VeryKnown": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "`very well-known` (or `well-known`) is the standard way to describe something widely recognized, so we flag the uncommon `very known` word pair."+ },"harper.linters.VeryLess": {"scope": "resource","type": "boolean",@@ -3591,6 +3771,12 @@"type": "boolean","default": true,"description": "Corrects `yeh` to `yeah`."+ },+ "harper.linters.YourPredicateAdjective": {+ "scope": "resource",+ "type": "boolean",+ "default": true,+ "description": "Catches cases where a predicate adjective follows `your`, `yr`, `ur`, or `ya` and suggests the proper contraction so the sentence states how someone is feeling or behaving."}}}