Files
vim-css3-syntax/after/syntax/css/css3-pseudo-classes.vim
Kyo Nagashima 49e184b7a6 rename files
2011-01-25 18:19:47 +09:00

6 lines
405 B
VimL

syn keyword cssPseudoClassId contained target enabled disabled checked indeterminate root empty
syn match cssPseudoClassId contained "\<first-of-type\>"
syn match cssPseudoClassId contained "\<last-\(child\|of-type\)\>"
syn match cssPseudoClassId contained "\<only-\(child\|of-type\)\>"
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":nth\(-last\)\?-\(child\|of-type\)(" end=")" oneline