Commit 58c3528 1 parent 6d167f4 commit 58c3528 Copy full SHA for 58c3528
File tree 2 files changed +46
-0
lines changed
2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change
1
+ // This attribute should be colored
2
+ @IsolateAssertions
3
+
1
4
// Issue #386
2
5
method Test (thisNat: nat , dothis: nat ) {
3
6
// ^^^^ ^^^^ this should not be highlighted separatedly in blue
Original file line number Diff line number Diff line change 262
262
<dict >
263
263
<key >patterns </key >
264
264
<array >
265
+ <dict >
266
+ <key >begin </key >
267
+ <string >@([\w'\?]+)\( </string >
268
+ <key >beginCaptures </key >
269
+ <dict >
270
+ <key >1 </key >
271
+ <dict >
272
+ <key >name </key >
273
+ <string >entity.other.attribute-name.dafny </string >
274
+ </dict >
275
+ </dict >
276
+ <key >end </key >
277
+ <string >\) </string >
278
+ <key >name </key >
279
+ <string >attribute </string >
280
+ <key >patterns </key >
281
+ <array >
282
+ <dict >
283
+ <key >include </key >
284
+ <string >#code </string >
285
+ </dict >
286
+ </array >
287
+ </dict >
288
+
289
+ <dict >
290
+ <key >begin </key >
291
+ <string >@([\w'\?]+)(?!\() </string >
292
+ <key >beginCaptures </key >
293
+ <dict >
294
+ <key >1 </key >
295
+ <dict >
296
+ <key >name </key >
297
+ <string >entity.other.attribute-name.dafny </string >
298
+ </dict >
299
+ </dict >
300
+ <key >end </key >
301
+ <string >(?<=[\w'\?]+) </string >
302
+ <key >name </key >
303
+ <string >attribute </string >
304
+ <key >patterns </key >
305
+ <array >
306
+ </array >
307
+ </dict >
265
308
<dict >
266
309
<key >begin </key >
267
310
<string >\{:(\w+) </string >
You can’t perform that action at this time.
0 commit comments