Update -Ddata_version explanation

This commit is contained in:
markfirmware 2020-05-18 12:56:43 -04:00 committed by GitHub
parent acd85c0f39
commit de51d9f4f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,9 +27,9 @@ zig build
### Build Options ### Build Options
| Option | Type | What it Does | | Option | Type | Default Value | What it Does |
| --- | --- | --- | | --- | --- | --- | --- |
| `-Ddata_version` | `string` | The data file version. Any files in the `src/data` file that correspond with the Zig version you want the language server to build for (0.6.0, master). | `-Ddata_version` | `string` (master or 0.6.0) | 0.6.0 | The data file version. This selects the files in the `src/data` folder that correspond to the Zig version being served.
Then, you can use the `zls` executable in an editor of your choice that has a Zig language server client! Then, you can use the `zls` executable in an editor of your choice that has a Zig language server client!