From 6aa08ed7a8b903307374191c949c4e577fc68c85 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 21 May 2021 18:31:26 +0900 Subject: [PATCH] Update color-adjust-1.vim https://www.w3.org/TR/2021/WD-css-color-adjust-1-20210520/ --- after/syntax/css/color-adjust-1.vim | 2 +- test/test.css | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/after/syntax/css/color-adjust-1.vim b/after/syntax/css/color-adjust-1.vim index 49637d6..82339c3 100644 --- a/after/syntax/css/color-adjust-1.vim +++ b/after/syntax/css/color-adjust-1.vim @@ -1,3 +1,3 @@ -syn match cssColorProp contained "\<\(forced-\)\=color-adjust\>" +syn match cssColorProp contained "\<\(forced-\|print-\)\=color-adjust\>" syn match cssColorProp contained "\" syn keyword cssFontAttr contained economy exact diff --git a/test/test.css b/test/test.css index 1620394..d7d960a 100644 --- a/test/test.css +++ b/test/test.css @@ -105,6 +105,7 @@ .color-adjust-1 { color-scheme: auto; forced-color-adjust: auto; + print-color-adjust: auto; color-adjust: auto; display: light; display: economy;