htmlm4.vim 670 B

1234567891011121314151617181920212223242526272829303132
  1. " Vim syntax file
  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
  6. " quit when a syntax file was already loaded
  7. if exists("b:current_syntax")
  8. finish
  9. endif
  10. " we define it here so that included files can test for it
  11. if !exists("main_syntax")
  12. let main_syntax='htmlm4'
  13. endif
  14. runtime! syntax/html.vim
  15. unlet b:current_syntax
  16. syn case match
  17. runtime! syntax/m4.vim
  18. unlet b:current_syntax
  19. syn cluster htmlPreproc add=@m4Top
  20. syn cluster m4StringContents add=htmlTag,htmlEndTag
  21. let b:current_syntax = "htmlm4"
  22. if main_syntax == 'htmlm4'
  23. unlet main_syntax
  24. endif