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

don't send default config values to ZLS #393

Merged
merged 1 commit into from
Feb 6, 2025
Merged

Conversation

Techatrix
Copy link
Collaborator

This will prevent config options set in the zls.json from being overridden with default values by the extension.

VS Code, in their infinite wisdom, has chosen to default boolean config options to false and string options to an empty string (""), ensuring that null or undefined are never returned.

See zigtools/zls#2135

This will prevent config options set in the zls.json from being
overridden with default values by the extension.

VS Code, in their infinite wisdom, has chosen to default boolean config
options to false and string options to an empty string (""), ensuring
that null or undefined are never returned.

See zigtools/zls#2135
@Vexu Vexu merged commit fd95050 into master Feb 6, 2025
2 checks passed
@Techatrix Techatrix deleted the techatrix/undefault-config branch February 6, 2025 21:02
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.

2 participants