mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2026-01-28 03:42:08 +08:00
follow WD-css-text-3-20131010
This commit is contained in:
@@ -1,16 +1,8 @@
|
|||||||
syn match cssTextProp contained "\<hanging-punctuation\>"
|
syn keyword cssTextProp contained hyphens
|
||||||
syn match cssTextProp contained "\<line-break\>"
|
syn match cssTextProp contained "\<line-break\>"
|
||||||
syn match cssTextProp contained "\<\(word\|overflow\)-wrap\>"
|
syn match cssTextProp contained "\<overflow-wrap\>"
|
||||||
syn match cssTextProp contained "\<tab-size\>"
|
syn match cssTextProp contained "\<tab-size\>"
|
||||||
syn match cssTextProp contained "\<text-\(align-last\|autospace\|justify\|shadow\|underline-position\)\>"
|
syn keyword cssTextAttr contained manual loose strict hanging
|
||||||
syn match cssTextProp contained "\<word-break\>"
|
|
||||||
syn keyword cssTextAttr contained loose strict hanging distribute kashida preserve alphabetic
|
|
||||||
syn match cssTextAttr contained "\<\(allow\|force\)-end\>"
|
|
||||||
syn match cssTextAttr contained "\<keep-all\>"
|
|
||||||
syn match cssTextAttr contained "\<match-parent\>"
|
syn match cssTextAttr contained "\<match-parent\>"
|
||||||
syn match cssTextAttr contained "\<double-circle\>"
|
|
||||||
syn match cssTextAttr contained "\<each-line\>"
|
syn match cssTextAttr contained "\<each-line\>"
|
||||||
syn match cssTextAttr contained "\<inter-\(word\|ideograph\|cluster\)\>"
|
|
||||||
syn match cssTextAttr contained "\<preserve-breaks\>"
|
|
||||||
syn match cssTextAttr contained "\<full-width\>"
|
syn match cssTextAttr contained "\<full-width\>"
|
||||||
syn match cssTextAttr contained "\<break-\(all\|word\)\>"
|
|
||||||
|
|||||||
@@ -369,24 +369,13 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
hanging-punctuation: loose;
|
hyphens: manual;
|
||||||
line-break: strict;
|
line-break: loose;
|
||||||
word-wrap: auto;
|
overflow-wrap: strict;
|
||||||
overflow-wrap: hanging;
|
tab-size: match-parent;
|
||||||
tab-size: distribute;
|
display: hanging;
|
||||||
text-align-last: kashida;
|
display: each-line;
|
||||||
text-autospace: preserve;
|
|
||||||
text-justify: each-line;
|
|
||||||
text-shadow: allow-end;
|
|
||||||
text-underline-position: keep-all;
|
|
||||||
word-break: double-circle;
|
|
||||||
display: inter-word;
|
|
||||||
display: inter-ideograph;
|
|
||||||
display: inter-cluster;
|
|
||||||
display: preserve-breaks;
|
|
||||||
display: full-width;
|
display: full-width;
|
||||||
display: break-all;
|
|
||||||
display: break-word;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.text-decor-3 {
|
.text-decor-3 {
|
||||||
|
|||||||
Reference in New Issue
Block a user