Add usage instruction with Sublime Text 3

This commit is contained in:
Dmitry Atamanov 2020-05-24 20:45:09 +05:00 committed by GitHub
parent fbcf2abfd2
commit 637814e9d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -59,6 +59,24 @@ The following options are currently available.
Install the `zls-vscode` extension from [here](https://github.com/zigtools/zls-vscode/releases).
### Sublime Text 3
- Install the `LSP` package from [here](https://github.com/sublimelsp/LSP/releases) or via Package Control.
- Add this snippet to `LSP's` user settings:
```json
{
"clients": {
"zig":{
"command": ["zls"],
"enabled": true,
"languageId": "zig",
"document_selector": "source.zig",
"syntaxes": ["Packages/Zig/Syntaxes/Zig.tmLanguage"]
}
}
}
```
## Related Projects
- [`sublime-zig-language` by @prime31](https://github.com/prime31/sublime-zig-language)
- Supports basic language features