Skip to content

Commit b3cfabe

Browse files
committed
Fix variable.parameter.attribute.powershell regex in PowerShell.sublime-syntax
Add the SupportsPaging parameter name, and makes the relative test pass.
1 parent 7486b09 commit b3cfabe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PowerShell.sublime-syntax

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,10 @@ contexts:
293293
\b(
294294
Mandatory | ValueFromPipeline(?:ByPropertyName)?
295295
| ValueFromRemainingArguments | Position
296-
| (?:Default)?ParameterSetName | SupportsShouldProcess
296+
| (?:Default)?ParameterSetName | SupportsShouldProcess | SupportsPaging
297297
| PositionalBinding | HelpUri | ConfirmImpact | HelpMessage
298298
)
299-
\s*(=)
299+
\s*(=)?
300300
)
301301
captures:
302302
1: variable.parameter.attribute.powershell

0 commit comments

Comments
 (0)