From db054e782ea8efd9d997a4c29b726353781a13f2 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 14 Dec 2009 23:18:22 -0500 Subject: [PATCH] Highlight @else and @else if --- syntax/sass.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/sass.vim b/syntax/sass.vim index f696ffd..a7b137f 100644 --- a/syntax/sass.vim +++ b/syntax/sass.vim @@ -32,7 +32,7 @@ syn match sassAmpersand "&" " TODO: Arithmetic (including strings and concatenation) syn region sassInclude start="@import" end=";\|$" contains=cssComment,cssURL,cssUnicodeEscape,cssMediaType -syn region sassControlLine matchgroup=sassControl start="@\%(if\|while\|for\)\>" end="$" contains=sassFor,@sassCssAttributes,sassConstant +syn region sassControlLine matchgroup=sassControl start="@\%(if\|else\%(\s\+if\)\=\|while\|for\)\>" end="$" contains=sassFor,@sassCssAttributes,sassConstant syn keyword sassFor from to through contained syn keyword sassTodo FIXME NOTE TODO OPTIMIZE XXX contained