Skip to content

Commit

Permalink
Match word boundary to avoid highlighting invalid arguments
Browse files Browse the repository at this point in the history
Co-authored-by: deathaxe <deathaxe82@googlemail.com>
  • Loading branch information
matteocoder and deathaxe authored Jan 10, 2025
1 parent 4fd944a commit 808aa94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PowerShell.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ contexts:
| ValueFromRemainingArguments | Position(?:alBinding)?
| (?:Default)?ParameterSetName | SupportsShouldProcess | SupportsPaging
| HelpUri | ConfirmImpact | HelpMessage
)
)\b
\s*(=)?
)
captures:
Expand Down

0 comments on commit 808aa94

Please sign in to comment.