Files
vim-css3-syntax/after/syntax/css/selectors-3.vim
Kyo Nagashima dac9bf02f8 Update filenames
A filename should be matched to a spec name.
2018-02-08 09:27:12 +09:00

6 lines
414 B
VimL

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