2012-08-17 03:41:25 +00:00
|
|
|
" Language: CoffeeScript
|
|
|
|
" Maintainer: Sven Felix Oberquelle <Svelix.Github@gmail.com>
|
|
|
|
" URL: http://github.com/kchmck/vim-coffee-script
|
|
|
|
" License: WTFPL
|
|
|
|
|
|
|
|
" Inherit coffee from html so coffeeComment isn't redefined and given higher
|
|
|
|
" priority than hamlInterpolation.
|
|
|
|
syn cluster hamlCoffeescript contains=@htmlCoffeeScript
|
2013-11-16 19:45:48 +00:00
|
|
|
syn region hamlCoffeescriptFilter matchgroup=hamlFilter
|
|
|
|
\ start="^\z(\s*\):coffee\z(script\)\?\s*$"
|
|
|
|
\ end="^\%(\z1 \| *$\)\@!"
|
|
|
|
\ contains=@hamlCoffeeScript,hamlInterpolation
|
|
|
|
\ keepend
|