Macros fix

This commit is contained in:
2026-07-11 11:08:03 +02:00
parent bb6a095b20
commit 57ea742a05
+1 -76
View File
@@ -177,84 +177,9 @@
]
},
"macros": {
"patterns": [
{
"begin": "\\b([a-zA-Z_][a-zA-Z0-9_]*)(!)(\\()",
"beginCaptures": {
"1": {
"match": "\\b([a-zA-Z_][a-zA-Z0-9_]*!)",
"name": "entity.name.function.macro.mist"
},
"2": {
"name": "keyword.operator.macro.mist"
},
"3": {
"name": "punctuation.parenthesis.begin.mist"
}
},
"end": "\\)",
"endCaptures": {
"0": {
"name": "punctuation.parenthesis.end.mist"
}
},
"patterns": [
{
"include": "$self"
}
]
},
{
"begin": "\\b([a-zA-Z_][a-zA-Z0-9_]*)(!)(\\[)",
"beginCaptures": {
"1": {
"name": "entity.name.function.macro.mist"
},
"2": {
"name": "keyword.operator.macro.mist"
},
"3": {
"name": "punctuation.bracket.begin.mist"
}
},
"end": "\\]",
"endCaptures": {
"0": {
"name": "punctuation.bracket.end.mist"
}
},
"patterns": [
{
"include": "$self"
}
]
},
{
"begin": "\\b([a-zA-Z_][a-zA-Z0-9_]*)(!)(\\{)",
"beginCaptures": {
"1": {
"name": "entity.name.function.macro.mist"
},
"2": {
"name": "keyword.operator.macro.mist"
},
"3": {
"name": "punctuation.curly.brace.begin.mist"
}
},
"end": "\\}",
"endCaptures": {
"0": {
"name": "punctuation.curly.brace.end.mist"
}
},
"patterns": [
{
"include": "$self"
}
]
}
]
},
"type_declarations": {
"patterns": [
{