diff --git a/after/syntax/css/css-text-decor-3.vim b/after/syntax/css/css-text-decor-3.vim index 94af3a5..79a186c 100644 --- a/after/syntax/css/css-text-decor-3.vim +++ b/after/syntax/css/css-text-decor-3.vim @@ -1,3 +1,2 @@ -syn match cssTextProp contained "\" -syn keyword cssTextAttr contained wavy objects alphabetic spaces edges ink under filled dot triangle sesame over -syn match cssTextAttr contained "\" +syn match cssTextProp contained "\" +syn keyword cssTextAttr contained wavy alphabetic ink under filled dot triangle sesame over diff --git a/after/syntax/css/css-text-decor-4.vim b/after/syntax/css/css-text-decor-4.vim new file mode 100644 index 0000000..2e5666a --- /dev/null +++ b/after/syntax/css/css-text-decor-4.vim @@ -0,0 +1,4 @@ +syn match cssTextProp contained "\" +syn keyword cssTextAttr contained objects edges symbols narrow +syn match cssTextAttr contained "\" +syn match cssTextAttr contained "\<\(\(leading\|trailing\)-\)\=spaces\>" diff --git a/test/test.css b/test/test.css index 2ea8b56..26e44c7 100644 --- a/test/test.css +++ b/test/test.css @@ -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 {