summaryrefslogtreecommitdiffstats
path: root/after/syntax/html.vim
diff options
context:
space:
mode:
Diffstat (limited to 'after/syntax/html.vim')
-rw-r--r--after/syntax/html.vim11
1 files changed, 11 insertions, 0 deletions
diff --git a/after/syntax/html.vim b/after/syntax/html.vim
new file mode 100644
index 00000000..9e2eb3a1
--- /dev/null
+++ b/after/syntax/html.vim
@@ -0,0 +1,11 @@
+" 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