Skip to content

Commit d5a2f8e

Browse files
philipbordallowbond
authored andcommitted
[CSS] Fix issue with CSS supports and rule list in block (#1529)
1 parent 184531b commit d5a2f8e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CSS/CSS.sublime-syntax

-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,6 @@ contexts:
384384
- meta_scope: meta.block.css
385385
- match: '(?=\})'
386386
pop: true
387-
- include: rule-list-body
388387
- include: main
389388
- match: '\}'
390389
scope: meta.block.css punctuation.definition.block.end.css

CSS/syntax_test_css.css

+3
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@
255255
}
256256
}
257257

258+
@supports (display: grid) {span { display: grid; }}
259+
/* ^^^^ meta.at-rule.supports.css meta.selector.css */
260+
258261
@counter-style {}
259262
/* ^ punctuation.definition.keyword.css */
260263
/* ^^^^^^^^^^^^^^ keyword.control.at-rule.counter-style.css */

0 commit comments

Comments
 (0)