neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

htmlm4.vim (670B)


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