]> rtime.felk.cvut.cz Git - l4.git/blobdiff - l4/tool/vim/syntax/l4mods.vim
Inital import
[l4.git] / l4 / tool / vim / syntax / l4mods.vim
diff --git a/l4/tool/vim/syntax/l4mods.vim b/l4/tool/vim/syntax/l4mods.vim
new file mode 100644 (file)
index 0000000..7d40dee
--- /dev/null
@@ -0,0 +1,24 @@
+" Vim syntax file for modules.list configuration language
+" Language:    modules.list configuration language
+" Maintainer:  Adam Lackorzynski <adam@os.inf.tu-dresden.de>
+" Last Change: 2010 Apr 27
+
+if exists("b:current_syntax")
+  finish
+endif
+
+syn clear
+syn case match
+
+setlocal iskeyword+=-
+syn keyword l4modsStatement       modaddr module kernel sigma0 roottask module-group module-glob module-perl module-shell bootstrap
+syn keyword l4modsStatementTitle  entry group contained
+syn match   l4modsTitle           /^ *\(entry\|group\).*/ contains=l4modsStatementTitle
+syn match   l4modsComment         /#.*/
+
+hi def link l4modsStatement      Statement
+hi def link l4modsStatementTitle Type
+hi def link l4modsComment        Comment
+hi def link l4modsTitle          String
+
+let b:current_syntax = "l4mods"