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")
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
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"