Skip to content

Commit

Permalink
Remove main_syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
kchmck committed Jul 19, 2011
1 parent 9dac84f commit 41bd1c4
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions after/syntax/html.vim
Expand Up @@ -3,17 +3,9 @@
" URL: http://github.com/kchmck/vim-coffee-script
" License: WTFPL

if !exists("main_syntax")
let main_syntax = 'html'
endif

" Syntax highlighting for text/coffeescript script tags
unlet b:current_syntax
syn include @htmlCoffeeScript syntax/coffee.vim
unlet b:current_syntax
syn region javaScript start=+<script [^>]*type *=[^>]*text/coffeescript[^>]*>+ keepend end=+</script>+me=s-1 contains=@htmlCoffeeScript,htmlScriptTag,@htmlPreproc
let b:current_syntax = "html"

if main_syntax == 'html'
unlet main_syntax
endif

0 comments on commit 41bd1c4

Please sign in to comment.