Skip to content

No language settings registered as overrides ["indentRainbow.ignoreLinePatterns"] #184

@miaLDN

Description

@miaLDN

The ignoreLinePatterns is a useful option, but how to limit it to specific languages? I'm seeing some falsely flagged indentation in YAML files (red color), and was investigating if it was the ASCII art comments (or something else in the YAML plain text inline literals) that was breaking it.

indentrainbow1
indentrainbow2

settings.json:

{
    "[yaml]": {
        "indentRainbow.ignoreLinePatterns" : [
            "/[ \t]+[#]/g" // Comments
        ]
    }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions