1" Vim syntax file 2" Language: alsaconf(8) configuration 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 13syn keyword alsoconfTodo contained FIXME TODO XXX NOTE 14 15syn region alsaconfComment matchgroup=alsaconfComment 16 \ start='#' end='$' 17 \ contains=alsaconfTodo,@Spell 18 19syn match alsaconfSpecialChar contained display '\\[ntvbrf]' 20syn match alsaconfSpecialChar contained display '\\\o\+' 21 22syn region alsaconfString matchgroup=alsaconfString 23 \ start=+"+ skip=+\\$+ end=+"+ end=+$+ 24 \ contains=alsaconfSpecialChar 25 26syn match alsaconfSpecial contained display 'confdir:' 27 28syn region alsaconfPreProc matchgroup=alsaconfPreProc start='<' end='>' 29 \ contains=alsaconfSpecial 30 31syn match alsaconfMode display '[+?!-]' 32 33syn keyword alsaconfKeyword card default device errors files func strings 34syn keyword alsaconfKeyword subdevice type vars 35 36syn match alsaconfVariables display '@\(hooks\|func\|args\)' 37 38hi def link alsoconfTodo Todo 39hi def link alsaconfComment Comment 40hi def link alsaconfSpecialChar SpecialChar 41hi def link alsaconfString String 42hi def link alsaconfSpecial Special 43hi def link alsaconfPreProc PreProc 44hi def link alsaconfMode Special 45hi def link alsaconfKeyword Keyword 46hi def link alsaconfVariables Identifier 47 48let b:current_syntax = "alsaconf" 49 50let &cpo = s:cpo_save 51unlet s:cpo_save 52