Skip to content

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

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
        ]
    }
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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