File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -95,9 +95,6 @@ contexts:
9595 - match : \b(?i:var){{kebab_break}}
9696 scope : keyword.declaration.variable.powershell
9797
98- # Uncategorized keywords
99- - match : \b(?i:default|in){{kebab_break}}
100- scope : keyword.control.powershell
10198
10299 # Make everything afterward a literal
103100 - match : \B--%\B
@@ -156,6 +153,8 @@ contexts:
156153 scope : keyword.control.conditional.else.powershell
157154 - match : \b(?i:switch){{kebab_break}}
158155 scope : keyword.control.conditional.switch.powershell
156+ - match : \b(?i:default){{kebab_break}}
157+ scope : keyword.control.conditional.default.powershell
159158 - match : \?
160159 scope : keyword.control.conditional.select.powershell
161160 - match : \b(?i:where(?!-object)){{kebab_break}}
@@ -171,6 +170,9 @@ contexts:
171170 - match : \)
172171 scope : punctuation.section.group.end.powershell
173172 set : members
173+ # TODO: Move this to a foreach (X in Y) construct
174+ - match : \b(?i:in){{kebab_break}}
175+ scope : keyword.control.loop.in.powershell
174176 - include : attributes
175177 - include : expressions
176178
You can’t perform that action at this time.
0 commit comments