File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -98,10 +98,6 @@ contexts:
9898 - match : \b(?i:where(?!-object)){{kebab_break}}
9999 scope : keyword.control.conditional.select.powershell
100100
101- # Declarations
102- - match : \b(?i:var){{kebab_break}}
103- scope : keyword.declaration.variable.powershell
104-
105101 expressions :
106102 # Meta
107103 - include : labels
@@ -128,6 +124,13 @@ contexts:
128124 scope : variable.other.object.powershell
129125 push : members
130126
127+ # "Reserved for future use"
128+ # https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_reserved_words
129+ - match : \b(?i:define|from){{kebab_break}}
130+ scope : keyword.control.powershell
131+ - match : \b(?i:var){{kebab_break}}
132+ scope : keyword.declaration.variable.powershell
133+
131134 # Uncategorized keywords
132135 - match : \b(?i:data|default|define|from|in|inlinescript|parallel|sequence){{kebab_break}}
133136 scope : keyword.control.powershell
You can’t perform that action at this time.
0 commit comments