Add css-text-decor-4.vim

See also: http://www.w3.org/TR/2018/WD-css-text-decor-4-20180313/

This commit also moves some properties and values from
`css-text-decor-3.vim`.
This commit is contained in:
Kyo Nagashima
2018-03-15 14:37:13 +09:00
parent b81a10086d
commit 8863961356
3 changed files with 20 additions and 9 deletions

View File

@@ -1,3 +1,2 @@
syn match cssTextProp contained "\<text-\(decoration\(-\(color\|line\|skip\|style\)\)\=\|underline-position\|emphasis\(-\(color\|position\|style\)\)\=\)\>" syn match cssTextProp contained "\<text-\(decoration\(-\(color\|line\|style\)\)\=\|underline-position\|emphasis\(-\(color\|position\|style\)\)\=\)\>"
syn keyword cssTextAttr contained wavy objects alphabetic spaces edges ink under filled dot triangle sesame over syn keyword cssTextAttr contained wavy alphabetic ink under filled dot triangle sesame over
syn match cssTextAttr contained "\<box-decoration\>"

View File

@@ -0,0 +1,4 @@
syn match cssTextProp contained "\<text-\(decoration-\(width\|skip\|skip-ink\)\|underline-offset\|emphasis-skip\)\>"
syn keyword cssTextAttr contained objects edges symbols narrow
syn match cssTextAttr contained "\<box-decoration\>"
syn match cssTextAttr contained "\<\(\(leading\|trailing\)-\)\=spaces\>"

View File

@@ -783,17 +783,25 @@
.text-decor-3 { .text-decor-3 {
text-decoration-color: filled; text-decoration-color: filled;
text-decoration-line: dot; text-decoration-line: dot;
text-decoration-skip: triangle;
text-decoration-style: sesame; text-decoration-style: sesame;
text-emphasis: objects; text-emphasis: alphabetic;
text-emphasis-color: ink; text-emphasis-color: ink;
text-emphasis-position: edges; text-emphasis-position: under;
text-emphasis-style: wavy; text-emphasis-style: wavy;
display: alphabetic;
display: spaces;
display: box-decoration;
display: under; display: under;
display: over; display: over;
display: triangle;
}
.text-decor-4 {
text-decoration-width: objects;
text-underline-offset: spaces;
text-decoration-skip: leading-spaces;
text-decoration-skip-ink: trailing-spaces;
text-emphasis-skip: edges;
display: box-decoration;
display: symbols;
display: narrow;
} }
.timing-1 { .timing-1 {