From 7af44d6bf56e38469d8b020d686648acf385370a Mon Sep 17 00:00:00 2001 From: "Erik-B. Ernst" Date: Thu, 21 Dec 2023 21:52:38 +0100 Subject: [PATCH] docs: Move Steep in Ruby Section & minor cleanups (#2377) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Предраг Николић --- docs/src/language_servers.md | 51 ++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/docs/src/language_servers.md b/docs/src/language_servers.md index d4578e40e..dd89010d0 100644 --- a/docs/src/language_servers.md +++ b/docs/src/language_servers.md @@ -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). @@ -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).