mirror of
https://github.com/amix/vimrc
synced 2024-12-22 01:43:06 +00:00
12 lines
514 B
VimL
12 lines
514 B
VimL
|
" Language: CoffeeScript
|
||
|
" Maintainer: Mick Koch <kchmck@gmail.com>
|
||
|
" URL: http://github.com/kchmck/vim-coffee-script
|
||
|
" License: WTFPL
|
||
|
|
||
|
" Syntax highlighting for text/coffeescript script tags
|
||
|
syn include @htmlCoffeeScript syntax/coffee.vim
|
||
|
syn region coffeeScript start=+<script [^>]*type *=[^>]*text/coffeescript[^>]*>+
|
||
|
\ end=+</script>+me=s-1 keepend
|
||
|
\ contains=@htmlCoffeeScript,htmlScriptTag,@htmlPreproc
|
||
|
\ containedin=htmlHead
|