Permalink
Browse files

Added support for :coffee in haml file after evaluation to give us so…

…me syntax highlighting
  • Loading branch information...
1 parent d7ec146 commit e63094684bf6c6a99485e76b786999443d346d94 BrandonMathis committed Feb 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 after/syntax/haml.vim
View
@@ -6,4 +6,4 @@
" Inherit coffee from html so coffeeComment isn't redefined and given higher
" priority than hamlInterpolation.
syn cluster hamlCoffeescript contains=@htmlCoffeeScript
-syn region hamlCoffeescriptFilter matchgroup=hamlFilter start="^\z(\s*\):coffeescript\s*$" end="^\%(\z1 \| *$\)\@!" contains=@hamlCoffeeScript,hamlInterpolation keepend
+syn region hamlCoffeescriptFilter matchgroup=hamlFilter start="^\z(\s*\):coffee\z(script\)*\s*$" end="^\%(\z1 \| *$\)\@!" contains=@hamlCoffeeScript,hamlInterpolation keepend

0 comments on commit e630946

Please sign in to comment.