Skip to content

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

feat: announced availability through `mason.nvim`

Elijah Potter5f3c69a67c8f
diff --git a/harper-core/src/linting/spelled_numbers.rs b/harper-core/src/linting/spelled_numbers.rs
index 15924a513..13366cf7e 100644
--- a/harper-core/src/linting/spelled_numbers.rs
+++ b/harper-core/src/linting/spelled_numbers.rs
@@ -13,7 +13,6 @@ impl Linter for SpelledNumbers {
for number_tok in document.iter_numbers() {
let number = number_tok.kind.number().unwrap();
- dbg!(number);
if number - number.floor() < EPSILON && number <= 100. {
lints.push(Lint {
diff --git a/harper-ls/README.md b/harper-ls/README.md
index a073a36e0..4f5619d39 100644
--- a/harper-ls/README.md
+++ b/harper-ls/README.md
@@ -5,20 +5,22 @@ Out of the box, it has built-in support for parsing the comments of most program
## Installation
-Binary releases are coming soon, so if you are looking for a single file download, you'll have to wait.
+How you choose to install `harper-ls` depends on your use-case.
+Right now, we only directly support usage through [`nvim-lspconfig`](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#harper_ls).
+Refer to the linked documentation for more information.
-However, if you happen to have [Rust installed](https://www.rust-lang.org/tools/install), you're in luck!
-To install `harper-ls`, the variant of Harper for text editors like Neovim, simply run:
+If you happen to use [`mason.nvim`](https://github.com/williamboman/mason.nvim), installation will be pretty straightforward.
+`harper-ls` is in the official Mason registry, so you can install it the same way you install anything through Mason.
+
+If you __don't__ install your LSPs through Mason, we also have binary releases are available on [GitHub](https://github.com/elijah-potter/harper/releases).
+
+Finally, if you have [Rust installed](https://www.rust-lang.org/tools/install), you're in luck!
+To install `harper-ls`, simply run:
```bash
cargo install harper-ls
```
-### Neovim Setup
-
-Right now we only support using `nvim-lspconfig` to run Harper in Neovim.
-Refer to [the documentation](https://github.com/neovim/nvim-lspconfig/blob/master/doc/server_configurations.md#harper_ls) for more information.
-
## Dictionaries
`harper-ls` has three kinds of dictionaries: user, file-local, and static dictionaries.
diff --git a/precommit.sh b/precommit.sh
index d111dc804..a648aed6c 100755
--- a/precommit.sh
+++ b/precommit.sh
@@ -14,6 +14,7 @@ cargo test --release
cargo doc
cargo build
cargo build --release
+cargo bench
cd $R/harper-wasm
wasm-pack build