diff --git a/syntax/haml.vim b/syntax/haml.vim index 8b22d8c..395600a 100644 --- a/syntax/haml.vim +++ b/syntax/haml.vim @@ -42,11 +42,15 @@ syn region hamlRuby matchgroup=hamlRubyChar start="-" end="$" contai syn match hamlPlainChar "\\" contained syn region hamlInterpolatable matchgroup=hamlInterpolatableChar start="==" end="$" keepend contained contains=hamlInterpolation syn region hamlInterpolation matchgroup=hamlInterpolationDelimiter start="#{" end="}" contained contains=@hamlRubyTop +syn region hamlErbInterpolation matchgroup=hamlInterpolationDelimiter start="<%[=-]\=" end="-\=%>" contained contains=@hamlRubyTop syn match hamlHelper "\