@@ -2364,30 +2364,26 @@ $a3[1..2]
23642364#>
23652365
23662366# region Test
2367- # <- punctuation.definition.comment
2368- # ^^^^^^ keyword.other.region.begin
2369- # <- comment.line.powershell
2370- # ^^^^ meta.toc-list entity.name.section
2371- # @@@@ local-definition
2372- # ^ meta.fold.begin
2367+ # <- punctuation.definition.preprocessor
2368+ # ^^^^^^ keyword.control.directive.region
2369+ # ^^^^ entity.name.section
2370+ # @@@@ local-definition "#region Test"
2371+ # ^ meta.fold.block.begin
23732372 Do - Stuff
23742373# @@@@@@@@ reference
23752374# endregion (More comments)
2376- # <- punctuation.definition.comment.powershell
2377- # ^^^^^^^^^ keyword.other.region.end.powershell
2378- # <- comment.line
2379- # ^ meta.fold.end
2375+ # <- meta.fold.block.end punctuation.definition.preprocessor
2376+ # ^^^^^^^^^ keyword.control.directive.endregion
2377+ # ^^^^^^^^^^^^^^^ variable.other.section.powershell
23802378
23812379# region
2382- # <- punctuation.definition.comment
2383- # ^^^^^^ keyword.other.region.begin
2384- # <- comment.line.powershell
2385- # ^ meta.fold.begin
2380+ # <- punctuation.definition.preprocessor
2381+ # ^^^^^^ keyword.control.directive.region
2382+ # ^ meta.fold.block.begin
23862383# endregion (More comments)
2387- # <- punctuation.definition.comment.powershell
2388- # ^^^^^^^^^ keyword.other.region.end.powershell
2389- # <- comment.line
2390- # ^ meta.fold.end
2384+ # <- meta.fold.block.end punctuation.definition.preprocessor
2385+ # ^^^^^^^^^ keyword.control.directive.endregion
2386+ # ^^^^^^^^^^^^^^^ variable.other.section.powershell
23912387
23922388function Process-DeploymentConfig {
23932389# @@@@@@@@@@@@@@@@@@@@@@@@ definition
@@ -2401,12 +2397,11 @@ function Process-DeploymentConfig {
24012397 )
24022398
24032399 # region PathHelper
2404- # ^^^^^^^^^^^^^^^^^^^ comment.line.powershell
2405- # ^ punctuation.definition.comment
2406- # ^^^^^^ keyword.other.region.begin
2407- # ^^^^^^^^^^ meta.toc-list entity.name.section
2408- # @@@@@@@@@@ local-definition
2409- # ^ meta.fold.begin
2400+ # ^ punctuation.definition.preprocessor
2401+ # ^^^^^^ keyword.control.directive.region
2402+ # ^^^^^^^^^^ entity.name.section
2403+ # @@@@@@@@@@ local-definition "#region PathHelper"
2404+ # ^ meta.fold.block.begin
24102405
24112406 function Resolve-ConfigPath {
24122407# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.function.powershell meta.function.powershell
@@ -2430,11 +2425,10 @@ function Process-DeploymentConfig {
24302425 }
24312426 return $ResolvedPath
24322427 }
2433- # endregion
2434- # ^^^^^^^^^^^ comment.line.powershell
2435- # ^ punctuation.definition.comment.powershell
2436- # ^^^^^^^^^ keyword.other.region.end.powershell
2437- # ^ meta.fold.end
2428+ # endregion PathHelper
2429+ # ^ meta.fold.block.end punctuation.definition.preprocessor
2430+ # ^^^^^^ keyword.control.directive.endregion
2431+ # ^^^^^^^^^^ variable.other.section.powershell
24382432
24392433
24402434 Resolve-ConfigPath - Path " Foo" - PathVariables $PathVariables
0 commit comments