Skip to content

Commit

Permalink
Merge pull request #44 from hail2u/css-fonts-4
Browse files Browse the repository at this point in the history
Add css-fonts-4.vim
  • Loading branch information
hail2u committed Nov 3, 2016
2 parents c553668 + 7340b8d commit b699575
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
4 changes: 4 additions & 0 deletions after/syntax/css/css-fonts-4.vim
@@ -0,0 +1,4 @@
syn match cssFontProp contained "\<font-optical-sizing\>"
syn match cssFontProp contained "\<font-variation-settings\>"
syn keyword cssFontAttr contained emoji math fangsong
syn match cssFontAttr contained "\<system-ui\>"
1 change: 1 addition & 0 deletions after/syntax/html.vim
Expand Up @@ -12,6 +12,7 @@ syn include @htmlCss syntax/css/css-display-3.vim
syn include @htmlCss syntax/css/css-flexbox-1.vim
syn include @htmlCss syntax/css/css-font-loading-3.vim
syn include @htmlCss syntax/css/css-fonts-3.vim
syn include @htmlCss syntax/css/css-fonts-4.vim
syn include @htmlCss syntax/css/css-gcpm-3.vim
syn include @htmlCss syntax/css/css-grid-1.vim
syn include @htmlCss syntax/css/css-inline-3.vim
Expand Down
7 changes: 7 additions & 0 deletions test/test.css
Expand Up @@ -286,6 +286,13 @@
display: proportional-width;
}

.fonts-4 {
font-optical-sizing: emoji;
font-variation-settings: math;
display: fangsong;
display: system-ui;
}

.gcpm-3::footnote-call,
.gcpm-3::footnote-marker {
running: footnote;
Expand Down
8 changes: 8 additions & 0 deletions test/test.html
Expand Up @@ -318,6 +318,14 @@
}
</style>
<style>
.fonts-4 {
font-optical-sizing: emoji;
font-variation-settings: math;
display: fangsong;
display: system-ui;
}
</style>
<style>
.gcpm-3::footnote-call,
.gcpm-3::footnote-marker {
running: footnote;
Expand Down

0 comments on commit b699575

Please sign in to comment.