add :not() negetion pseudo class

This commit is contained in:
Kyo Nagashima
2012-02-27 05:49:44 +09:00
parent 45c411c399
commit e6bc5715bb

View File

@@ -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