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 255255 <string >entity.name.function </string >
256256 </dict >
257257 </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 >
258260 <key >match </key >
259- <string >(?< !\w)((?i:class|workflow )|%|\?)(?:\s)+(\w +)\b </string >
261+ <string >(?< !\w)((?i:class)|%|\?)(?:\s)+((?:\p{L}|\d|_|-|) +)\b </string >
260262 </dict >
261263 <dict >
262264 <key >match </key >
511513 <key >function </key >
512514 <dict >
513515 <key >begin </key >
514- <string >((?i:function|configuration))\s+((?:\p{L}|\d|_|-)+) </string >
516+ <string >((?i:function|configuration|workflow ))\s+((?:\p{L}|\d|_|-|\. )+) </string >
515517 <key >beginCaptures </key >
516518 <dict >
517519 <key >0 </key >
Original file line number Diff line number Diff line change @@ -59,12 +59,12 @@ function echo([string]$text) {
5959 write-host $text
6060}
6161
62- # declaration should be consistent
63- function foo () {}
62+ # declarations should be consistent
63+ function foo.bar () {}
6464Function foo () {}
6565
6666class A {}
67- Class Foo {}
67+ Class Foo-Bar {}
6868
6969workflow w1 {}
7070Workflow work {}
You can’t perform that action at this time.
0 commit comments