Skip to content

Commit b7778bc

Browse files
committed
1 parent 089f388 commit b7778bc

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

after/syntax/css/values-5.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
syn keyword cssFontProp contained interpolate-size
22
syn keyword cssFontAttr contained numeric-only allow-keyword
3-
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(\(\(media\|container\)-\)\=progress\|\(\(calc\|transform\)-\)\=mix\|cross-fade\|first-valid\|toggle\|random\(-item\)\=\|sibling-\(count\|index\)\|calc-size\)\s*(" end=")" oneline keepend
3+
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(\(\(media\|container\)-\)\=progress\|\(\(calc\|transform\)-\)\=mix\|cross-fade\|first-valid\|toggle\|if\|inherit\|random\(-item\)\=\|sibling-\(count\|index\)\|calc-size\)\s*(" end=")" oneline keepend

test/test.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,6 +1383,8 @@ view {
13831383
display: cross-fade(15%, url(foo.png), white);
13841384
display: toggle(italic, normal);
13851385
display: first-valid(center, none, 1px);
1386+
display: if(media(screen): red; else: auto);
1387+
display: inherit(--foo, auto);
13861388
display: random(1, 10, by 1);
13871389
display: random-item(--x, red, yellow, green);
13881390
display: sibling-count();

0 commit comments

Comments
 (0)