Merge pull request #78 from data-man/patch-1

Add usage instruction with Sublime Text 3
This commit is contained in:
Auguste Rame 2020-05-24 11:47:50 -04:00 committed by GitHub
commit 7f599bef2e
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