1
Fork 0

Split enum uses, members and declarations

This commit is contained in:
Steffo 2024-12-11 11:37:58 +01:00
parent 799a1578bc
commit be9091c60c
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -124,10 +124,8 @@
{
"name": "Function calls",
"scope": [
"meta.function.call entity.name.function",
"meta.function-call entity.name.function",
"string meta.function-call entity.name.function",
"string meta.function.call entity.name.function",
"entity.name.function",
"string entity.name.function",
],
"settings": {
"foreground": "#6E7D16", // action 50
@ -137,7 +135,7 @@
{
"name": "Interface declarations",
"scope": [
"meta.interface entity.name.type.interface"
],
"settings": {
"foreground": "#308832", // behavior 70
@ -179,6 +177,7 @@
{
"name": "Type use",
"scope": [
"entity",
"entity.name.type",
"support.type.primitive",
"meta.type.declaration meta.field.declaration entity.name.type", // over-over-ride type declaration for the contents of TypeScript types
@ -251,16 +250,36 @@
}
},
{
"name": "Enums",
"name": "Enum use",
"scope": [
"entity.name.enum",
"entity.name.type.enum",
],
"settings": {
"foreground": "#EEB4EA",
"foreground": "#A45CA5",
"fontStyle": "",
}
},
{
"name": "Enum member",
"scope": [
"variable.other.enummember"
],
"settings": {
"foreground": "#A45CA5",
"fontStyle": "italic",
}
},
{
"name": "Enum declaration",
"scope": [
"meta.enum.declaration entity.name.type.enum",
],
"settings": {
"foreground": "#DE90DD",
"fontStyle": "bold",
}
}
],
"semanticHighlighting": true,
"semanticHighlighting": false,
}