Skip to content

Disable command & flags highlighting by default ? #767

@maxlandon

Description

@maxlandon

Request

Currently, the command groups are randomly highlighted, and the flags depending on their type.

Although it's quite (even very) useful for flags (their type might not be obvious even when being described), highlighting can sometimes make the values quite hard to read.
For someone not acquainted with carapace configuration, or for a user not even knowing he is using carapace (that might happen), this is thus hard to configure.

What do you think of disabling this highlighting by default ? And only apply it at configuration parse time ?

Proposed solution

Only apply randomized highlighting when parsing a configuration (don't initialize the styles struct with those random colors).

Anything else?

No response

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