Use cssFont*

This commit is contained in:
Kyo Nagashima
2022-11-24 14:46:12 +09:00
parent 56a598ef5d
commit da942b9a9f
18 changed files with 31 additions and 33 deletions

View File

@@ -1,2 +1,2 @@
syn keyword cssBoxProp contained margin-trim syn keyword cssFontProp contained margin-trim
syn keyword cssBoxAttr contained in-flow syn keyword cssFontAttr contained in-flow

View File

@@ -1,2 +1,2 @@
syn keyword cssBoxProp contained margin-break syn keyword cssFontProp contained margin-break
syn keyword cssFontAttr contained keep syn keyword cssFontAttr contained keep

View File

@@ -1,2 +1,2 @@
syn keyword cssCommonAttr contained revert syn keyword cssFontAttr contained revert
syn region cssURL contained matchgroup=cssFunctionName start="\<supports\s*(" end=")" oneline keepend syn region cssURL contained matchgroup=cssFunctionName start="\<supports\s*(" end=")" oneline keepend

View File

@@ -1,2 +1,2 @@
syn keyword cssColorProp contained forced-color-adjust print-color-adjust color-adjust color-scheme syn keyword cssFontProp contained forced-color-adjust print-color-adjust color-adjust color-scheme
syn keyword cssFontAttr contained economy exact syn keyword cssFontAttr contained economy exact

View File

@@ -1,3 +1,3 @@
syn keyword cssGeneratedContentProp contained string-set bookmark-label bookmark-level bookmark-state syn keyword cssFontProp contained string-set bookmark-label bookmark-level bookmark-state
syn keyword cssGeneratedContentAttr contained open closed syn keyword cssFontAttr contained open closed
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(leader\|string\|target-\(counter\|counters\|text\)\)\s*(" end=")" oneline keepend syn region cssFunction contained matchgroup=cssFunctionName start="\<\(leader\|string\|target-\(counter\|counters\|text\)\)\s*(" end=")" oneline keepend

View File

@@ -1,4 +1,4 @@
syn keyword cssGeneratedContentProp contained system negative prefix suffix range pad fallback additive-symbols symbols speak-as syn keyword cssFontProp contained system negative prefix suffix range pad fallback additive-symbols symbols speak-as
syn keyword cssGeneratedContentAttr contained cyclic symbolic additive extends bullets numbers words bengali cambodian khmer devanagari gujarati gurmukhi kannada lao malayalam mongolian myanmar oriya persian tamil telugu thai tibetan ethiopic-numeric numeric arabic-indic upper-armenian lower-armenian cjk-decimal cjk-earthly-branch cjk-heavenly-stem disclosure-open disclosure-closed japanese-formal korean-hanja-formal simp-chinese-formal trad-chinese-formal japanese-informal korean-hanja-informal simp-chinese-informal trad-chinese-informal korean-hangul-formal syn keyword cssFontAttr contained cyclic symbolic additive extends bullets numbers words bengali cambodian khmer devanagari gujarati gurmukhi kannada lao malayalam mongolian myanmar oriya persian tamil telugu thai tibetan ethiopic-numeric numeric arabic-indic upper-armenian lower-armenian cjk-decimal cjk-earthly-branch cjk-heavenly-stem disclosure-open disclosure-closed japanese-formal korean-hanja-formal simp-chinese-formal trad-chinese-formal japanese-informal korean-hanja-informal simp-chinese-informal trad-chinese-informal korean-hangul-formal
syn region cssFunction contained matchgroup=cssFunctionName start="\<symbols\s*(" end=")" oneline keepend syn region cssFunction contained matchgroup=cssFunctionName start="\<symbols\s*(" end=")" oneline keepend
syn match cssFontDescriptor "@counter-style\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl syn match cssFontDescriptor "@counter-style\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl

View File

@@ -1,2 +1 @@
syn keyword cssFontAttr contained contents syn keyword cssFontAttr contained contents run-in
syn keyword cssBoxAttr contained run-in

View File

@@ -1,4 +1,4 @@
syn keyword cssGeneratedContentProp contained running footnote-display footnote-policy syn keyword cssFontProp contained running footnote-display footnote-policy
syn keyword cssGeneratedContentAttr contained footnote line syn keyword cssFontAttr contained footnote line
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(element\|running\)\s*(" end=")" oneline keepend syn region cssFunction contained matchgroup=cssFunctionName start="\<\(element\|running\)\s*(" end=")" oneline keepend
syn keyword cssPseudoClassId contained footnote-call footnote-marker syn keyword cssPseudoClassId contained footnote-call footnote-marker

View File

@@ -1,3 +1,3 @@
syn keyword cssGeneratedContentProp contained marker-side counter-set syn keyword cssFontProp contained marker-side counter-set
syn keyword cssGeneratedContentAttr contained marker contained match-self contained list-container syn keyword cssFontAttr contained marker contained match-self contained list-container
syn region cssFunction contained matchgroup=cssFunctionName start="\<counters\s*(" end=")" oneline keepend syn region cssFunction contained matchgroup=cssFunctionName start="\<counters\s*(" end=")" oneline keepend

View File

@@ -1,3 +1,3 @@
syn keyword cssPositioningProp contained float-reference float-defer float-offset syn keyword cssFontProp contained float-reference float-defer float-offset
syn keyword cssPositioningAttr contained inline-start inline-end snap-block snap-inline syn keyword cssFontAttr contained inline-start inline-end snap-block snap-inline
syn region cssURL contained matchgroup=cssFunctionName start="\<snap-\(block\|inline\)\s*(" end=")" oneline keepend syn region cssURL contained matchgroup=cssFunctionName start="\<snap-\(block\|inline\)\s*(" end=")" oneline keepend

View File

@@ -1,3 +1,2 @@
syn keyword cssFontProp contained shape-inside border-boundary polar-angle polar-distance syn keyword cssFontProp contained shape-inside border-boundary polar-angle polar-distance device-radius
syn keyword cssFontAttr contained parent polar contained outside-shape contained shape-box syn keyword cssFontAttr contained parent polar contained outside-shape contained shape-box
syn keyword cssMediaProp contained device-radius

View File

@@ -1,3 +1,3 @@
syn keyword cssAuralProp contained voice-volume voice-balance voice-rate voice-pitch voice-range voice-stress voice-duration rest rest-before rest-after syn keyword cssFontProp contained voice-volume voice-balance voice-rate voice-pitch voice-range voice-stress voice-duration rest rest-before rest-after
syn keyword cssAuralAttr contained young old neutral preserve moderate reduced literal-punctuation no-punctuation weak x-weak strong x-strong syn keyword cssFontAttr contained young old neutral preserve moderate reduced literal-punctuation no-punctuation weak x-weak strong x-strong
syn match cssValueNumber contained "[-+]\=\d\+\(dB\|st\)" syn match cssValueNumber contained "[-+]\=\d\+\(dB\|st\)"

View File

@@ -1,2 +1,2 @@
syn keyword cssTextProp contained tab-size text-align-all syn keyword cssFontProp contained tab-size text-align-all
syn keyword cssTextAttr contained loose strict hanging anywhere match-parent each-line full-width justify-all break-spaces syn keyword cssFontAttr contained loose strict hanging anywhere match-parent each-line full-width justify-all break-spaces

View File

@@ -1,2 +1,2 @@
syn keyword cssTextProp contained text-space-collapse text-space-trim text-wrap text-spacing text-group-align wrap-before wrap-after wrap-inside hyphenate-character hyphenate-limit-zone hyphenate-limit-chars hyphenate-limit-lines hyphenate-limit-last line-padding word-boundary-detection word-boundary-expansion syn keyword cssFontProp contained text-space-collapse text-space-trim text-wrap text-spacing text-group-align wrap-before wrap-after wrap-inside hyphenate-character hyphenate-limit-zone hyphenate-limit-chars hyphenate-limit-lines hyphenate-limit-last line-padding word-boundary-detection word-boundary-expansion
syn keyword cssTextAttr contained spread punctuation preserve-breaks preserve-spaces trim-inner discard-before discard-after avoid-line avoid-flex pre-wrap-auto no-limit trim-start trim-end trim-adjacent space-start space-end space-adjacent space-first no-compress ideograph-alpha ideograph-numeric ideographic-space syn keyword cssFontAttr contained spread punctuation preserve-breaks preserve-spaces trim-inner discard-before discard-after avoid-line avoid-flex pre-wrap-auto no-limit trim-start trim-end trim-adjacent space-start space-end space-adjacent space-first no-compress ideograph-alpha ideograph-numeric ideographic-space

View File

@@ -1,2 +1,2 @@
syn keyword cssTextProp contained text-decoration-color text-decoration-line text-decoration-style text-emphasis text-emphasis-color text-emphasis-position text-emphasis-style syn keyword cssFontProp contained text-decoration-color text-decoration-line text-decoration-style text-emphasis text-emphasis-color text-emphasis-position text-emphasis-style
syn keyword cssTextAttr contained wavy alphabetic ink under filled dot triangle sesame over syn keyword cssFontAttr contained wavy alphabetic ink under filled dot triangle sesame over

View File

@@ -1,2 +1,2 @@
syn keyword cssTextProp contained text-decoration-thickness text-underline-offset text-decoration-skip text-decoration-skip-ink text-emphasis-skip syn keyword cssFontProp contained text-decoration-thickness text-underline-offset text-decoration-skip text-decoration-skip-ink text-emphasis-skip
syn keyword cssTextAttr contained objects edges symbols narrow spelling-error grammer-error from-font spaces leading-spaces trailing-spaces box-decoration syn keyword cssFontAttr contained objects edges symbols narrow spelling-error grammer-error from-font spaces leading-spaces trailing-spaces box-decoration

View File

@@ -1,2 +1,2 @@
syn keyword cssUIProp contained caret-color syn keyword cssFontProp contained caret-color
syn keyword cssUIAttr contained grab grabbing syn keyword cssFontAttr contained grab grabbing

View File

@@ -1,3 +1,3 @@
syn keyword cssUIProp contained caret caret-shape syn keyword cssFontProp contained caret caret-shape
syn keyword cssUIAttr contained fade underscore syn keyword cssFontAttr contained fade underscore
syn region cssFunction contained matchgroup=cssFunctionName start="\<fade\s*(" end=")" oneline keepend syn region cssFunction contained matchgroup=cssFunctionName start="\<fade\s*(" end=")" oneline keepend