comparison runtime/syntax/dosini.vim @ 2965:f2de38a019a2

Updated runtime files. Add missing test82 files.
author Bram Moolenaar <bram@vim.org>
date Mon, 18 Jul 2011 19:40:27 +0200
parents 96cd8222a819
children 3502a7f991fc
comparison
equal deleted inserted replaced
2964:39cb812cf477 2965:f2de38a019a2
1 " Vim syntax file 1 " Vim syntax file
2 " Language: Configuration File (ini file) for MSDOS/MS Windows 2 " Language: Configuration File (ini file) for MSDOS/MS Windows
3 " Version Info: @(#)dosini.vim 1.6 97/12/15 08:54:12 3 " Version Info: @(#)dosini.vim 1.6 97/12/15 08:54:12
4 " Author: Sean M. McKee <mckee@misslink.net> 4 " Author: Sean M. McKee <mckee@misslink.net>
5 " Maintainer: Nima Talebi <nima@it.net.au> 5 " Maintainer: Nima Talebi <nima@it.net.au>
6 " Last Change: Mon, 26 Jun 2006 22:07:28 +1000 6 " Updated By: Hong Xu
7 " Last Change: 2011 Jul 16
7 8
8 9
9 " For version 5.x: Clear all syntax items 10 " For version 5.x: Clear all syntax items
10 " For version 6.x: Quit when a syntax file was already loaded 11 " For version 6.x: Quit when a syntax file was already loaded
11 if version < 600 12 if version < 600
17 " shut case off 18 " shut case off
18 syn case ignore 19 syn case ignore
19 20
20 syn match dosiniLabel "^.\{-}=" 21 syn match dosiniLabel "^.\{-}="
21 syn region dosiniHeader start="^\[" end="\]" 22 syn region dosiniHeader start="^\[" end="\]"
22 syn match dosiniComment "^;.*$" 23 syn match dosiniComment "^[#;].*$"
23 24
24 " Define the default highlighting. 25 " Define the default highlighting.
25 " For version 5.7 and earlier: only when not done already 26 " 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 " For version 5.8 and later: only when an item doesn't have highlighting yet
27 if version >= 508 || !exists("did_dosini_syntax_inits") 28 if version >= 508 || !exists("did_dosini_syntax_inits")