Add css-color-4.vim

See also: https://www.w3.org/TR/2016/WD-css-color-4-20160705/
This commit is contained in:
Kyo Nagashima
2016-07-06 09:23:39 +09:00
parent eacc98e57a
commit 519acb02ec
5 changed files with 39 additions and 3 deletions

View File

@@ -0,0 +1,4 @@
syn match cssColorProp contained "\<color-adjust\>"
syn keyword cssColor contained rebeccapurple
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(hwb\|lab\|lch\|gray\|color\|device-cmyk\|color-mod\=\)\s*(" end=")" oneline keepend
syn match cssFontDescriptor "@color-profile\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl