Skip to content

Commit

Permalink
docs: Move Steep in Ruby Section & minor cleanups (#2377)
Browse files Browse the repository at this point in the history
Co-authored-by: Предраг Николић <[email protected]>
  • Loading branch information
themilkman and predragnikolic authored Dec 21, 2023
1 parent df4b5e4 commit 7af44d6
Showing 1 changed file with 22 additions and 29 deletions.
51 changes: 22 additions & 29 deletions docs/src/language_servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,28 @@ There are multiple options:
}
```

### Steep

1. Install the `steep` gem (see [github:soutaro/steep](https://github.com/soutaro/steep)):

```sh
gem install steep
```

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

```jsonc
{
"clients": {
"steep": {
"enabled": true,
"command": ["steep", "langserver"],
"selector": "source.ruby | text.html.ruby",
}
}
}
```

## Rust

Follow installation instructions on [LSP-rust-analyzer](https://github.com/sublimelsp/LSP-rust-analyzer).
Expand Down Expand Up @@ -605,35 +627,6 @@ Follow installation instructions on [LSP-metals](https://github.com/scalameta/me
}
```

## Steep

1. Add the steep gem into your Gemfile and install it

```bash
bundle install
```

2. Binstub steep executable

```bash
steep binstub
```

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

```jsonc
{
"clients": {
"steep": {
"command": ["bin/steep", "langserver"],
"selector": "source.ruby | text.html.ruby",
}
}
}
```

4. Activate server for the currect project - open Command Palette `LSP: Enable Language Server in Project > steep`

## Stylelint

Follow installation instructions on [LSP-stylelint](https://github.com/sublimelsp/LSP-stylelint).
Expand Down

0 comments on commit 7af44d6

Please sign in to comment.