@@ -163,18 +163,20 @@ $variable.Name.Method( )
163
163
# In double-quoted strings, only the variable should be highlighted, not the property
164
164
" This is my $variable .Name!"
165
165
# <- punctuation.definition.string.begin
166
- # ^^^^^^^^^^^ meta.string string.quoted.double
166
+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.string
167
+ # ^^^^^^^^^^^ string.quoted.double
167
168
# ^^^^^^^^^ meta.interpolation variable.other.readwrite - string
168
169
# ^ punctuation.definition.variable
169
- # ^^^^^^ meta.string string.quoted.double - meta.interpolation - variable - punctuation
170
+ # ^^^^^^ string.quoted.double - meta.interpolation - variable - punctuation
170
171
# ^ punctuation.definition.string.end
171
172
172
173
# When used in a subexpression, both should be highlighted
173
174
" This is my $ ( $variable.Name ) !"
174
175
# <- punctuation.definition.string.begin
175
- # ^^^^^^^^^^^ meta.string string.quoted.double
176
- # ^^^^^^^^^^^^^^^^^ meta.string meta.interpolation - string
177
- # ^^ meta.string string.quoted.double - meta.interpolation
176
+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.string
177
+ # ^^^^^^^^^^^ string.quoted.double
178
+ # ^^^^^^^^^^^^^^^^^ meta.interpolation - string
179
+ # ^^ string.quoted.double - meta.interpolation
178
180
# ^^ punctuation.section.interpolation.begin
179
181
# ^^^^^^^^^ variable.other.readwrite
180
182
# ^ punctuation.definition.variable
@@ -186,8 +188,9 @@ $variable.Name.Method( )
186
188
# $ENV:ComputerName should be highlighted
187
189
" This is the name of my computer: $ENV: ComputerName "
188
190
# <- punctuation.definition.string.begin
189
- # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.string string.quoted.double
190
- # ^^^^^^^^^^^^^^^^^ meta.string meta.interpolation - string
191
+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.string
192
+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string.quoted.double
193
+ # ^^^^^^^^^^^^^^^^^ meta.interpolation - string
191
194
# ^ punctuation.definition.variable
192
195
# ^^^^ support.variable.drive
193
196
# ^^^^^^^^^^^^ variable.other.readwrite
@@ -196,8 +199,9 @@ $variable.Name.Method( )
196
199
# Here as well
197
200
" This is the name of my computer: ${ENV: ComputerName} "
198
201
# <- punctuation.definition.string.begin
199
- # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.string string.quoted.double
200
- # ^^^^^^^^^^^^^^^^^^^ meta.string meta.interpolation - string
202
+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.string
203
+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string.quoted.double
204
+ # ^^^^^^^^^^^^^^^^^^^ meta.interpolation - string
201
205
# ^ punctuation.definition.variable
202
206
# ^ punctuation.section.braces.begin
203
207
# ^^^^ support.variable.drive
@@ -206,7 +210,7 @@ $variable.Name.Method( )
206
210
207
211
# The @splat references only work in argument mode, should not highlight in strings
208
212
" This is a @double quoted string."
209
- # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ string.quoted.double
213
+ # ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.string string.quoted.double
210
214
# ^ - punctuation.definition.variable
211
215
# ^^^^^^^ - variable
212
216
@@ -219,7 +223,7 @@ $variable.Name.Method( )
219
223
# Single quotes string
220
224
' This is a string'
221
225
# <- punctuation.definition.string.begin
222
- # ^^^^^^^^^^^^^^^^^ string.quoted.single
226
+ # ^^^^^^^^^^^^^^^^^ meta.string string.quoted.single
223
227
# ^ punctuation.definition.string.end
224
228
225
229
# Hashtable
0 commit comments