2 " Language: Configuration File (ini file) for MSDOS/MS Windows
3 " Version Info: @(#)dosini.vim 1.6 97/12/15 08:54:12
4 " Author: Sean M. McKee <mckee@misslink.net>
5 " Maintainer: Nima Talebi <nima@it.net.au>
6 " Last Change: Mon, 26 Jun 2006 22:07:28 +1000
9 " For version 5.x: Clear all syntax items
10 " For version 6.x: Quit when a syntax file was already loaded
13 elseif exists("b:current_syntax")
20 syn match dosiniLabel "^.\{-}="
21 syn region dosiniHeader start="^\[" end="\]"
22 syn match dosiniComment "^;.*$"
24 " Define the default highlighting.
25 " For version 5.7 and earlier: only when not done already
26 " For version 5.8 and later: only when an item doesn't have highlighting yet
27 if version >= 508 || !exists("did_dosini_syntax_inits")
29 let did_dosini_syntax_inits = 1
30 command -nargs=+ HiLink hi link <args>
32 command -nargs=+ HiLink hi def link <args>
35 HiLink dosiniHeader Special
36 HiLink dosiniComment Comment
37 HiLink dosiniLabel Type
42 let b:current_syntax = "dosini"