aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--after/syntax/html.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/after/syntax/html.vim b/after/syntax/html.vim
index 667b27a..9b8979c 100644
--- a/after/syntax/html.vim
+++ b/after/syntax/html.vim
@@ -5,5 +5,7 @@ syn include @GLSL syntax/glsl.vim
syn region ShaderScript
\ start="<script [^>]*type=\('\|\"\)x-shader/x-\(vertex\|fragment\)\('\|\"\)[^>]*>"
\ keepend
+ \ containedin=javaScript
+ \ contained
\ end="</script>"me=s-1
\ contains=@GLSL,htmlScriptTag,@htmlPreproc