Skip to content
2 changes: 1 addition & 1 deletion docs/docs/integrations/editors.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ npm install -g @herb-tools/language-server
```

```bash [yarn]
yarn global add @herb-tools/language-server
yarn dlx @herb-tools/language-server --stdio

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve a real Yarn install step

When a Yarn user follows this editor setup, this command starts the language server once instead of installing herb-language-server onto PATH: Yarn's dlx docs describe it as running a package in a temporary environment. The subsequent instructions on this page and the editor-specific pages still run or configure herb-language-server --stdio, so they fail in a fresh shell for Yarn-only users; either keep an actual installation path or update the editor commands to invoke Yarn each time.

Useful? React with 👍 / 👎.

```

```bash [pnpm]
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/integrations/editors/helix.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ npm install -g @herb-tools/language-server
```

```bash [yarn]
yarn global add @herb-tools/language-server
yarn dlx @herb-tools/language-server --stdio
```

```bash [pnpm]
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/integrations/editors/neovim.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ npm install -g @herb-tools/language-server
```

```bash [yarn]
yarn global add @herb-tools/language-server
yarn dlx @herb-tools/language-server --stdio
```

```bash [pnpm]
Expand Down Expand Up @@ -78,7 +78,7 @@ npm install -g @herb-tools/language-server
```

```bash [yarn]
yarn global add @herb-tools/language-server
yarn dlx @herb-tools/language-server --stdio
```

```bash [pnpm]
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/integrations/editors/sublime.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ npm install -g @herb-tools/language-server
```

```bash [yarn]
yarn global add @herb-tools/language-server
yarn dlx @herb-tools/language-server --stdio
```

```bash [pnpm]
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/integrations/editors/vim.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ npm install -g @herb-tools/language-server
```

```bash [yarn]
yarn global add @herb-tools/language-server
yarn dlx @herb-tools/language-server --stdio
```

```bash [pnpm]
Expand Down
2 changes: 1 addition & 1 deletion javascript/packages/formatter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pnpm add -g @herb-tools/formatter
```

```shell [yarn]
yarn global add @herb-tools/formatter
yarn dlx @herb-tools/formatter
```

```shell [bun]
Expand Down
4 changes: 2 additions & 2 deletions javascript/packages/language-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ You can use the language server in any editor that supports the [Language Server
npm install -g @herb-tools/language-server
```

###### Yarn (Global)
###### Yarn (dlx)

```bash
yarn global add @herb-tools/language-server
yarn dlx @herb-tools/language-server --stdio
```

##### Preview Releases
Expand Down
2 changes: 1 addition & 1 deletion javascript/packages/linter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pnpm add -g @herb-tools/linter
```

```shell [yarn]
yarn global add @herb-tools/linter
yarn dlx @herb-tools/linter
```

```shell [bun]
Expand Down