Skip to content

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

Open
@vadim-za

Description

@vadim-za

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions