Permalink
Browse files

Merge pull request #8 from AndrewRadev/fix-ruby-output-highlighting

Fix highlighting problem with ruby output
  • Loading branch information...
2 parents ab5f147 + 6e69995 commit 2d2fc344a688e2c891136872e28e45f2c5fe17ab Brian Bommarito committed Sep 19, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 syntax/slim.vim
View
@@ -30,15 +30,15 @@ unlet! b:current_syntax
silent! syn include @slimCoffee syntax/coffee.vim
unlet! b:current_syntax
-" Include HTML
+" Include HTML
runtime! syntax/html.vim
unlet! b:current_syntax
setlocal iskeyword+=:
syn region slimInterpolation matchgroup=slimInterpolationDelimiter start="#{" end="}" contained contains=@slimRuby
-syn region slimRubyOutput start="=\s*" skip=",\s*" end=" " contained contains=@slimRuby
+syn region slimRubyOutput start="=\s*" skip=",\s*" end="$" contained contains=@slimRuby
syn region slimHtml start="^\s*[^-=]\w" end="$" contains=htmlTagName,htmlArg,htmlString,slimInterpolation,slimRubyOutput keepend
syn region slimRubyCode start="[-=]" end="$" contains=@slimRuby

0 comments on commit 2d2fc34

Please sign in to comment.