" Vim syntax file " Language: SGML-linuxdoc (supported by old sgmltools-1.x) " (for more information, visit www.sgmltools.org) " Maintainer: Sung-Hyun Nam " If you want to enhance and maintain, You can remove my name " and insert yours. " Last Change: 1999 Sep 18 " Remove any old syntax stuff hanging around syn clear syn case ignore " tags syn region sgmllnxEndTag start=++ contains=sgmllnxTagN,sgmllnxTagError syn region sgmllnxTag start=+<[^/]+ end=+>+ contains=sgmllnxTagN,sgmllnxTagError syn match sgmllnxTagN contained +<\s*[-a-zA-Z0-9]\++ms=s+1 contains=sgmllnxTagName syn match sgmllnxTagN contained ++ syn region sgmllnxDocType start=++ if !exists("did_sgmllnx_syntax_inits") let did_sgmllnx_syntax_inits = 1 " The default methods for highlighting. Can be overridden later hi link sgmllnxTag2 Function hi link sgmllnxTagN2 Function hi link sgmllnxTag Special hi link sgmllnxEndTag Special hi link sgmllnxParen Special hi link sgmllnxEntity Type hi link sgmllnxDocEnt Type hi link sgmllnxTagName Statement hi link sgmllnxComment Comment hi link sgmllnxSpecial Special hi link sgmllnxDocType PreProc hi link sgmllnxTagError Error endif let b:current_syntax = "sgmllnx" " vim:set tw=78 ts=8 sts=8 sw=8 noet com=nb\:":