mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 03:04:26 +08:00
add CSS3 new pseudo classes support
This commit is contained in:
5
after/syntax/css/css3-new-pseudo-classes.vim
Normal file
5
after/syntax/css/css3-new-pseudo-classes.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
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
|
||||
Reference in New Issue
Block a user