1
Fork 0

Split function definitions, calls, parameters, magic

This commit is contained in:
Steffo 2024-12-11 10:10:49 +01:00
parent 6b06f6eaa8
commit c33b7fbd9f
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -59,11 +59,21 @@
"name": "Comments", "name": "Comments",
"scope": [ "scope": [
"comment", "comment",
"comment punctuation", // Override comment begin punctuation
], ],
"settings": { "settings": {
"foreground": "#3C4279", "foreground": "#3C4279",
} }
}, },
{
"name": "Magic",
"scope": [
"variable.language",
],
"settings": {
"foreground": "#FFDBCA", // axiom 90
}
},
{ {
"name": "Keywords", "name": "Keywords",
"scope": [ "scope": [
@ -85,12 +95,31 @@
} }
}, },
{ {
"name": "Functions", "name": "Function parameters",
"scope": [ "scope": [
"entity.name.function", "meta.function.definition variable"
], ],
"settings": { "settings": {
"foreground": "#D4C972", "foreground": "#F2E57F", // action 90
}
},
{
"name": "Function definitions",
"scope": [
"meta.function.definition entity.name.function"
],
"settings": {
"foreground": "#B9AC37", // action 70
"fontStyle": "bold",
}
},
{
"name": "Function calls",
"scope": [
"meta.function.call entity.name.function",
],
"settings": {
"foreground": "#6E7D16", // action 50
} }
}, },
{ {
@ -145,14 +174,39 @@
], ],
"semanticHighlighting": true, "semanticHighlighting": true,
"semanticTokenColors": { "semanticTokenColors": {
"comment": "#3C4279", "comment": {
"keyword": "#F79159", "foreground":"#3C4279",
"function": "#D4C972", },
"interface": "#A2D399", "selfParameter": {
"type": "#87D6BC", "foreground": "#FFDBCA",
"variable": "#89D0ED", },
"string": "#D1BCFD", "keyword": {
"constant": "#D1BCFD", "foreground": "#F58F59",
"enum": "#EEB4EA", },
"function": {
"foreground": "#6E7D16",
},
"function.declaration":{
"foreground": "#B9AC37",
"fontStyle": "bold"
},
"interface": {
"foreground":"#65BE60",
},
"type": {
"foreground":"#87D6BC",
},
"variable": {
"foreground":"#89D0ED",
},
"string": {
"foreground":"#D1BCFD",
},
"constant": {
"foreground":"#D1BCFD",
},
"enum": {
"foreground":"#EEB4EA",
},
} }
} }