Add color-adjust-1.vim

See also: https://www.w3.org/TR/2019/WD-css-color-adjust-1-20190521/
This commit is contained in:
Kyo Nagashima
2019-05-23 09:11:38 +09:00
parent bb0b14c8ad
commit d4fb6dfd46
3 changed files with 12 additions and 2 deletions

View File

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

View File

@@ -0,0 +1,3 @@
syn match cssColorProp contained "\<\(forced-\)\=color-adjust\>"
syn match cssColorProp contained "\<color-scheme\>"
syn keyword cssFontAttr contained only economy exact