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

add zig.zls.additionalOptions #187

Merged
merged 1 commit into from
Apr 6, 2024

Conversation

Techatrix
Copy link
Collaborator

fixes #182

One thing I was wondering about was whether to show a warning when a config option is being ignored because it is not recognized by ZLS. Opted to silently ignore it so that switching between Zig and ZLS versions doesn't become annoying.

I added a warning that shows up when adding a config option in zig.zls.additionalOptions even though the option is available in the extension:
Screenshot from 2024-04-03 02-33-50
settings.json after selecting "Use zig.zls.enableAutofix instead":
Screenshot from 2024-04-03 02-33-57

@Vexu Vexu merged commit ac8bff3 into ziglang:master Apr 6, 2024
1 check passed
@Techatrix Techatrix deleted the zls-additional-options branch April 15, 2024 16:59
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.

Backwards compatibility of extension settings and ZLS config
2 participants