Update fonts-4.vim

https://www.w3.org/TR/2026/WD-css-fonts-4-20260303/
This commit is contained in:
Kyo Nagashima
2026-03-05 11:12:32 +09:00
parent 0d21172b97
commit 5fc09da206
2 changed files with 2 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
syn keyword cssFontProp contained font-synthesis font-synthesis-weight font-synthesis-style font-synthesis-small-caps font-synthesis-position font-named-instance font-display ascent-override descent-override line-gap-override font-optical-sizing font-variation-settings font-palette font-variant-emoji font-presentation base-palette override-color
syn keyword cssFontAttr contained emoji math fangsong swap fallback light dark contained system-ui contained ui-sans-serif ui-serif ui-monospace ui-rounded contained xxx-large contained historical-forms
syn keyword cssFontAttr contained oblique-only emoji math fangsong swap fallback light dark contained system-ui contained ui-sans-serif ui-serif ui-monospace ui-rounded contained xxx-large contained historical-forms
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(stylistic\|styleset\|character-variant\|swash\|ornaments\|annotation\)\s*(" end=")" oneline keepend
syn match cssFontDescriptor "@font-feature-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
syn match cssFontDescriptor "@font-palette-values\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl

View File

@@ -539,6 +539,7 @@
font-palette: auto;
font-variant-emoji: auto;
font-presentation: auto;
display: oblique-only;
display: system-ui;
display: emoji;
display: math;