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",
"scope": [
"comment",
"comment punctuation", // Override comment begin punctuation
],
"settings": {
"foreground": "#3C4279",
}
},
{
"name": "Magic",
"scope": [
"variable.language",
],
"settings": {
"foreground": "#FFDBCA", // axiom 90
}
},
{
"name": "Keywords",
"scope": [
@ -85,12 +95,31 @@
}
},
{
"name": "Functions",
"name": "Function parameters",
"scope": [
"entity.name.function",
"meta.function.definition variable"
],
"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,
"semanticTokenColors": {
"comment": "#3C4279",
"keyword": "#F79159",
"function": "#D4C972",
"interface": "#A2D399",
"type": "#87D6BC",
"variable": "#89D0ED",
"string": "#D1BCFD",
"constant": "#D1BCFD",
"enum": "#EEB4EA",
"comment": {
"foreground":"#3C4279",
},
"selfParameter": {
"foreground": "#FFDBCA",
},
"keyword": {
"foreground": "#F58F59",
},
"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",
},
}
}