mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 18:54:25 +08:00
add :not() negetion pseudo class
This commit is contained in:
@@ -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