Update text-decor-4.vim

https://www.w3.org/TR/2020/WD-css-text-decor-4-20200506/
This commit is contained in:
Kyo Nagashima
2020-05-09 09:25:41 +09:00
parent a916d1e5d2
commit 2c75d94fc8
2 changed files with 8 additions and 3 deletions

View File

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

View File

@@ -1073,12 +1073,15 @@ view {
} }
.text-decor-4 { .text-decor-4 {
text-decoration-width: auto; text-decoration-thickness: auto;
text-underline-offset: auto; text-underline-offset: auto;
text-decoration-skip: auto; text-decoration-skip: auto;
text-decoration-skip-ink: auto; text-decoration-skip-ink: auto;
text-emphasis-skip: auto; text-emphasis-skip: auto;
display: spelling-error;
display: grammer-error;
display: objects; display: objects;
display: from-font;
display: spaces; display: spaces;
display: leading-spaces; display: leading-spaces;
display: trailing-spaces; display: trailing-spaces;