codekingpro/portable-devtools
114k
1" Vim syntax file2" Language: alsaconf(8) configuration 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 keyword alsoconfTodo contained FIXME TODO XXX NOTE14 15syn region alsaconfComment display oneline16 \ start='#' end='$'17 \ contains=alsaconfTodo,@Spell18 19syn match alsaconfSpecialChar contained display '\\[ntvbrf]'20syn match alsaconfSpecialChar contained display '\\\o\+'21 22syn region alsaconfString start=+"+ skip=+\\$+ end=+"\|$+23 \ contains=alsaconfSpecialChar24 25syn match alsaconfSpecial contained display 'confdir:'26 27syn region alsaconfPreProc start='<' end='>' contains=alsaconfSpecial28 29syn match alsaconfMode display '[+?!-]'30 31syn keyword alsaconfKeyword card default device errors files func strings32syn keyword alsaconfKeyword subdevice type vars33 34syn match alsaconfVariables display '@\(hooks\|func\|args\)'35 36hi def link alsoconfTodo Todo37hi def link alsaconfComment Comment38hi def link alsaconfSpecialChar SpecialChar39hi def link alsaconfString String40hi def link alsaconfSpecial Special41hi def link alsaconfPreProc PreProc42hi def link alsaconfMode Special43hi def link alsaconfKeyword Keyword44hi def link alsaconfVariables Identifier45 46let b:current_syntax = "alsaconf"47 48let &cpo = s:cpo_save49unlet s:cpo_save50 