Skip to content

Commit 57c01e7

Browse files
Add Toit LSP to docs (#2425)
* Add Toit LSP * docs(update): path to toit lsp * update(doc): lsp toit corrected
1 parent 79a2128 commit 57c01e7

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/src/language_servers.md

+18
Original file line numberDiff line numberDiff line change
@@ -717,6 +717,24 @@ Follow installation instructions on [LSP-tailwindcss](https://github.com/sublime
717717

718718
Follow installation instructions on [LSP-terraform](https://github.com/sublimelsp/LSP-terraform).
719719

720+
## Toit
721+
722+
1. Install the [Toit](https://packagecontrol.io/packages/Toit) package from Package Control for syntax highlighting.
723+
2. Install the [Jaguar Language Server](https://github.com/toitlang/jaguar).
724+
3. Open `Preferences > Package Settings > LSP > Settings` and add the `"jag"` client configuration to the `"clients"`:
725+
726+
```jsonc
727+
{
728+
"clients": {
729+
"jag": {
730+
"enabled": true,
731+
"command": ["jag" "lsp"],
732+
"selector": "source.toit"
733+
}
734+
}
735+
}
736+
```
737+
720738
## TypeScript
721739

722740
See [Javascript/TypeScript](#javascripttypescript).

0 commit comments

Comments
 (0)