Mercurial > hg > RemoteEditor > vim7
comparison runtime/syntax/modconf.vim @ 0:76efa0be13f1
Initial revision
author | atsuki |
---|---|
date | Sat, 10 Nov 2007 15:07:22 +0900 |
parents | |
children | e170173ecb68 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:76efa0be13f1 |
---|---|
1 " Vim syntax file | |
2 " Language: modules.conf(5) configuration file | |
3 " Maintainer: Nikolai Weibull <now@bitwi.se> | |
4 " Latest Revision: 2006-04-19 | |
5 | |
6 if exists("b:current_syntax") | |
7 finish | |
8 endif | |
9 | |
10 setlocal iskeyword=@,48-57,- | |
11 | |
12 let s:cpo_save = &cpo | |
13 set cpo&vim | |
14 | |
15 syn keyword modconfTodo FIXME TODO XXX NOTE | |
16 | |
17 syn region modconfComment start='#' skip='\\$' end='$' | |
18 \ contains=modconfTodo,@Spell | |
19 | |
20 syn keyword modconfConditional if else elseif endif | |
21 | |
22 syn keyword modconfPreProc alias define include keep prune | |
23 \ post-install post-remove pre-install | |
24 \ pre-remove persistdir | |
25 | |
26 syn keyword modconfKeyword add above below install options probe probeall | |
27 \ remove | |
28 | |
29 syn keyword modconfIdentifier depfile insmod_opt path generic_stringfile | |
30 \ pcimapfile isapnpmapfile usbmapfile | |
31 \ parportmapfile ieee1394mapfile pnpbiosmapfile | |
32 syn match modconfIdentifier 'path\[[^]]\+\]' | |
33 | |
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 | |
40 | |
41 let b:current_syntax = "modconf" | |
42 | |
43 let &cpo = s:cpo_save | |
44 unlet s:cpo_save |