1" Vim syntax file 2" Language: RFC 2614 - An API for Service Location SPI file 3" Previous Maintainer: Nikolai Weibull <[email protected]> 4" Latest Revision: 2006-04-19 5 6if exists("b:current_syntax") 7 finish 8endif 9 10let s:cpo_save = &cpo 11set cpo&vim 12 13syn keyword slpspiTodo contained TODO FIXME XXX NOTE 14 15syn region slpspiComment display oneline start='^[#;]' end='$' 16 \ contains=slpspiTodo,@Spell 17 18syn match slpspiBegin display '^' 19 \ nextgroup=slpspiKeyType, 20 \ slpspiComment skipwhite 21 22syn keyword slpspiKeyType contained PRIVATE PUBLIC 23 \ nextgroup=slpspiString skipwhite 24 25syn match slpspiString contained '\S\+' 26 \ nextgroup=slpspiKeyFile skipwhite 27 28syn match slpspiKeyFile contained '\S\+' 29 30hi def link slpspiTodo Todo 31hi def link slpspiComment Comment 32hi def link slpspiKeyType Type 33hi def link slpspiString Identifier 34hi def link slpspiKeyFile String 35 36let b:current_syntax = "slpspi" 37 38let &cpo = s:cpo_save 39unlet s:cpo_save 40