Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make zig.path and zig.zls.path default to "" (look up in PATH). #166

Merged
merged 1 commit into from
Jan 16, 2024
Merged

Make zig.path and zig.zls.path default to "" (look up in PATH). #166

merged 1 commit into from
Jan 16, 2024

Conversation

alexrp
Copy link
Member

@alexrp alexrp commented Jan 15, 2024

  • These will be overwritten by the initial setup process anyway.
  • This at least ensures that the default value doesn't cause a warning when editing settings.json.
  • Looking these programs up in PATH seems like a sensible default and is consistent with many other extensions.

Closes #157.

* These will be overwritten by the initial setup process anyway.
* This at least ensures that the default value doesn't cause a warning when editing `settings.json`.
* Looking these programs up in `PATH` seems like a sensible default and is consistent with many other extensions.

Closes #157.
@Vexu Vexu merged commit 7c0c64d into ziglang:master Jan 16, 2024
1 check passed
@Vexu
Copy link
Member

Vexu commented Jan 16, 2024

I agree with all points, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

zig.path has a default of null when it is declared as a string
2 participants