Skip to content

Instantly share code, notes, and snippets.

@raine
Created May 21, 2013 15:09

Revisions

  1. raine created this gist May 21, 2013.
    5 changes: 5 additions & 0 deletions html.vim
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    unlet b:current_syntax
    syn include @HTML $VIMRUNTIME/syntax/html.vim
    syn region htmlTemplate start=+<script [^>]*type *=[^>]*text/template[^>]*>+
    \ end=+</script>+me=s-1 keepend
    \ contains=@HTML,htmlScriptTag,@htmlPreproc