From 3b20ef3df27343b3ad4db057e8103fd4f31c909d Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Thu, 23 Oct 2025 18:07:35 +0900 Subject: [PATCH] Add anchor-position-2.vim https://www.w3.org/TR/2025/WD-css-anchor-position-2-20251021/ --- after/syntax/css/anchor-position-2.vim | 1 + test/test.css | 4 ++++ 2 files changed, 5 insertions(+) create mode 100644 after/syntax/css/anchor-position-2.vim diff --git a/after/syntax/css/anchor-position-2.vim b/after/syntax/css/anchor-position-2.vim new file mode 100644 index 0000000..48edc8c --- /dev/null +++ b/after/syntax/css/anchor-position-2.vim @@ -0,0 +1 @@ +syn keyword cssFontAttr contained anchored diff --git a/test/test.css b/test/test.css index 8cb680a..a570609 100644 --- a/test/test.css +++ b/test/test.css @@ -65,6 +65,10 @@ display: anchor-size(--foo height); } +.anchor-position-2 { + display: anchored; +} + .animations-1 { display: auto; }