Skip to content

Commit b50a9b7

Browse files
committed
[scss] update grammar
1 parent c30f6ce commit b50a9b7

2 files changed

Lines changed: 162 additions & 230 deletions

File tree

extensions/scss/syntaxes/scss.json

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/atom/language-sass/commit/229a9c9c2c025dc0514f2550819876fc1bb5df57",
7+
"version": "https://github.com/atom/language-sass/commit/d47701c2d389c5e657b8c51a34d90691e4bac3ea",
88
"scopeName": "source.css.scss",
99
"name": "SCSS",
1010
"fileTypes": [
@@ -33,6 +33,9 @@
3333
{
3434
"include": "#rules"
3535
},
36+
{
37+
"include": "#selectors"
38+
},
3639
{
3740
"include": "#property_list"
3841
},
@@ -492,6 +495,9 @@
492495
},
493496
{
494497
"include": "#rules"
498+
},
499+
{
500+
"include": "#selectors"
495501
}
496502
]
497503
}
@@ -1155,7 +1161,7 @@
11551161
"properties": {
11561162
"patterns": [
11571163
{
1158-
"begin": "(?<![-a-z])(?=[-a-z])",
1164+
"begin": "(?<![-a-z])(?!--)(?=[-a-z])",
11591165
"end": "$|(?![-a-z])",
11601166
"name": "meta.property-name.scss",
11611167
"patterns": [
@@ -1213,9 +1219,15 @@
12131219
{
12141220
"include": "#rules"
12151221
},
1222+
{
1223+
"include": "#selector_custom"
1224+
},
12161225
{
12171226
"include": "#properties"
12181227
},
1228+
{
1229+
"include": "selectors"
1230+
},
12191231
{
12201232
"include": "$self"
12211233
}
@@ -1302,9 +1314,6 @@
13021314
},
13031315
{
13041316
"include": "#at_rule_media"
1305-
},
1306-
{
1307-
"include": "#selectors"
13081317
}
13091318
]
13101319
},

0 commit comments

Comments
 (0)