mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 03:04:26 +08:00
Follow changes in WD-css-text-4-20180920
See also: https://www.w3.org/TR/2018/WD-css-text-4-20180920/
This commit is contained in:
@@ -1,14 +1,16 @@
|
|||||||
syn match cssTextProp contained "\<text-space-\(collapse\|trim\)\>"
|
syn match cssTextProp contained "\<text-space-\(collapse\|trim\)\>"
|
||||||
syn match cssTextProp contained "\<text-\(wrap\|spacing\)\>"
|
syn match cssTextProp contained "\<text-\(wrap\|spacing\|group-align\)\>"
|
||||||
syn match cssTextProp contained "\<wrap-\(before\|after\|inside\)\>"
|
syn match cssTextProp contained "\<wrap-\(before\|after\|inside\)\>"
|
||||||
syn match cssTextProp contained "\<hyphenate-\(character\|limit-\(zone\|chars\|lines\|last\)\)\>"
|
syn match cssTextProp contained "\<hyphenate-\(character\|limit-\(zone\|chars\|lines\|last\)\)\>"
|
||||||
|
syn match cssTextProp contained "\<line-padding\>"
|
||||||
syn keyword cssTextAttr contained spread punctuation
|
syn keyword cssTextAttr contained spread punctuation
|
||||||
syn match cssTextAttr contained "\<preserve-\(auto\|trim\|breaks\|spaces\)\>"
|
syn match cssTextAttr contained "\<preserve-\(breaks\|spaces\)\>"
|
||||||
syn match cssTextAttr contained "\<trim-inner\>"
|
syn match cssTextAttr contained "\<trim-inner\>"
|
||||||
syn match cssTextAttr contained "\<discard-\(before\|after\)\>"
|
syn match cssTextAttr contained "\<discard-\(before\|after\)\>"
|
||||||
syn match cssTextAttr contained "\<avoid-\(line\|flex\)\>"
|
syn match cssTextAttr contained "\<avoid-\(line\|flex\)\>"
|
||||||
syn match cssTextAttr contained "\<pre-wrap-auto\>"
|
syn match cssTextAttr contained "\<pre-wrap-auto\>"
|
||||||
syn match cssTextAttr contained "\<no-limit\>"
|
syn match cssTextAttr contained "\<no-limit\>"
|
||||||
syn match cssTextAttr contained "\<\(trim\|space\)-\(start\|end\|adjacent\)\>"
|
syn match cssTextAttr contained "\<\(trim\|space\)-\(start\|end\|adjacent\)\>"
|
||||||
|
syn match cssTextAttr contained "\<space-first\>"
|
||||||
syn match cssTextAttr contained "\<no-compress\>"
|
syn match cssTextAttr contained "\<no-compress\>"
|
||||||
syn match cssTextAttr contained "\<ideograph-\(alpha\|numeric\)\>"
|
syn match cssTextAttr contained "\<ideograph-\(alpha\|numeric\)\>"
|
||||||
|
|||||||
@@ -933,9 +933,9 @@ view {
|
|||||||
hyphenate-limit-chars: auto;
|
hyphenate-limit-chars: auto;
|
||||||
hyphenate-limit-lines: auto;
|
hyphenate-limit-lines: auto;
|
||||||
hyphenate-limit-last: auto;
|
hyphenate-limit-last: auto;
|
||||||
|
text-group-align: auto;
|
||||||
|
line-padding: auto;
|
||||||
text-spacing: auto;
|
text-spacing: auto;
|
||||||
display: preserve-auto;
|
|
||||||
display: preserve-trim;
|
|
||||||
display: preserve-breaks;
|
display: preserve-breaks;
|
||||||
display: preserve-spaces;
|
display: preserve-spaces;
|
||||||
display: trim-inner;
|
display: trim-inner;
|
||||||
@@ -948,6 +948,7 @@ view {
|
|||||||
display: spread;
|
display: spread;
|
||||||
display: trim-start;
|
display: trim-start;
|
||||||
display: space-start;
|
display: space-start;
|
||||||
|
display: space-first;
|
||||||
display: trim-end;
|
display: trim-end;
|
||||||
display: space-end;
|
display: space-end;
|
||||||
display: trim-adjacent;
|
display: trim-adjacent;
|
||||||
|
|||||||
Reference in New Issue
Block a user