Files
vim-css3-syntax/after/syntax/css/css3-transitions.vim
Kyo Nagashima 79cf3853fd check 'cssTransitionProp' hilight group
This `if` statement checks Vim version (~7.3 or 7.4+) by behavior.
2013-11-19 23:08:23 +09:00

8 lines
441 B
VimL

if hlexists('cssTransitionProp')
syn match cssFontProp contained "\<transition\(-\(property\|duration\|timing-function\|delay\)\)\=\>"
syn keyword cssFontAttr contained linear
syn match cssFontAttr contained "\<ease\(-\(in\|out\|in-out\)\)\=\>"
syn match cssFontAttr contained "\<step-\(start\|end\)\>"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(steps\|cubic-bezier\)\s*(" end=")" oneline keepend
endif