Install vim73
[msysgit/mtrensch.git] / share / vim / vim73 / syntax / slpspi.vim
blob8507e3de696cbabb4d6cf8ccf150713e39a96ec8
1 " Vim syntax file
2 " Language:         RFC 2614 - An API for Service Location SPI file
3 " Maintainer:       Nikolai Weibull <now@bitwi.se>
4 " Latest Revision:  2006-04-19
6 if exists("b:current_syntax")
7   finish
8 endif
10 let s:cpo_save = &cpo
11 set cpo&vim
13 syn keyword slpspiTodo          contained TODO FIXME XXX NOTE
15 syn region  slpspiComment       display oneline start='^[#;]' end='$'
16                                 \ contains=slpspiTodo,@Spell
18 syn match   slpspiBegin         display '^'
19                                 \ nextgroup=slpspiKeyType,
20                                 \ slpspiComment skipwhite
22 syn keyword slpspiKeyType       contained PRIVATE PUBLIC
23                                 \ nextgroup=slpspiString skipwhite
25 syn match   slpspiString        contained '\S\+'
26                                 \ nextgroup=slpspiKeyFile skipwhite
28 syn match   slpspiKeyFile       contained '\S\+'
30 hi def link slpspiTodo          Todo
31 hi def link slpspiComment       Comment
32 hi def link slpspiKeyType       Type
33 hi def link slpspiString        Identifier
34 hi def link slpspiKeyFile       String
36 let b:current_syntax = "slpspi"
38 let &cpo = s:cpo_save
39 unlet s:cpo_save