Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
planetrocky opened this issue Oct 6, 2024 · 0 comments

Comments

@planetrocky
Copy link

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
        ]
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant