1" Vim syntax file 2" Language: GNU Arch inventory file 3" Maintainer: Nikolai Weibull <[email protected]> 4" Latest Revision: 2005-06-29 5 6if exists("b:current_syntax") 7 finish 8endif 9 10let s:cpo_save = &cpo 11set cpo&vim 12 13setlocal iskeyword=@,48-57,_,- 14 15syn keyword archTodo TODO FIXME XXX NOTE 16 17syn region archComment display matchgroup=archComment 18 \ start='^\%(#\|\s\)' end='$' contains=archTodo,@Spell 19 20syn keyword archKeyword implicit tagline explicit names 21syn keyword archKeyword untagged-source 22syn keyword archKeyword exclude junk backup precious unrecognized source 23 \ skipwhite nextgroup=archRegex 24 25syn match archRegex contained '\s*\zs.*' 26 27hi def link archTodo Todo 28hi def link archComment Comment 29hi def link archKeyword Keyword 30hi def link archRegex String 31 32let b:current_syntax = "arch" 33 34let &cpo = s:cpo_save 35unlet s:cpo_save 36