Skip to content

Highlighting of the insides of cfg_select! #22294

@d3d9

Description

@d3d9

cfg_select! has become widely available and I wish it would be handled in a way resembling previously existing concepts:

  • inactive sections should get inactive-code and dimmed, like with the #[cfg(..)] equivalent
  • the => should not be regarded as separate = >, like with the match equivalent
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-featureCategory: feature request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions