vim: update release.sh to vim 7.3
[msysgit/mtrensch.git] / share / vim / vim72 / syntax / modconf.vim
blob54b6593b6684d57f12d980acce242c2c1efc8738
1 " Vim syntax file
2 " Language:         modules.conf(5) configuration file
3 " Maintainer:       Nikolai Weibull <now@bitwi.se>
4 " Latest Revision:  2007-10-25
6 if exists("b:current_syntax")
7   finish
8 endif
10 setlocal iskeyword+=-
12 let s:cpo_save = &cpo
13 set cpo&vim
15 syn keyword modconfTodo         FIXME TODO XXX NOTE
17 syn region  modconfComment      start='#' skip='\\$' end='$'
18                                 \ contains=modconfTodo,@Spell
20 syn keyword modconfConditional  if else elseif endif
22 syn keyword modconfPreProc      alias define include keep prune
23                                 \ post-install post-remove pre-install
24                                 \ pre-remove persistdir blacklist
26 syn keyword modconfKeyword      add above below install options probe probeall
27                                 \ remove
29 syn keyword modconfIdentifier   depfile insmod_opt path generic_stringfile
30                                 \ pcimapfile isapnpmapfile usbmapfile
31                                 \ parportmapfile ieee1394mapfile pnpbiosmapfile
32 syn match   modconfIdentifier   'path\[[^]]\+\]'
34 hi def link modconfTodo         Todo
35 hi def link modconfComment      Comment
36 hi def link modconfConditional  Conditional
37 hi def link modconfPreProc      PreProc
38 hi def link modconfKeyword      Keyword
39 hi def link modconfIdentifier   Identifier
41 let b:current_syntax = "modconf"
43 let &cpo = s:cpo_save
44 unlet s:cpo_save