2 " Language: Configuration File (ini file) for MSDOS/MS Windows
3 " Maintainer: Sean M. McKee <mckee@misslink.net>
4 " Last Change: 2001 May 09
5 " Version Info: @(#)dosini.vim 1.6 97/12/15 08:54:12
7 " For version 5.x: Clear all syntax items
8 " For version 6.x: Quit when a syntax file was already loaded
11 elseif exists("b:current_syntax")
18 syn match dosiniLabel "^.\{-}="
19 syn region dosiniHeader start="\[" end="\]"
20 syn match dosiniComment "^;.*$"
22 " Define the default highlighting.
23 " For version 5.7 and earlier: only when not done already
24 " For version 5.8 and later: only when an item doesn't have highlighting yet
25 if version >= 508 || !exists("did_dosini_syntax_inits")
27 let did_dosini_syntax_inits = 1
28 command -nargs=+ HiLink hi link <args>
30 command -nargs=+ HiLink hi def link <args>
33 HiLink dosiniHeader Special
34 HiLink dosiniComment Comment
35 HiLink dosiniLabel Type
40 let b:current_syntax = "dosini"