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.


settings.json:
{
"[yaml]": {
"indentRainbow.ignoreLinePatterns" : [
"/[ \t]+[#]/g" // Comments
]
}
}
The
ignoreLinePatternsis 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.settings.json: