File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 255
255
<string >entity.name.function </string >
256
256
</dict >
257
257
</dict >
258
+ <key >comment </key >
259
+ <string >capture should be entity.name.type, but it doesn't provide a good color in the default schema. </string >
258
260
<key >match </key >
259
- <string >(?< !\w)((?i:class|workflow )|%|\?)(?:\s)+(\w +)\b </string >
261
+ <string >(?< !\w)((?i:class)|%|\?)(?:\s)+((?:\p{L}|\d|_|-|) +)\b </string >
260
262
</dict >
261
263
<dict >
262
264
<key >match </key >
511
513
<key >function </key >
512
514
<dict >
513
515
<key >begin </key >
514
- <string >((?i:function|configuration))\s+((?:\p{L}|\d|_|-)+) </string >
516
+ <string >((?i:function|configuration|workflow ))\s+((?:\p{L}|\d|_|-|\. )+) </string >
515
517
<key >beginCaptures </key >
516
518
<dict >
517
519
<key >0 </key >
Original file line number Diff line number Diff line change @@ -59,12 +59,12 @@ function echo([string]$text) {
59
59
write-host $text
60
60
}
61
61
62
- # declaration should be consistent
63
- function foo () {}
62
+ # declarations should be consistent
63
+ function foo.bar () {}
64
64
Function foo () {}
65
65
66
66
class A {}
67
- Class Foo {}
67
+ Class Foo-Bar {}
68
68
69
69
workflow w1 {}
70
70
Workflow work {}
You can’t perform that action at this time.
0 commit comments