2 " Language: protocols(5) - Internet protocols definition file
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
4 " Latest Revision: 2006-04-19
6 if exists("b:current_syntax")
13 syn match protocolsBegin display '^'
14 \ nextgroup=protocolsName,protocolsComment
16 syn match protocolsName contained display '[[:graph:]]\+'
17 \ nextgroup=protocolsPort skipwhite
19 syn match protocolsPort contained display '\d\+'
20 \ nextgroup=protocolsAliases,protocolsComment
23 syn match protocolsAliases contained display '\S\+'
24 \ nextgroup=protocolsAliases,protocolsComment
27 syn keyword protocolsTodo contained TODO FIXME XXX NOTE
29 syn region protocolsComment display oneline start='#' end='$'
30 \ contains=protocolsTodo,@Spell
32 hi def link protocolsTodo Todo
33 hi def link protocolsComment Comment
34 hi def link protocolsName Identifier
35 hi def link protocolsPort Number
36 hi def link protocolsPPDiv Delimiter
37 hi def link protocolsPPDivDepr Error
38 hi def link protocolsProtocol Type
39 hi def link protocolsAliases Macro
41 let b:current_syntax = "protocols"