Skip to content

Commit af0a655

Browse files
committed
[scss] update grammar
1 parent 3d092ae commit af0a655

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

extensions/scss/syntaxes/scss.json

Lines changed: 6 additions & 6 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/4cc7de72882dc3ab427f0bf2220465032378fb2c",
7+
"version": "https://github.com/atom/language-sass/commit/20fdaf75c1b91a6896df3f63c78506009ae860f4",
88
"scopeName": "source.css.scss",
99
"name": "SCSS",
1010
"fileTypes": [
@@ -500,16 +500,16 @@
500500
"at_rule_media": {
501501
"patterns": [
502502
{
503-
"begin": "^\\s*((@)media\\b)\\s*",
504-
"end": "\\s*(?={)",
505-
"captures": {
503+
"begin": "^\\s*((@)media)\\b",
504+
"beginCaptures": {
506505
"1": {
507506
"name": "keyword.control.at-rule.media.scss"
508507
},
509508
"2": {
510509
"name": "punctuation.definition.keyword.scss"
511510
}
512511
},
512+
"end": "\\s*(?={)",
513513
"name": "meta.at-rule.media.scss",
514514
"patterns": [
515515
{
@@ -520,7 +520,7 @@
520520
},
521521
{
522522
"match": "\\b(only)\\b",
523-
"name": "keyword.control.operator"
523+
"name": "keyword.control.operator.css.scss"
524524
},
525525
{
526526
"begin": "\\(",
@@ -1058,7 +1058,7 @@
10581058
"name": "keyword.operator.comparison.scss"
10591059
},
10601060
"logical_operators": {
1061-
"match": "\\b(not\\b|or\\b|and\\b)",
1061+
"match": "\\b(not|or|and)\\b",
10621062
"name": "keyword.operator.logical.scss"
10631063
},
10641064
"map": {

0 commit comments

Comments
 (0)