@@ -152,13 +152,13 @@ contexts:
152152 - meta_scope: meta.attribute.powershell
153153 - match: \]
154154 scope: punctuation.section.brackets.end.powershell
155- pop: true
155+ pop: 1
156156 - match: \(
157157 scope: punctuation.section.group.begin.powershell
158158 push:
159159 - match: \)
160160 scope: punctuation.section.group.end.powershell
161- pop: true
161+ pop: 1
162162 - match: |-
163163 (?xi:
164164 \b(
@@ -212,7 +212,7 @@ contexts:
212212 members :
213213 # - meta_content_scope: debug.in.members
214214 - match : (?=\.\.)
215- pop : true
215+ pop : 1
216216 - match : \.(?=\w)
217217 scope : punctuation.accessor.dot.powershell
218218 - match : (\w+)(\()
@@ -223,7 +223,7 @@ contexts:
223223 - meta_content_scope : meta.function-call.arguments.powershell
224224 - match : \)
225225 scope : meta.function-call.arguments.powershell punctuation.section.arguments.end.powershell
226- pop : true
226+ pop : 1
227227 - include : expressions
228228 - match : \w+
229229 scope : variable.other.member.powershell
@@ -233,10 +233,10 @@ contexts:
233233 - meta_scope : meta.brackets.indexer.powershell
234234 - match : \]
235235 scope : punctuation.section.brackets.end.powershell
236- pop : true
236+ pop : 1
237237 - include : expressions
238238 - match : ' '
239- pop : true
239+ pop : 1
240240
241241 functions :
242242 - match : ^(?:\s*)(?i)(function|filter|configuration|workflow)\s+(?:(global|local|script|private):)?((?:\p{L}|\d|_|-|\.)+)
@@ -247,7 +247,7 @@ contexts:
247247 3 : entity.name.function.powershell
248248 push :
249249 - match : (?=\{|\()
250- pop : true
250+ pop : 1
251251 - include : comment-line
252252
253253 script-blocks :
@@ -259,7 +259,7 @@ contexts:
259259 - meta_scope : meta.block.powershell
260260 - match : \}
261261 scope : punctuation.section.braces.end.powershell
262- pop : true
262+ pop : 1
263263
264264 # TODO: Fix classes, so this doesn't nest here.
265265 - include : class-methods
@@ -278,7 +278,7 @@ contexts:
278278 set : static-members
279279 - match : \]
280280 scope : punctuation.section.brackets.end.powershell
281- pop : true
281+ pop : 1
282282 - match : (?!\d+|\.)[\p{L}\p{N}.]+
283283 scope : storage.type.powershell
284284 - include : types
@@ -386,7 +386,7 @@ contexts:
386386 5 : entity.name.function.powershell
387387 push :
388388 - match : (?=\()
389- pop : true
389+ pop : 1
390390 - include : comment-line
391391
392392# ##[ VARIABLES ]###############################################################
@@ -560,7 +560,7 @@ contexts:
560560 - meta_scope : meta.group.powershell
561561 - match : \)
562562 scope : punctuation.section.group.end.powershell
563- pop : true
563+ pop : 1
564564 - include : expressions
565565
566566 arrays :
@@ -572,7 +572,7 @@ contexts:
572572 - meta_scope : meta.group.array-expression.powershell
573573 - match : \)
574574 scope : punctuation.section.group.end.powershell
575- pop : true
575+ pop : 1
576576 - include : expressions
577577
578578 hashtables :
@@ -584,7 +584,7 @@ contexts:
584584 - meta_scope : meta.hashtable.powershell
585585 - match : \}
586586 scope : punctuation.section.braces.end.powershell
587- pop : true
587+ pop : 1
588588 - match : \b(['"]?)(\w+)(['"]?)\s*(=)\s*
589589 scope : meta.hashtable.assignment.powershell
590590 captures :
@@ -603,7 +603,7 @@ contexts:
603603 - meta_scope : meta.group.complex.subexpression.powershell
604604 - match : \)
605605 scope : punctuation.section.group.end.powershell
606- pop : true
606+ pop : 1
607607 - include : expressions
608608
609609# ##[ CONSTANTS ]###############################################################
@@ -645,7 +645,7 @@ contexts:
645645 scope : constant.character.escape.powershell
646646 - match : \'
647647 scope : punctuation.definition.string.end.powershell
648- pop : true
648+ pop : 1
649649
650650 double-quoted-strings :
651651 - match : ' "'
@@ -660,7 +660,7 @@ contexts:
660660 - include : escape-sequences
661661 - match : ' "'
662662 scope : punctuation.definition.string.end.powershell
663- pop : true
663+ pop : 1
664664 # # Silently eat email addresses
665665 # - match: '(?i)\b[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,64}\b'
666666 - include : string-interpolations
@@ -675,7 +675,7 @@ contexts:
675675 - meta_scope : meta.string.powershell string.quoted.single.heredoc.powershell
676676 - match : ^'@
677677 scope : punctuation.definition.string.end.powershell
678- pop : true
678+ pop : 1
679679 - match : " ''"
680680 scope : constant.character.escape.powershell
681681
@@ -687,7 +687,7 @@ contexts:
687687 - meta_scope : meta.string.powershell string.quoted.double.heredoc.powershell
688688 - match : ^"@
689689 scope : punctuation.definition.string.end.powershell
690- pop : true
690+ pop : 1
691691 - include : escape-sequences
692692 - include : string-interpolations
693693
@@ -700,7 +700,7 @@ contexts:
700700 - meta_content_scope : source.powershell.embedded
701701 - match : \)
702702 scope : punctuation.section.interpolation.end.powershell
703- pop : true
703+ pop : 1
704704 - include : expressions
705705 - match : (?=\$)
706706 push :
@@ -782,7 +782,7 @@ contexts:
782782 - meta_scope : comment.block.powershell
783783 - match : ' #>'
784784 scope : punctuation.definition.comment.block.end.powershell
785- pop : true
785+ pop : 1
786786 - include : comment-embedded-docs
787787
788788 comment-embedded-docs :
@@ -864,19 +864,19 @@ contexts:
864864
865865 pop-eol :
866866 - match : $
867- pop : true
867+ pop : 1
868868
869869 pop-before-eol :
870870 - match : (?=$)
871- pop : true
871+ pop : 1
872872
873873 immediately-pop :
874874 - match : ' '
875- pop : true
875+ pop : 1
876876
877877 else-pop :
878878 - match : (?=\S)
879- pop : true
879+ pop : 1
880880
881881# ##############################################################################
882882
0 commit comments