From e39520fc9f4caadbff10ae4dc0f371888d155923 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Sun, 3 Jan 2016 20:28:52 +0900 Subject: [PATCH] Add web-animations.vim See also: http://www.w3.org/TR/web-animations/ --- after/syntax/css/web-animations.vim | 1 + after/syntax/html.vim | 1 + test/test.css | 4 ++++ test/test.html | 5 +++++ 4 files changed, 11 insertions(+) create mode 100644 after/syntax/css/web-animations.vim diff --git a/after/syntax/css/web-animations.vim b/after/syntax/css/web-animations.vim new file mode 100644 index 0000000..dd72adc --- /dev/null +++ b/after/syntax/css/web-animations.vim @@ -0,0 +1 @@ +" N/A diff --git a/after/syntax/html.vim b/after/syntax/html.vim index a25f3e5..f86286f 100644 --- a/after/syntax/html.vim +++ b/after/syntax/html.vim @@ -57,3 +57,4 @@ syn include @htmlCss syntax/css/html5-elements.vim syn include @htmlCss syntax/css/motion-1.vim syn include @htmlCss syntax/css/selectors-nonelement-1.vim syn include @htmlCss syntax/css/selectors4.vim +syn include @htmlCss syntax/css/web-animations.vim diff --git a/test/test.css b/test/test.css index 92f61a0..f0a3207 100644 --- a/test/test.css +++ b/test/test.css @@ -670,6 +670,10 @@ user-zoom: auto; } +.web-animations { + display: auto; +} + .will-change { will-change: scroll-position; } diff --git a/test/test.html b/test/test.html index ae03df5..e2741c1 100644 --- a/test/test.html +++ b/test/test.html @@ -736,6 +736,11 @@ } +