1. David Wolever
  2. dotfiles

Source

dotfiles / vim / bundle / vim-css3-syntax / after / syntax / css / css3-values.vim

1
2
3
4
5
6
syn match cssValueLength contained "[-+]\=\d\+\(\.\d*\)\=\(ch\|rem\|vw\|vh\|vmin\)"
syn match cssValueAngle contained "[-+]\=\d\+\(\.\d*\)\=turn"
" TODO: create cssValueResolution group
syn match cssValueNumber contained "[-+]\=\d\+\(\.\d*\)\=dp\(i\|cm\|px\)"
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(calc\|cycle\)\s*(" end=")" oneline keepend
syn keyword cssCommonAttr contained initial