diff --git a/after/syntax/css/css-text-decor-3.vim b/after/syntax/css/css-text-decor-3.vim new file mode 100644 index 0000000..4ec2800 --- /dev/null +++ b/after/syntax/css/css-text-decor-3.vim @@ -0,0 +1,3 @@ +syn match cssTextProp contained "\" +syn keyword cssTextAttr contained wavy objects spaces edges ink under filled dot triangle sesame over +syn match cssTextAttr contained "\" diff --git a/after/syntax/css/css3-text.vim b/after/syntax/css/css3-text.vim index 145e075..7dd1dce 100644 --- a/after/syntax/css/css3-text.vim +++ b/after/syntax/css/css3-text.vim @@ -2,9 +2,9 @@ syn match cssTextProp contained "\" syn match cssTextProp contained "\" syn match cssTextProp contained "\" syn match cssTextProp contained "\" -syn match cssTextProp contained "\" +syn match cssTextProp contained "\" syn match cssTextProp contained "\" -syn keyword cssTextAttr contained loose strict objects ink edges wavy filled dot triangle sesame hanging distribute kashida preserve alphabetic +syn keyword cssTextAttr contained loose strict hanging distribute kashida preserve alphabetic syn match cssTextAttr contained "\<\(allow\|force\)-end\>" syn match cssTextAttr contained "\" syn match cssTextAttr contained "\" diff --git a/test/test.css b/test/test.css index 09a5acc..c32d34a 100644 --- a/test/test.css +++ b/test/test.css @@ -375,33 +375,39 @@ .text { hanging-punctuation: loose; line-break: strict; - overflow-wrap: objects; - tab-size: ink; - text-align-last: edges; - text-autospace: wavy; - text-decoration-color: filled; - text-decoration-line: dot; - text-decoration-skip: triangle; - text-decoration-style: sesame; - text-emphasis: hanging; - text-emphasis-color: distribute; - text-emphasis-position: kashida; - text-emphasis-style: preserve; - text-justify: alphabetic; + overflow-wrap: hanging; + tab-size: distribute; + text-align-last: kashida; + text-autospace: preserve; + text-justify: each-line; text-shadow: allow-end; text-underline-position: keep-all; word-break: double-circle; - display: each-line; display: inter-word; display: inter-ideograph; display: inter-cluster; display: preserve-breaks; display: full-width; - display: full-size-kana; display: break-all; display: break-word; } +.text-decor-3 { + text-decoration-color: filled; + text-decoration-line: dot; + text-decoration-skip: triangle; + text-decoration-style: sesame; + text-emphasis: objects; + text-emphasis-color: ink; + text-emphasis-position: edges; + text-emphasis-style: wavy; + display: alphabetic; + display: spaces; + display: box-decoration; + display: under; + display: over; +} + .transforms { backface-visibility: flat; perspective: preserve-3d;