Update data for zig 0.7.0 and the current master branch

This commit is contained in:
Frank Denis 2020-11-15 12:01:33 +01:00
parent 72f811e8dc
commit ccfb18ec54
4 changed files with 622 additions and 589 deletions

View File

@ -37,7 +37,7 @@ The `zls` executable will be saved to `zls\zig-cache\bin`.
| Option | Type | Default Value | What it Does | | Option | Type | Default Value | What it Does |
| --- | --- | --- | --- | | --- | --- | --- | --- |
| `-Ddata_version` | `string` (master or 0.6.0) | master | The data file version. This selects the files in the `src/data` folder that correspond to the Zig version being served.| | `-Ddata_version` | `string` (master or 0.7.0) | master | 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!

View File

@ -134,7 +134,7 @@ pub fn build(b: *std.build.Builder) !void {
exe.addBuildOption( exe.addBuildOption(
[]const u8, []const u8,
"data_version", "data_version",
b.option([]const u8, "data_version", "The data version - either 0.6.0 or master.") orelse "master", b.option([]const u8, "data_version", "The data version - either 0.7.0 or master.") orelse "master",
); );
exe.addPackage(.{ .name = "known-folders", .path = "src/known-folders/known-folders.zig" }); exe.addPackage(.{ .name = "known-folders", .path = "src/known-folders/known-folders.zig" });

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff