From 44525a5ec76837d9e25525949073ce32eaa95d22 Mon Sep 17 00:00:00 2001 From: Kyo Nagashima Date: Fri, 27 Mar 2015 11:39:56 +0900 Subject: [PATCH] Add css-snappoints-1.vim and tests --- after/syntax/css/css-snappoints-1.vim | 2 ++ after/syntax/html.vim | 1 + test/test.css | 8 ++++++++ test/test.html | 9 +++++++++ 4 files changed, 20 insertions(+) create mode 100644 after/syntax/css/css-snappoints-1.vim diff --git a/after/syntax/css/css-snappoints-1.vim b/after/syntax/css/css-snappoints-1.vim new file mode 100644 index 0000000..8357097 --- /dev/null +++ b/after/syntax/css/css-snappoints-1.vim @@ -0,0 +1,2 @@ +syn match cssFontProp contained "\" +syn keyword cssFontAttr contained mandatory proximity diff --git a/after/syntax/html.vim b/after/syntax/html.vim index 9045de0..09b7b3d 100644 --- a/after/syntax/html.vim +++ b/after/syntax/html.vim @@ -39,6 +39,7 @@ syn include @htmlCss syntax/css/css-pseudo-4.vim syn include @htmlCss syntax/css/css-ruby-1.vim syn include @htmlCss syntax/css/css-scoping-1.vim syn include @htmlCss syntax/css/css-shapes-1.vim +syn include @htmlCss syntax/css/css-snappoints-1.vim syn include @htmlCss syntax/css/css-text-3.vim syn include @htmlCss syntax/css/css-text-decor-3.vim syn include @htmlCss syntax/css/css-variables.vim diff --git a/test/test.css b/test/test.css index ab33442..ecd445c 100644 --- a/test/test.css +++ b/test/test.css @@ -473,6 +473,14 @@ display: contain-floats; } +.snappoints { + scroll-snap-type: mandatory; + scroll-snap-points-x: proximity; + scroll-snap-points-y: auto; + scroll-snap-destination: auto; + scroll-snap-coordinate: auto; +} + .speech { voice-volume: 10dB; voice-balance: literal-punctuation; diff --git a/test/test.html b/test/test.html index ef43ccc..2a8304c 100644 --- a/test/test.html +++ b/test/test.html @@ -520,6 +520,15 @@ } +