]> rtime.felk.cvut.cz Git - l4.git/blob - l4/tool/vim/syntax/l4mods.vim
update
[l4.git] / l4 / tool / vim / syntax / l4mods.vim
1 " Vim syntax file for modules.list configuration language
2 " Language:    modules.list configuration language
3 " Maintainer:  Adam Lackorzynski <adam@os.inf.tu-dresden.de>
4 " Last Change: 2010 Apr 27
5
6 if exists("b:current_syntax")
7   finish
8 endif
9
10 syn clear
11 syn case match
12
13 setlocal iskeyword+=-
14 syn keyword l4modsStatement       modaddr module kernel sigma0 roottask moe default-kernel default-sigma0 default-roottask default-bootstrap module-group module-glob module-perl module-shell bootstrap initrd set
15 syn keyword l4modsStatementTitle  entry group contained
16 syn match   l4modsTitle           /^ *\(entry\|group\).*/ contains=l4modsStatementTitle
17 syn match   l4modsComment         /#.*/
18
19 hi def link l4modsStatement      Statement
20 hi def link l4modsStatementTitle Type
21 hi def link l4modsComment        Comment
22 hi def link l4modsTitle          String
23
24 let b:current_syntax = "l4mods"