mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-08 11:34:45 +08:00
Highlight @counter-style region
This commit is contained in:
@@ -1,7 +1,10 @@
|
|||||||
" TODO: create cssCounterStyleDescriptor for `@counter-style` descriptor
|
" TODO: create cssCounterStyleDescriptor for `@counter-style` descriptors
|
||||||
syn keyword cssGeneratedContentProp contained negative prefix suffix range pad fallback
|
syn region cssInclude start=/@counter-style\>/ end=/\ze{/ skipwhite skipnl contains=css.*Prop,css.*Attr,cssValueInteger,cssValueLength,cssMediaKeyword,cssVendor,cssIncludeKeyword,cssComment nextgroup=cssMediaBlock
|
||||||
|
syn keyword cssGeneratedContentProp contained system negative prefix suffix range pad fallback
|
||||||
syn match cssGeneratedContentProp contained "\<\(additive-\)\=symbols\>"
|
syn match cssGeneratedContentProp contained "\<\(additive-\)\=symbols\>"
|
||||||
syn match cssGeneratedContentProp contained "\<speak-as\>"
|
syn match cssGeneratedContentProp contained "\<speak-as\>"
|
||||||
|
syn keyword cssGeneratedContentAttr contained cyclic symbolic numeric additive override
|
||||||
|
syn match cssGeneratedContentAttr contained "\<cjk-decimal\>"
|
||||||
syn match cssGeneratedContentAttr contained "\<disclosure-\(open\|closed\)\>"
|
syn match cssGeneratedContentAttr contained "\<disclosure-\(open\|closed\)\>"
|
||||||
syn match cssGeneratedContentAttr contained "\<simp-chinese-\(in\)\=formal\>"
|
syn match cssGeneratedContentAttr contained "\<simp-chinese-\(in\)\=formal\>"
|
||||||
syn match cssGeneratedContentAttr contained "\<trad-chinese-\(in\)\=formal\>"
|
syn match cssGeneratedContentAttr contained "\<trad-chinese-\(in\)\=formal\>"
|
||||||
|
|||||||
@@ -104,16 +104,21 @@
|
|||||||
display: last;
|
display: last;
|
||||||
}
|
}
|
||||||
|
|
||||||
.counter-styles {
|
@counter-style counter-style {
|
||||||
negative: disclosure-open;
|
system: cyclic;
|
||||||
prefix: disclosure-closed;
|
negative: symbolic;
|
||||||
suffix: simp-chinese-informal;
|
prefix: numeric;
|
||||||
range: simp-chinese-formal;
|
suffix: additive;
|
||||||
pad: trad-chinese-informal;
|
range: override;
|
||||||
fallback: trad-chinese-formal;
|
pad: cjk-decimal;
|
||||||
symbols: ethiopic-numeric;
|
fallback: disclosure-open;
|
||||||
additive-symbols: symbols("*" "\2020" "\2021" "\A7");
|
symbols: disclosure-closed;
|
||||||
speak-as: auto;
|
additive-symbols: simp-chinese-informal;
|
||||||
|
speak-as: simp-chinese-formal;
|
||||||
|
display: trad-chinese-informal;
|
||||||
|
display: trad-chinese-formal;
|
||||||
|
display: ethiopic-numeric;
|
||||||
|
display: symbols("*" "\2020" "\2021" "\A7");
|
||||||
}
|
}
|
||||||
|
|
||||||
.display {
|
.display {
|
||||||
|
|||||||
@@ -114,16 +114,21 @@
|
|||||||
display: last;
|
display: last;
|
||||||
}
|
}
|
||||||
|
|
||||||
.counter-styles {
|
@counter-style counter-style {
|
||||||
negative: disclosure-open;
|
system: cyclic;
|
||||||
prefix: disclosure-closed;
|
negative: symbolic;
|
||||||
suffix: simp-chinese-informal;
|
prefix: numeric;
|
||||||
range: simp-chinese-formal;
|
suffix: additive;
|
||||||
pad: trad-chinese-informal;
|
range: override;
|
||||||
fallback: trad-chinese-formal;
|
pad: cjk-decimal;
|
||||||
symbols: ethiopic-numeric;
|
fallback: disclosure-open;
|
||||||
additive-symbols: symbols("*" "\2020" "\2021" "\A7");
|
symbols: disclosure-closed;
|
||||||
speak-as: auto;
|
additive-symbols: simp-chinese-informal;
|
||||||
|
speak-as: simp-chinese-formal;
|
||||||
|
display: trad-chinese-informal;
|
||||||
|
display: trad-chinese-formal;
|
||||||
|
display: ethiopic-numeric;
|
||||||
|
display: symbols("*" "\2020" "\2021" "\A7");
|
||||||
}
|
}
|
||||||
|
|
||||||
.display {
|
.display {
|
||||||
|
|||||||
Reference in New Issue
Block a user