Add env-1.vim

https://www.w3.org/TR/2025/WD-css-env-1-20250923/
This commit is contained in:
Kyo Nagashima
2025-09-25 18:33:56 +09:00
parent 0d6d49c712
commit 09920310c3
2 changed files with 5 additions and 0 deletions

View File

@@ -0,0 +1 @@
syn region cssFunction contained matchgroup=cssFunctionName start="\<env\s*(" end=")" oneline contains=cssValueInteger,cssValueNumber,cssValueLength,cssFunctionComma

View File

@@ -391,6 +391,10 @@
display: linear(0, 0.25, 1); display: linear(0, 0.25, 1);
} }
.env-1 {
display: env(foo, red, blue);
}
.exclusions-3 { .exclusions-3 {
wrap-flow: auto; wrap-flow: auto;
wrap-through: auto; wrap-through: auto;