Skip to content

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

docs(ls): rearrangement and minor updates to installation section

Matthew Espino6660a04c3268
diff --git a/packages/web/src/app.css b/packages/web/src/app.css
index 77d8428e8..99f33f1c9 100644
--- a/packages/web/src/app.css
+++ b/packages/web/src/app.css
@@ -23,6 +23,10 @@
@apply text-xl sm:text-xl lg:text-2xl py-4;
}
+ h4 {
+ @apply font-bold;
+ }
+
p {
@apply lg:text-base md:text-lg xl:text-lg py-4;
}
diff --git a/packages/web/src/routes/docs/integrations/language-server/+page.md b/packages/web/src/routes/docs/integrations/language-server/+page.md
index 200b52cbd..344a70b48 100644
--- a/packages/web/src/routes/docs/integrations/language-server/+page.md
+++ b/packages/web/src/routes/docs/integrations/language-server/+page.md
@@ -7,28 +7,33 @@ Out of the box, it has built-in support for parsing the comments of most program
## Installation
-### Cargo
+### Scoop
-If you have [Rust installed](https://www.rust-lang.org/tools/install), you're in luck!
-To install `harper-ls`, simply run:
+You can install Harper on Windows through [Scoop](https://scoop.sh/#/apps?q=harper).
```bash
-cargo install harper-ls --locked
+scoop install harper
```
-For this to work, make sure that `~/.cargo/bin` is in your system `$PATH`. If you are on a Debian-based Linux distribution, you may need to install `build-essential`.
+### Homebrew
+
+You can install Harper on macOS and Linux through [Homebrew](https://formulae.brew.sh/formula/harper).
+
+```bash
+brew install harper
+```
### Arch Linux
-**Stable Release**
+#### Stable Release
-The latest stable release is available through the `extra` repo:
+The latest stable release is available through the [`extra` repo](https://archlinux.org/packages/extra/x86_64/harper):
```bash
sudo pacman -S harper
```
-**Bleeding-Edge**
+#### Bleeding-Edge
If you want the latest bleeding-edge, you can install `harper-git` from the [Arch User Repository](https://aur.archlinux.org/packages/harper-git) with your favorite AUR helper:
@@ -37,22 +42,6 @@ paru -S harper-git
# or yay -S harper-git, etc.
```
-### Scoop
-
-You can install Harper on Windows through [Scoop](https://scoop.sh/).
-
-```bash
-scoop install harper
-```
-
-### Homebrew
-
-You may install Harper through [Homebrew](https://brew.sh).
-
-```bash
-brew install harper
-```
-
### Nixpkgs/NixOS
You may install Harper via
@@ -71,6 +60,16 @@ or if you have the `nix-command` and `flakes` experimental features enabled:
nix shell 'nixpkgs#harper'
```
+### Cargo
+
+If you have Rust installed, `harper-ls` is in [crates.io](https://crates.io/crates/harper-ls), so you can simply run:
+
+```bash
+cargo install harper-ls --locked
+```
+
+For this to work, make sure that `~/.cargo/bin` is in your system `$PATH`. If you are on a Debian-based Linux distribution, you may need to install `build-essential`.
+
### GitHub Releases
If none of the previous installation methods are available to you, we also provide [portable pre-built binaries on GitHub](https://github.com/Automattic/harper/releases).