File tree 1 file changed +42
-4
lines changed
1 file changed +42
-4
lines changed Original file line number Diff line number Diff line change 296
296
},
297
297
"patterns" : [
298
298
{
299
- "begin" : " \\ b([[:alpha:]]\\ w*)(?: \\ s| \\ s*:) " ,
299
+ "begin" : " \\ b([[:alpha:]]\\ w*)\\ ( " ,
300
300
"beginCaptures" : {
301
301
"1" : {
302
302
"name" : " meta.preprocessor.pragma.nim"
303
303
}
304
304
},
305
- "end" : " (?= \\ .? \\ }|, )" ,
305
+ "end" : " \\ )" ,
306
306
"patterns" : [
307
+ {
308
+ "include" : " #string_literal"
309
+ },
307
310
{
308
311
"include" : " source.nim"
309
312
}
310
313
]
311
314
},
312
315
{
313
- "begin" : " \\ b([[:alpha:]]\\ w*)\\ ( " ,
316
+ "begin" : " \\ b([[:alpha:]]\\ w*)(?: \\ s| \\ s*:) " ,
314
317
"beginCaptures" : {
315
318
"1" : {
316
319
"name" : " meta.preprocessor.pragma.nim"
317
320
}
318
321
},
319
- "end" : " \\ )" ,
322
+ "end" : " (?= \\ .? \\ }|, )" ,
320
323
"patterns" : [
324
+ {
325
+ "begin" : " \\ b([[:alpha:]]\\ w*)\\ s*\\ (" ,
326
+ "beginCaptures" : {
327
+ "1" : {
328
+ "name" : " support.function.any-method.nim"
329
+ }
330
+ },
331
+ "end" : " \\ )" ,
332
+ "patterns" : [
333
+ {
334
+ "include" : " #string_literal"
335
+ },
336
+ {
337
+ "include" : " source.nim"
338
+ }
339
+ ]
340
+ },
321
341
{
322
342
"include" : " source.nim"
323
343
}
1046
1066
]
1047
1067
}
1048
1068
]
1069
+ },
1070
+ {
1071
+ "begin" : " \\ b(\\ w+)\\ s*\\ (" ,
1072
+ "beginCaptures" : {
1073
+ "1" : {
1074
+ "name" : " support.function.any-method.nim"
1075
+ }
1076
+ },
1077
+ "patterns" : [
1078
+ {
1079
+ "include" : " #string_literal"
1080
+ },
1081
+ {
1082
+ "include" : " source.nim"
1083
+ }
1084
+ ],
1085
+ "end" : " \\ )" ,
1086
+ "name" : " meta.function-call.nim"
1049
1087
}
1050
1088
],
1051
1089
"repository" : {
You can’t perform that action at this time.
0 commit comments