Add shadow-parts-1.vim

This syntax is for CSS Shadow Parts spec.

See also: https://www.w3.org/TR/2018/WD-css-shadow-parts-1-20181115/
This commit is contained in:
Kyo Nagashima
2018-11-17 08:46:55 +09:00
parent be717f2c70
commit ef50fcbe7e
2 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1 @@
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":part(" end=")" oneline

View File

@@ -778,6 +778,10 @@ mask {
display: auto;
}
.shadow-parts::part(textspan) {
display: auto;
}
.shapes-1 {
shape-outside: auto;
shape-image-threshold: auto;