diff --git a/after/syntax/css/shapes-1.vim b/after/syntax/css/shapes-1.vim index 11e74e3..faa9f27 100644 --- a/after/syntax/css/shapes-1.vim +++ b/after/syntax/css/shapes-1.vim @@ -1,3 +1,3 @@ syn keyword cssFontProp contained shape-outside shape-image-threshold shape-margin syn keyword cssFontAttr contained margin-box -syn region cssFunction contained matchgroup=cssFunctionName start="\<\(inset\|circle\|ellipse\|polygon\)\s*(" end=")" oneline keepend +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(inset\|circle\|ellipse\|polygon\|shape\)\s*(" end=")" oneline keepend diff --git a/test/test.css b/test/test.css index 02a8b14..8bb2858 100644 --- a/test/test.css +++ b/test/test.css @@ -1099,6 +1099,7 @@ mask { display: circle(100px 50px 100px); display: ellipse(0 0 250px 100px); display: polygon(0 0, 100% 100%, 0 100%); + display: shape(from 0% 0%, hline to 100%, line to 0% 100%, vline to 0%); } .sizing-3 {