Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

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 Restore a real Yarn install command

Yarn's dlx docs describe it as installing a package in a temporary environment and running its binary, so it does not leave herb-language-server on PATH. In this global-install section, the following step and editor configs invoke herb-language-server directly; Yarn users who follow this line will get an LSP command-not-found instead of a persistent install. The same replacement appears in the other global-install snippets and should either remain a real install or change the later command to use yarn dlx ... --stdio.

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
```

```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
```

```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
```

```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
```

```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
```

```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

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

##### 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