mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2026-10-16 19:11:36 +08:00
add :not() negetion pseudo class
This commit is contained in:
1 parent
45c411c399
commit
e6bc5715bb
1 file changed
+1
-1
@@ -2,4 +2,4 @@ syn keyword cssPseudoClassId contained target enabled disabled checked indetermi
|
||||
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
|
||||
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(nth\(-last\)\=-\(child\|of-type\)\|not\)(" end=")" oneline
|
||||
Reference in new issue
Block a user