We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12315c0 commit 211ff17Copy full SHA for 211ff17
syntaxes/usecode.tmLanguage.json
@@ -17,6 +17,9 @@
17
{
18
"include": "#generic-params"
19
},
20
+ {
21
+ "include": "#labels"
22
+ },
23
24
"include": "#keywords"
25
@@ -250,6 +253,24 @@
250
253
}
251
254
]
252
255
256
+ "labels": {
257
+ "patterns": [
258
259
+ "match": "(\\b(?:goto|attend)\\b)\\s+([A-Za-z_][A-Za-z0-9_]*)",
260
+ "captures": {
261
+ "1": { "name": "keyword.other.goto-type.usecode" },
262
+ "2": { "name": "entity.name.label.usecode" }
263
+ }
264
265
266
+ "match": "(?:^|[\\{\\}\\;]|:)\\s*([A-Za-z_][A-Za-z0-9_]*)\\s*(:)(?!:)",
267
268
+ "1": { "name": "entity.name.label.usecode" },
269
+ "2": { "name": "keyword.operator.usecode" }
270
271
272
+ ]
273
274
"script-commands": {
275
"patterns": [
276
0 commit comments