diff --git a/docs/src/language_servers.md b/docs/src/language_servers.md index f5cfbc212..41162b1ac 100644 --- a/docs/src/language_servers.md +++ b/docs/src/language_servers.md @@ -717,6 +717,24 @@ Follow installation instructions on [LSP-tailwindcss](https://github.com/sublime Follow installation instructions on [LSP-terraform](https://github.com/sublimelsp/LSP-terraform). +## Toit + +1. Install the [Toit](https://packagecontrol.io/packages/Toit) package from Package Control for syntax highlighting. +2. Install the [Jaguar Language Server](https://github.com/toitlang/jaguar). +3. Open `Preferences > Package Settings > LSP > Settings` and add the `"jag"` client configuration to the `"clients"`: + + ```jsonc + { + "clients": { + "jag": { + "enabled": true, + "command": ["jag" "lsp"], + "selector": "source.toit" + } + } + } + ``` + ## TypeScript See [Javascript/TypeScript](#javascripttypescript).