I will just post it as a clean question:
How can I define a symbol in a syntax definition?
For instance I would like a variable to be a symbol, right now my definition is as follows:
{ “match”: “(dcl)(\s*)([A-Za-z0-9_])(\s)(.*)”,
“name”: “variable.parameter.pli”,
“captures”: {
“1”: { “name”: “variable.parameter.pli” },
“3”: { “name”: “entity.name.function.pli” },
“5”: { “name”: “string.pli” }
},
“comment”: “Markup of dcl statements”
}
And I would like “3” to be marked as a symbol.
Really hoping people can help.
Regards Stefan