diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-08-21 09:52:53 +0900 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2023-08-21 20:32:28 +0900 |
commit | 5b78a5c72a1ae8999646ecb268ab47b767c3e709 (patch) | |
tree | 460558b14f95d4ae56466d8fcccdce921993515b | |
parent | c9764bf331b4238ea60af382b013e0d058318d58 (diff) | |
download | rneovim-5b78a5c72a1ae8999646ecb268ab47b767c3e709.tar.gz rneovim-5b78a5c72a1ae8999646ecb268ab47b767c3e709.tar.bz2 rneovim-5b78a5c72a1ae8999646ecb268ab47b767c3e709.zip |
vim-patch:309ded19543c
runtime(css): Update pseudo-classes in syntax script (vim/vim#11595)
https://github.com/vim/vim/commit/309ded19543c140375b28ef562257e9f22c918c6
Co-authored-by: Adrian Heine né Lang <mail@adrianheine.de>
-rw-r--r-- | runtime/syntax/css.vim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/syntax/css.vim b/runtime/syntax/css.vim index 564dc151bc..f8104ea2c5 100644 --- a/runtime/syntax/css.vim +++ b/runtime/syntax/css.vim @@ -452,12 +452,12 @@ syn match cssAttrComma "," " Pseudo class " https://www.w3.org/TR/selectors-4/ syn match cssPseudoClass ":[A-Za-z0-9_-]*" contains=cssNoise,cssPseudoClassId,cssUnicodeEscape,cssVendor,cssPseudoClassFn -syn keyword cssPseudoClassId contained link visited active hover before after left right -syn keyword cssPseudoClassId contained root empty target enabled disabled checked invalid +syn keyword cssPseudoClassId contained link visited active hover before after left right any-link +syn keyword cssPseudoClassId contained root empty target enabled disabled checked invalid default defined autofill fullscreen host indeterminate in-range modal optional out-of-range picture-in-picture placeholder-shown paused playing read-only read-write required scope syn match cssPseudoClassId contained "\<first-\(line\|letter\)\>" syn match cssPseudoClassId contained "\<\(first\|last\|only\)-\(of-type\|child\)\>" syn match cssPseudoClassId contained "\<focus\(-within\|-visible\)\=\>" -syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\<\(not\|is\|lang\|\(nth\|nth-last\)-\(of-type\|child\)\)(" end=")" contains=cssStringQ,cssStringQQ,cssTagName,cssAttributeSelector,cssClassName,cssIdentifier +syn region cssPseudoClassFn contained matchgroup=cssFunctionName start="\<\(where\|has\|host\|not\|is\|lang\|\(nth\|nth-last\)-\(of-type\|child\)\)(" end=")" contains=cssStringQ,cssStringQQ,cssTagName,cssAttributeSelector,cssClassName,cssIdentifier " ------------------------------------ " Vendor specific properties syn match cssPseudoClassId contained "\<selection\>" |