mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 18:54:25 +08:00
Compare commits
8 Commits
2fb65e8ac3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3abb10e722 | ||
|
|
6993f12aef | ||
|
|
3ec4a4bb4b | ||
|
|
de15898a87 | ||
|
|
3b20ef3df2 | ||
|
|
dad0fd9dcc | ||
|
|
09920310c3 | ||
|
|
0d6d49c712 |
@@ -1,4 +1,4 @@
|
||||
syn keyword cssFontProp contained anchor-name anchor-scope position-area position-anchor position-try position-try-fallbacks position-try-order position-visibility
|
||||
syn keyword cssFontAttr contained span-left span-right span-x-start span-x-end x-self-start x-self-end span-x-self-start span-x-self-end span-all span-top span-bottom span-y-start span-y-end y-self-start y-self-end span-y-self-start span-y-self-end block-start block-end span-block-start span-block-end self-block-start self-block-end span-self-block-start span-self-block-end inline-start inline-end span-inline-start span-inline-end self-inline-start self-inline-end span-self-inline-start span-self-inline-end span-start span-end self-start self-end span-self-start span-self-end anchor-center most-width most-height most-block-size most-inline-size flip-block flip-inline flip-start
|
||||
syn keyword cssFontAttr contained span-left span-right span-x-start span-x-end self-x-start self-x-end span-self-x-start span-self-x-end span-all span-top span-bottom span-y-start span-y-end self-y-start self-y-end span-self-y-start span-self-y-end block-start block-end span-block-start span-block-end self-block-start self-block-end span-self-block-start span-self-block-end inline-start inline-end span-inline-start span-inline-end self-inline-start self-inline-end span-self-inline-start span-self-inline-end span-start span-end self-start self-end span-self-start span-self-end anchor-center most-width most-height most-block-size most-inline-size flip-block flip-inline flip-start
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<anchor\(-size\)\=\s*(" end=")" oneline keepend
|
||||
syn match cssFontDescriptor "@position-try\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
|
||||
1
after/syntax/css/anchor-position-2.vim
Normal file
1
after/syntax/css/anchor-position-2.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn keyword cssFontAttr contained anchored
|
||||
@@ -1,2 +1,2 @@
|
||||
syn keyword cssFontProp contained background-position-x background-position-y background-position-inline background-position-block
|
||||
syn keyword cssFontAttr contained x-start x-end y-start y-end
|
||||
syn keyword cssFontProp contained background-repeat-x background-repeat-y background-repeat-inline background-repeat-block background-position-x background-position-y background-position-inline background-position-block background-tbd
|
||||
syn keyword cssFontAttr contained x-start x-end y-start y-end border-area text repeat-block repeat-inline
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
syn keyword cssFontProp contained container-type container-name container
|
||||
syn keyword cssFontAttr contained inline-size
|
||||
syn match cssFontDescriptor "@\(when\|else\)\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
syn match cssFontDescriptor "@\(when\|else\|supports-condition\)\>" nextgroup=cssFontDescriptorBlock skipwhite skipnl
|
||||
|
||||
@@ -1,2 +0,0 @@
|
||||
syn keyword cssFontProp contained scroll-behavior
|
||||
syn keyword cssFontAttr contained smooth
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
syn keyword cssFontProp contained reading-flow
|
||||
syn keyword cssFontAttr contained flex-visual flex-flow grid-rows grid-columns
|
||||
syn keyword cssFontProp contained reading-flow reading-order
|
||||
syn keyword cssFontAttr contained flex-visual flex-flow grid-rows grid-columns source-order force-hidden
|
||||
|
||||
1
after/syntax/css/env-1.vim
Normal file
1
after/syntax/css/env-1.vim
Normal file
@@ -0,0 +1 @@
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<env\s*(" end=")" oneline contains=cssValueInteger,cssValueNumber,cssValueLength,cssFunctionComma
|
||||
@@ -1 +1,2 @@
|
||||
syn keyword cssFontProp contained continue overflow-clip-margin overflow-block overflow-inline scrollbar-gutter block-ellipsis line-clamp max-lines
|
||||
syn keyword cssFontProp contained continue overflow-clip-margin overflow-block overflow-inline scrollbar-gutter block-ellipsis line-clamp max-lines scroll-behavior
|
||||
syn keyword cssFontAttr contained smooth
|
||||
|
||||
@@ -23,19 +23,19 @@
|
||||
display: span-right;
|
||||
display: span-x-start;
|
||||
display: span-x-end;
|
||||
display: x-self-start;
|
||||
display: x-self-end;
|
||||
display: span-x-self-start;
|
||||
display: span-x-self-end;
|
||||
display: self-x-start;
|
||||
display: self-x-end;
|
||||
display: span-self-x-start;
|
||||
display: span-self-x-end;
|
||||
display: span-all;
|
||||
display: span-top;
|
||||
display: span-bottom;
|
||||
display: span-y-start;
|
||||
display: span-y-end;
|
||||
display: y-self-start;
|
||||
display: y-self-end;
|
||||
display: span-y-self-start;
|
||||
display: span-y-self-end;
|
||||
display: self-y-start;
|
||||
display: self-y-end;
|
||||
display: span-self-y-start;
|
||||
display: span-self-y-end;
|
||||
display: span-block-start;
|
||||
display: span-block-end;
|
||||
display: self-block-start;
|
||||
@@ -60,10 +60,15 @@
|
||||
display: flip-block;
|
||||
display: flip-inline;
|
||||
display: flip-start;
|
||||
display: dialog;
|
||||
display: anchor(--x 50%);
|
||||
display: anchor-size(--foo height);
|
||||
}
|
||||
|
||||
.anchor-position-2 {
|
||||
display: anchored;
|
||||
}
|
||||
|
||||
.animations-1 {
|
||||
display: auto;
|
||||
}
|
||||
@@ -80,14 +85,23 @@
|
||||
}
|
||||
|
||||
.backgrounds-4 {
|
||||
background-repeat-x: auto;
|
||||
background-repeat-y: auto;
|
||||
background-repeat-inline: auto;
|
||||
background-repeat-block: auto;
|
||||
background-position-x: auto;
|
||||
background-position-y: auto;
|
||||
background-position-inline: auto;
|
||||
background-position-block: auto;
|
||||
background-tbd: auto;
|
||||
display: x-start;
|
||||
display: x-end;
|
||||
display: y-start;
|
||||
display: y-end;
|
||||
display: border-area;
|
||||
display: text;
|
||||
display: repeat-block;
|
||||
display: repeat-inline;
|
||||
}
|
||||
|
||||
.borders-4 {
|
||||
@@ -268,6 +282,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
@supports-condition --thicker-underlines {
|
||||
.conditional-5 {
|
||||
display: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.contain-1 {
|
||||
contain: auto;
|
||||
display: layout;
|
||||
@@ -354,11 +374,10 @@
|
||||
}
|
||||
|
||||
.cssom-1 {
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.cssom-view-1 {
|
||||
scroll-behavior: smooth;
|
||||
display: auto;
|
||||
}
|
||||
|
||||
.device-adapt-1 {
|
||||
@@ -378,10 +397,13 @@
|
||||
|
||||
.display-4 {
|
||||
reading-flow: auto;
|
||||
reading-order: auto;
|
||||
display: flex-visual;
|
||||
display: flex-flow;
|
||||
display: grid-rows;
|
||||
display: grid-columns;
|
||||
display: source-order;
|
||||
display: force-hidden;
|
||||
}
|
||||
|
||||
.easing-1 {
|
||||
@@ -392,6 +414,10 @@
|
||||
display: linear(0, 0.25, 1);
|
||||
}
|
||||
|
||||
.env-1 {
|
||||
display: env(foo, red, blue);
|
||||
}
|
||||
|
||||
.exclusions-3 {
|
||||
wrap-flow: auto;
|
||||
wrap-through: auto;
|
||||
@@ -840,9 +866,11 @@ mask {
|
||||
overflow-inline: auto;
|
||||
scrollbar-gutter: auto;
|
||||
block-ellipsis: auto;
|
||||
scroll-behavior: auto;
|
||||
line-clamp: auto;
|
||||
max-lines: auto;
|
||||
continue: auto;
|
||||
display: smooth;
|
||||
}
|
||||
|
||||
.overflow-4::nth-fragment(1) {
|
||||
|
||||
Reference in New Issue
Block a user