Add selectors-5.vim

https://www.w3.org/TR/2026/WD-selectors-5-20260217/
This commit is contained in:
Kyo Nagashima
2026-02-19 08:24:29 +09:00
parent fffcf18406
commit 8b615eb6a2
2 changed files with 21 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
syn match cssSelectorOp "[||]"
syn match cssSelectorOp "/[a-z:]\+/"
syn keyword cssPseudoClassId contained defined local-link interest-source interest-target blank current past future heading
syn region cssPseudoClassLang matchgroup=cssPseudoClassId start=":\(state\|headings\|nth-col\|nth-last-col\)(" end=")" oneline