Update selectors-4.vim

https://www.w3.org/TR/2026/WD-selectors-4-20260122/
This commit is contained in:
Kyo Nagashima
2026-01-25 13:40:13 +09:00
parent 6e8eb4ee6e
commit f2fba9f8b2
2 changed files with 23 additions and 33 deletions

View File

@@ -1,3 +1,3 @@
syn match cssSelectorOp "[|]"
syn keyword cssPseudoClassId contained scope current past future default valid required optional blank playing paused any-link local-link read-only read-write placeholder-shown in-range out-of-range user-invalid user-valid target-within defined modal fullscreen picture-in-picture seeking buffering stalled muted volume-locked autofill open closed
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(dir\|local-link\|current\|nth\(-last\)\=-col\|has\|where\)(" end=")" oneline
syn keyword cssPseudoClassId contained defined any-link scope playing paused seeking buffering stalled muted volume-locked open popover-open modal fullscreen picture-in-picture read-only read-write placeholder-shown autofill default valid in-range out-of-range required optional user-valid user-invalid
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(where\|has\|dir\)(" end=")" oneline