Skip to content

Commit

Permalink
Add Toit LSP to docs (#2425)
Browse files Browse the repository at this point in the history
* Add Toit LSP

* docs(update): path to toit lsp

* update(doc): lsp toit corrected
  • Loading branch information
serjan-nasredin authored Mar 5, 2024
1 parent 79a2128 commit 57c01e7
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions docs/src/language_servers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 57c01e7

Please sign in to comment.