From 23eed76d483c887a1608609e9dd57e09666411cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Olav=20R=C3=B8nnestad=20Birkeland?= <6450056+o-l-a-v@users.noreply.github.com> Date: Wed, 22 Apr 2026 02:05:33 +0200 Subject: [PATCH] Fix PowerShell highlighting of built-in constant variables (#223) Use a TextMate scope for PowerShell built-in constant variables that most themes actually have defined in tokenColors. I see that C#, Ruby and Go TextMate files uses variable.other.constant., so I went with that. https://github.com/search?q=repo%3Amicrosoft%2Fvscode%20variable.other.constant.&type=code --- PowerShellSyntax.tmLanguage | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PowerShellSyntax.tmLanguage b/PowerShellSyntax.tmLanguage index e5318df..ed2ddf0 100644 --- a/PowerShellSyntax.tmLanguage +++ b/PowerShellSyntax.tmLanguage @@ -1007,7 +1007,7 @@ 0 name - support.constant.variable.powershell + variable.other.constant.powershell 1 @@ -1291,7 +1291,7 @@ 0 name - support.constant.variable.powershell + variable.other.constant.powershell 1