@@ -238,34 +238,6 @@ contexts:
238238 - match : \b(?i:(?:foreach|where|sort|tee)-object)\b
239239 scope : support.function.powershell
240240
241- members :
242- - match : (?=\.\.)
243- pop : 1
244- - match : \.(?=\w)
245- scope : punctuation.accessor.dot.powershell
246- - match : (\w+)(\()
247- captures :
248- 1 : meta.function-call.powershell variable.function.powershell
249- 2 : meta.function-call.arguments.powershell punctuation.section.arguments.begin.powershell
250- push :
251- - meta_content_scope : meta.function-call.arguments.powershell
252- - match : \)
253- scope : meta.function-call.arguments.powershell punctuation.section.arguments.end.powershell
254- pop : 1
255- - include : expressions
256- - match : \w+
257- scope : variable.other.member.powershell
258- - match : \[
259- scope : punctuation.section.brackets.begin.powershell
260- push :
261- - meta_scope : meta.brackets.indexer.powershell
262- - match : \]
263- scope : punctuation.section.brackets.end.powershell
264- pop : 1
265- - include : expressions
266- - match : ' '
267- pop : 1
268-
269241 functions :
270242 - match : ^(?:\s*)(?i)(function|filter|configuration|workflow)\s+(?:(global|local|script|private):)?((?:\p{L}|\d|_|-|\.)+)
271243 scope : meta.function.powershell
@@ -535,6 +507,33 @@ contexts:
535507 4 : variable.other.readwrite.powershell
536508 5 : punctuation.section.braces.end
537509
510+ members :
511+ - match : (?=\.\.)
512+ pop : 1
513+ - match : \.(?=\w)
514+ scope : punctuation.accessor.dot.powershell
515+ - match : (\w+)(\()
516+ captures :
517+ 1 : meta.function-call.powershell variable.function.powershell
518+ 2 : meta.function-call.arguments.powershell punctuation.section.arguments.begin.powershell
519+ push :
520+ - meta_content_scope : meta.function-call.arguments.powershell
521+ - match : \)
522+ scope : meta.function-call.arguments.powershell punctuation.section.arguments.end.powershell
523+ pop : 1
524+ - include : expressions
525+ - match : \w+
526+ scope : variable.other.member.powershell
527+ - match : \[
528+ scope : punctuation.section.brackets.begin.powershell
529+ push :
530+ - meta_scope : meta.brackets.indexer.powershell
531+ - match : \]
532+ scope : punctuation.section.brackets.end.powershell
533+ pop : 1
534+ - include : expressions
535+ - include : immediately-pop
536+
538537# ##[ GROUPS ]##################################################################
539538
540539 groups :
0 commit comments