diff --git a/PowerShell.sublime-syntax b/PowerShell.sublime-syntax index 1bc02fa3..93b2b3a4 100644 --- a/PowerShell.sublime-syntax +++ b/PowerShell.sublime-syntax @@ -1421,9 +1421,9 @@ variables: )\b var_language: |- (?xi: - [$^?_] + [$^?] | \b(?: - Args | ConsoleFileName | Error | Event | EventArgs + _ | Args | ConsoleFileName | Error | Event | EventArgs | EventSubscriber | ForEach | Input | LastExitCode | Matches | MyInvocation | NestedPromptLevel | PsBoundParameters | PsCmdlet | PsCulture | PsDebugContext | PsItem | Pwd | Sender | SourceArgs @@ -1434,11 +1434,11 @@ variables: ) Preference | Maximum (?: Alias | Drive | Error | Function | History | Variable ) Count # Maximum*Count | Log (?: Command | Engine | Provider ) (?: Health | Lifecycle ) Event # Log*Event + | PsNativeCommand (?: ArgumentPassing | UseErrorActionPreference ) # PsNativeCommand* | PsDebugContext | PsDefaultParameterValues | PsEmailServer | PsModuleAutoloadingPreference | PsSenderInfo - | PsSessionApplicationName | PsSessionConfigurationName - | PsSessionOption | ErrorView | FormatEnumerationLimit | OFS - | OutputEncoding + | PsSession (?: ApplicationName | ConfigurationName | Option ) # PsSession* + | ErrorView | FormatEnumerationLimit | OFS | OutputEncoding )\b ) var_scope_mod: (?i:global|local|private|script|using|workflow)