codekingpro/portable-devtools
115k
1" Vim syntax file2" Language: protocols(5) - Internet protocols definition file3" Previous Maintainer: Nikolai Weibull <now@bitwi.se>4" Latest Revision: 2006-04-195 6if exists("b:current_syntax")7 finish8endif9 10let s:cpo_save = &cpo11set cpo&vim12 13syn match protocolsBegin display '^'14 \ nextgroup=protocolsName,protocolsComment15 16syn match protocolsName contained display '[[:graph:]]\+'17 \ nextgroup=protocolsPort skipwhite18 19syn match protocolsPort contained display '\d\+'20 \ nextgroup=protocolsAliases,protocolsComment21 \ skipwhite22 23syn match protocolsAliases contained display '\S\+'24 \ nextgroup=protocolsAliases,protocolsComment25 \ skipwhite26 27syn keyword protocolsTodo contained TODO FIXME XXX NOTE28 29syn region protocolsComment display oneline start='#' end='$'30 \ contains=protocolsTodo,@Spell31 32hi def link protocolsTodo Todo33hi def link protocolsComment Comment34hi def link protocolsName Identifier35hi def link protocolsPort Number36hi def link protocolsPPDiv Delimiter37hi def link protocolsPPDivDepr Error38hi def link protocolsProtocol Type39hi def link protocolsAliases Macro40 41let b:current_syntax = "protocols"42 43let &cpo = s:cpo_save44unlet s:cpo_save45 