From 2c75d94fc896726d75e2bfd046bdbd5a85b1f0e8 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sat, 9 May 2020 09:25:41 +0900 Subject: [PATCH] Update text-decor-4.vim https://www.w3.org/TR/2020/WD-css-text-decor-4-20200506/ --- after/syntax/css/text-decor-4.vim | 6 ++++-- test/test.css | 5 ++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/after/syntax/css/text-decor-4.vim b/after/syntax/css/text-decor-4.vim index 2e5666a..5e7da86 100644 --- a/after/syntax/css/text-decor-4.vim +++ b/after/syntax/css/text-decor-4.vim @@ -1,4 +1,6 @@ -syn match cssTextProp contained "\" +syn match cssTextProp contained "\" syn keyword cssTextAttr contained objects edges symbols narrow -syn match cssTextAttr contained "\" +syn match cssTextAttr contained "\<\(spelling\|grammer\)-error\>" +syn match cssTextAttr contained "\" syn match cssTextAttr contained "\<\(\(leading\|trailing\)-\)\=spaces\>" +syn match cssTextAttr contained "\" diff --git a/test/test.css b/test/test.css index c7802a1..7c7aaf6 100644 --- a/test/test.css +++ b/test/test.css @@ -1073,12 +1073,15 @@ view { } .text-decor-4 { - text-decoration-width: auto; + text-decoration-thickness: auto; text-underline-offset: auto; text-decoration-skip: auto; text-decoration-skip-ink: auto; text-emphasis-skip: auto; + display: spelling-error; + display: grammer-error; display: objects; + display: from-font; display: spaces; display: leading-spaces; display: trailing-spaces;