From ae0b220b5f76d20a3acc964773bd89a1b7d4b421 Mon Sep 17 00:00:00 2001 From: JJ Date: Wed, 29 May 2024 10:14:17 -0700 Subject: [PATCH] Add racket-langserver installation instructions (#2481) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Add racket-langserver installation instructions * Update docs/src/language_servers.md * add ``` add ``` because it was stripped. --------- Co-authored-by: Предраг Николић --- docs/src/language_servers.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/src/language_servers.md b/docs/src/language_servers.md index b85b1d59e..5a704b738 100644 --- a/docs/src/language_servers.md +++ b/docs/src/language_servers.md @@ -484,6 +484,24 @@ Follow installation instructions on [LSP-ruff](https://github.com/sublimelsp/LSP Follow installation instructions on [R-IDE](https://github.com/REditorSupport/sublime-ide-r#installation). +## Racket + +1. Install the [Racket](https://packagecontrol.io/packages/Racket) package from Package Control for syntax highlighting. +2. Follow the instructions for installation at [racket-langserver](https://github.com/jeapostrophe/racket-langserver). +3. Open `Preferences > Package Settings > LSP > Settings` and add the `"racket-langserver"` client configuration to the `"clients"`: + +```jsonc +{ + "clients": { + "racket-langserver": { + "enabled": true, + "command": ["racket", "-l", "racket-langserver"], + "selector": "source.racket" + } + } +} +``` + ## Ruby / Ruby on Rails There are multiple options: