From 370e8a7c0a21860e713cae611dfdfb48de60a3c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anton=20Str=C3=B6mkvist?= Date: Sun, 6 Mar 2016 17:46:01 +0100 Subject: [PATCH] Add filter functions https://www.w3.org/TR/filter-effects/#FilterProperty --- after/syntax/css/filter-effects.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/after/syntax/css/filter-effects.vim b/after/syntax/css/filter-effects.vim index c62ec30..87c113b 100644 --- a/after/syntax/css/filter-effects.vim +++ b/after/syntax/css/filter-effects.vim @@ -2,3 +2,5 @@ syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn match cssFontProp contained "\" syn keyword cssFontAttr sRGB linearRGB + +syn region cssFunction contained matchgroup=cssFunctionName start="\<\(blur\|brightness\|contrast\|drop-shadow\|grayscale\|hue-rotate\|invert\|opacity\|saturate\|sepia\)\s*(" end=")" oneline keepend