" Vim syntax file smartgen.vim " Language: BITPlan smartGENERATOR templates " Maintainer: Wolfgang Fahl - original by Bastian Mathes " Original: 2000-10-16 " Last change: 2018-07-11 " Filenames: *.in " Version Info: 0.2 " For older versions of vim you need to manually add in synload.vim and filetype.vim " synload.vim: " SynAu smartgen " filetype.vim: " au BufNewFile,BufRead *.in set ft=smartgen " " newer versions: " au BufNewFile,BufRed *.in setft=smartgen " clear any unwanted syntax defs if exists("b:current_syntax") finish endif syn clear syn case ignore syn match metaTag "#META.*" syn match metaTag "#IMPORT.*" syn match metaTag "#TYPE.*" syn match for "#for" syn match for "#endfor" syn match if "#if" syn match if "#else" syn match if "#endif" syn match comment "^#\..*" syn match java "^\..*" syn match marker "<.*>" hi link metaTag Statement hi link for Special hi link if Special hi link comment Comment hi link java Identifier hi link marker Constant let b:current_syntax = "smartgen"