Skip to content

Commit

Permalink
docs: Add stimulus-lsp to language_servers.md (#2391)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocarreterom committed Jan 10, 2024
1 parent 36871c2 commit ffe8f91
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions docs/src/language_servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -514,6 +514,28 @@ There are multiple options:
}
```

### Stimulus LSP

1. Install the `stimulus-language-server` package (see [github:marcoroth/stimulus-lsp](https://github.com/marcoroth/stimulus-lsp)):

```sh
npm install -g stimulus-language-server
```

2. Open `Preferences > Package Settings > LSP > Settings` and add the `"stimulus"` client configuration to the `"clients"`:

```jsonc
{
"clients": {
"stimulus": {
"enabled": true,
"command": ["stimulus-language-server", "--stdio"],
"selector": "text.html.rails"
}
}
}
```

### Ruby LSP

1. Install the `ruby-lsp` gem (see [github:Shopify/ruby-lsp](https://github.com/Shopify/ruby-lsp)):
Expand Down

0 comments on commit ffe8f91

Please sign in to comment.