File tree Expand file tree Collapse file tree 3 files changed +30
-6
lines changed
packages/vscode-tailwindcss/syntaxes Expand file tree Collapse file tree 3 files changed +30
-6
lines changed Original file line number Diff line number Diff line change 91
91
"name" : " punctuation.definition.keyword.css"
92
92
}
93
93
},
94
- "end" : " (?<=})(?!\\ G)" ,
94
+ "end" : " (?<=}|; )(?!\\ G)" ,
95
95
"patterns" : [
96
96
{
97
97
"include" : " source.css#comment-block"
100
100
"include" : " source.css.postcss#double-slash"
101
101
},
102
102
{
103
- "match" : " [^\\ s{]+?" ,
103
+ "match" : " [^\\ s{;, ]+?" ,
104
104
"name" : " variable.parameter.layer.tailwind"
105
105
},
106
+ {
107
+ "match" : " ," ,
108
+ "name" : " punctuation.separator.list.comma.css"
109
+ },
110
+ {
111
+ "match" : " ;" ,
112
+ "name" : " punctuation.terminator.rule.css"
113
+ },
106
114
{
107
115
"begin" : " {" ,
108
116
"beginCaptures" : {
Original file line number Diff line number Diff line change 65
65
"name" : " punctuation.definition.keyword.css"
66
66
}
67
67
},
68
- "end" : " \\ s*(?={)" ,
68
+ "end" : " \\ s*(?={|; )" ,
69
69
"patterns" : [
70
70
{
71
71
"include" : " source.css#comment-block"
72
72
},
73
73
{
74
- "match" : " [^\\ s{]+?" ,
74
+ "match" : " [^\\ s{;, ]+?" ,
75
75
"name" : " entity.name.function.scss"
76
+ },
77
+ {
78
+ "match" : " ," ,
79
+ "name" : " punctuation.separator.delimiter.scss"
80
+ },
81
+ {
82
+ "match" : " ;" ,
83
+ "name" : " punctuation.terminator.rule.scss"
76
84
}
77
85
]
78
86
},
Original file line number Diff line number Diff line change 85
85
"name" : " punctuation.definition.keyword.css"
86
86
}
87
87
},
88
- "end" : " (?<=})(?!\\ G)" ,
88
+ "end" : " (?<=}|; )(?!\\ G)" ,
89
89
"patterns" : [
90
90
{
91
91
"include" : " source.css#comment-block"
92
92
},
93
93
{
94
- "match" : " [^\\ s{]+?" ,
94
+ "match" : " [^\\ s{;, ]+?" ,
95
95
"name" : " variable.parameter.layer.tailwind"
96
96
},
97
+ {
98
+ "match" : " ," ,
99
+ "name" : " punctuation.separator.list.comma.css"
100
+ },
101
+ {
102
+ "match" : " ;" ,
103
+ "name" : " punctuation.terminator.rule.css"
104
+ },
97
105
{
98
106
"begin" : " {" ,
99
107
"beginCaptures" : {
You can’t perform that action at this time.
0 commit comments