mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 03:04:26 +08:00
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:
@@ -1,3 +1,2 @@
|
||||
syn match cssTextProp contained "\<text-\(decoration\(-\(color\|line\|skip\|style\)\)\=\|underline-position\|emphasis\(-\(color\|position\|style\)\)\=\)\>"
|
||||
syn keyword cssTextAttr contained wavy objects alphabetic spaces edges ink under filled dot triangle sesame over
|
||||
syn match cssTextAttr contained "\<box-decoration\>"
|
||||
syn match cssTextProp contained "\<text-\(decoration\(-\(color\|line\|style\)\)\=\|underline-position\|emphasis\(-\(color\|position\|style\)\)\=\)\>"
|
||||
syn keyword cssTextAttr contained wavy alphabetic ink under filled dot triangle sesame over
|
||||
|
||||
4
after/syntax/css/css-text-decor-4.vim
Normal file
4
after/syntax/css/css-text-decor-4.vim
Normal 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\>"
|
||||
@@ -783,17 +783,25 @@
|
||||
.text-decor-3 {
|
||||
text-decoration-color: filled;
|
||||
text-decoration-line: dot;
|
||||
text-decoration-skip: triangle;
|
||||
text-decoration-style: sesame;
|
||||
text-emphasis: objects;
|
||||
text-emphasis: alphabetic;
|
||||
text-emphasis-color: ink;
|
||||
text-emphasis-position: edges;
|
||||
text-emphasis-position: under;
|
||||
text-emphasis-style: wavy;
|
||||
display: alphabetic;
|
||||
display: spaces;
|
||||
display: box-decoration;
|
||||
display: under;
|
||||
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 {
|
||||
|
||||
Reference in New Issue
Block a user