Prerequisites
Steps to reproduce
Noticed that both VSCode and GitHub doesn't highlight some variables, like $Error and $PSVersionTable
This:
```powershell
#Requires -Version 5.1
<#
.SYNOPSIS
This is just to test code highlighting.
#>
# Input and expected output
[OutputType([System.Void])]
Param()
# Preference variables
$ErrorActionPreference = 'Stop'
$InformationPreference = 'Continue'
# User defined variable
$SomeVariable = [string] 'Text'
# Built-in constants
$Error
$PSHOME
$PSVersionTable
# Values
string without quotes
'string with quotes'
```
Looks like this on GitHub:
#Requires -Version 5.1
<#
.SYNOPSIS
This is just to test code highlighting.
#>
# Input and expected output
[OutputType([System.Void])]
Param()
# Preference variables
$ErrorActionPreference = 'Stop'
$InformationPreference = 'Continue'
# User defined variable
$SomeVariable = [string] 'Text'
# Built-in constants
$Error
$PSHOME
$PSVersionTable
# Values
string without quotes
'string with quotes'
And in VSCode:
Expected behavior
Highlight.js demo https://highlightjs.org/demo does as I expect it to:

PowerShell ISE and the PowerShell terminal too:
Actual behavior
Error details
No response
Environment data
PowerShell 7.4.1 x64 on Windows 11 23H2
VSCode 1.87.2, vscode-powershell v2024.0.0 and v2024.3.1-preview
Version
Latest?
Visuals
No response