2 " Language: HTML and M4
3 " Maintainer: Claudio Fleiner <claudio@fleiner.com>
4 " URL: http://www.fleiner.com/vim/syntax/htmlm4.vim
5 " Last Change: 2001 Apr 30
7 " For version 5.x: Clear all syntax items
8 " For version 6.x: Quit when a syntax file was already loaded
11 elseif exists("b:current_syntax")
15 " we define it here so that included files can test for it
16 if !exists("main_syntax")
17 let main_syntax='htmlm4'
21 so <sfile>:p:h/html.vim
23 runtime! syntax/html.vim
25 unlet b:current_syntax
31 runtime! syntax/m4.vim
33 unlet b:current_syntax
34 syn cluster htmlPreproc add=@m4Top
35 syn cluster m4StringContents add=htmlTag,htmlEndTag
37 let b:current_syntax = "htmlm4"
39 if main_syntax == 'htmlm4'