aboutsummaryrefslogtreecommitdiff
path: root/vim/after/syntax/html.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/after/syntax/html.vim')
-rwxr-xr-xvim/after/syntax/html.vim10
1 files changed, 10 insertions, 0 deletions
diff --git a/vim/after/syntax/html.vim b/vim/after/syntax/html.vim
new file mode 100755
index 0000000..63ebaec
--- /dev/null
+++ b/vim/after/syntax/html.vim
@@ -0,0 +1,10 @@
+" 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