mirror of
https://github.com/microsoft/vscode.git
synced 2026-02-28 13:46:17 +00:00
Issue #12344 **Bug** Current colorization rules are too relaxed. Links inside lists of block quotes for example end up getting colored differently than normal links. **Fix** - Add a scope to the textmate markdown grammar so that we can identify the symbol that starts a list or quote. - Remove text colorization rule for lists and quotes since this just duplicates the normal text color. - Only apply special puctuator colorization to the start symbol for lists and quotes
53 lines
927 B
JSON
53 lines
927 B
JSON
{
|
|
"name": "Light+",
|
|
"include": "./light_vs.json",
|
|
"settings": [
|
|
{
|
|
"name": "Types declaration and references",
|
|
"scope": [
|
|
"meta.type.name",
|
|
"meta.return.type",
|
|
"meta.return-type",
|
|
"meta.cast",
|
|
"meta.type.annotation",
|
|
"support.type",
|
|
"entity.name.class",
|
|
"entity.name.type",
|
|
"storage.type.cs",
|
|
"storage.type.java"
|
|
],
|
|
"settings": {
|
|
"foreground": "#267f99"
|
|
}
|
|
},
|
|
{
|
|
"name": "Function declarations",
|
|
"scope": [
|
|
"entity.name.function",
|
|
"entity.name.method"
|
|
],
|
|
"settings": {
|
|
"foreground": "#795E26"
|
|
}
|
|
},
|
|
{
|
|
"name": "Control flow keywords",
|
|
"scope": "keyword.control",
|
|
"settings": {
|
|
"foreground": "#AF00DB"
|
|
}
|
|
},
|
|
{
|
|
"name": "Parameter name",
|
|
"scope": [
|
|
"meta.parameter.type.variable",
|
|
"variable.parameter",
|
|
"variable",
|
|
"variable.name"
|
|
],
|
|
"settings": {
|
|
"foreground": "#001080"
|
|
}
|
|
}
|
|
]
|
|
} |