Skip to content

Commit

Permalink
update config gen documentation on vscode config generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Techatrix committed Dec 20, 2023
1 parent a690caf commit bb022d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/config_gen/config_gen.zig
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ pub fn main() !void {
\\
\\ --help Prints this message
\\ --readme-path [path] Update readme file (see README.md)
\\ --generate-vscode-config [path] Output zls-vscode configurations
\\ --vscode-config-path [path] Output zls-vscode configurations
\\ --generate-config-path [path] Output path to config file (see src/Config.zig)
\\ --generate-schema-path [path] Output json schema file (see schema.json)
\\ --generate-version-data [version] Output version data file (default: master)
Expand Down Expand Up @@ -1075,7 +1075,7 @@ pub fn main() !void {
if (vscode_config_path) |output_path| {
try generateVSCodeConfigFile(gpa, config, output_path);
try stderr.writeAll(
\\Changing configuration options may also require editing the `package.json` from zls-vscode at https://github.com/zigtools/zls-vscode/blob/master/package.json
\\Changing configuration options may also require editing the `package.json` from ziglang/vscode-zig at https://github.com/ziglang/vscode-zig/blob/master/package.json
\\You can use `zig build gen -- --vscode-config-path /path/to/output/file.json` to generate the new configuration properties which you can then copy into `package.json`
\\
);
Expand Down

0 comments on commit bb022d7

Please sign in to comment.