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 show inlay hints in "zig fmt off" areas #2174

Open
vadim-za opened this issue Feb 8, 2025 · 0 comments
Open

Don't show inlay hints in "zig fmt off" areas #2174

vadim-za opened this issue Feb 8, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@vadim-za
Copy link

vadim-za commented Feb 8, 2025

Usually the reason to use zig fmt: off is that one wants the text to preserve the exact formatting given by the author. Inlay hints are quite disruptive in such cases and probably should be automatically turned off in the same areas as well. There could be an independent option zls inlay-hints: off but that's probably redundant.

@vadim-za vadim-za added the enhancement New feature or request label Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant