diff --git a/PowerShell.sublime-syntax b/PowerShell.sublime-syntax index ed6041c..2ba24e7 100644 --- a/PowerShell.sublime-syntax +++ b/PowerShell.sublime-syntax @@ -78,6 +78,7 @@ contexts: # Consume a string with a trailing dot # to prevent members with particular names from being recognized as keywords. - match: \b[\w-]+(?=\.) + scope: variable.other.object.powershell push: members # Exceptions - match: \b(?i:throw){{kebab_break}}