File tree Expand file tree Collapse file tree 1 file changed +23
-3
lines changed
packages/vscode-tailwindcss/syntaxes Expand file tree Collapse file tree 1 file changed +23
-3
lines changed Original file line number Diff line number Diff line change 290
290
]
291
291
},
292
292
{
293
- "begin" : " (?i)((@)variant)(?=[\\ s{]|/ \\ * |$)" ,
293
+ "begin" : " (?i)((@)variant)(?=[\\ s{(] |$)" ,
294
294
"beginCaptures" : {
295
295
"1" : {
296
296
"name" : " keyword.control.at-rule.variant.tailwind"
299
299
"name" : " punctuation.definition.keyword.css"
300
300
}
301
301
},
302
- "end" : " (?<=} )(?!\\ G)" ,
302
+ "end" : " (?<=[};] )(?!\\ G)" ,
303
303
"patterns" : [
304
304
{
305
- "match" : " [^\\ s{ ,]+?" ,
305
+ "match" : " [^\\ s({; ,]+?" ,
306
306
"name" : " variable.parameter.variant.tailwind"
307
307
},
308
+ {
309
+ "begin" : " [(]" ,
310
+ "beginCaptures" : {
311
+ "0" : {
312
+ "name" : " punctuation.section.variant.begin.bracket.paren.tailwind"
313
+ }
314
+ },
315
+ "end" : " [)]" ,
316
+ "endCaptures" : {
317
+ "0" : {
318
+ "name" : " punctuation.section.variant.end.bracket.paren.tailwind"
319
+ }
320
+ },
321
+ "name" : " meta.selector.tailwind" ,
322
+ "patterns" : [
323
+ {
324
+ "include" : " source.css#selector-innards"
325
+ }
326
+ ]
327
+ },
308
328
{
309
329
"begin" : " {" ,
310
330
"beginCaptures" : {
You can’t perform that action at this time.
0 commit comments