Skip to content

Commit 11aecf6

Browse files
committed
Change Parameter matching regex to match 'PositionalBinding'
The relevant test in the function syntax test now passes.
1 parent b73fae0 commit 11aecf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PowerShell.sublime-syntax

+2-2
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,9 @@ contexts:
294294
(?xi:
295295
\b(
296296
Mandatory | ValueFromPipeline(?:ByPropertyName)?
297-
| ValueFromRemainingArguments | Position
297+
| ValueFromRemainingArguments | Position(?:alBinding)?
298298
| (?:Default)?ParameterSetName | SupportsShouldProcess | SupportsPaging
299-
| PositionalBinding | HelpUri | ConfirmImpact | HelpMessage
299+
| HelpUri | ConfirmImpact | HelpMessage
300300
)
301301
\s*(=)?
302302
)

0 commit comments

Comments
 (0)