Skip to content

More specific language identifier should have precedence #138152

@isidorn

Description

@isidorn

Testing #138076

Have the following settings.json

"[cpp][c]":{
    "editor.lineNumbers": "on"
},
"[cpp][c][markdown]":{
    "editor.lineNumbers": "off"
}

Open a c file -> line number are not shown 🐛

I would always expect the more specific identifier to have priority. More specific means less languages specified in it.

Metadata

Metadata

Assignees

Labels

*as-designedDescribed behavior is as designed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions