49 lines · 1.5 KB · Text
RawDownload
" Vim syntax file" Language:         alsaconf(8) configuration file" Maintainer:       Nikolai Weibull <now@bitwi.se>" Latest Revision:  2006-04-19 if exists("b:current_syntax")  finishendif let s:cpo_save = &cposet cpo&vim syn keyword alsoconfTodo        contained FIXME TODO XXX NOTE syn region  alsaconfComment     display oneline                                \ start='#' end='$'                                \ contains=alsaconfTodo,@Spell syn match   alsaconfSpecialChar contained display '\\[ntvbrf]'syn match   alsaconfSpecialChar contained display '\\\o\+' syn region  alsaconfString      start=+"+ skip=+\\$+ end=+"\|$+                                \ contains=alsaconfSpecialChar syn match   alsaconfSpecial     contained display 'confdir:' syn region  alsaconfPreProc     start='<' end='>' contains=alsaconfSpecial syn match   alsaconfMode        display '[+?!-]' syn keyword alsaconfKeyword     card default device errors files func stringssyn keyword alsaconfKeyword     subdevice type vars syn match   alsaconfVariables   display '@\(hooks\|func\|args\)' hi def link alsoconfTodo        Todohi def link alsaconfComment     Commenthi def link alsaconfSpecialChar SpecialCharhi def link alsaconfString      Stringhi def link alsaconfSpecial     Specialhi def link alsaconfPreProc     PreProchi def link alsaconfMode        Specialhi def link alsaconfKeyword     Keywordhi def link alsaconfVariables   Identifier let b:current_syntax = "alsaconf" let &cpo = s:cpo_saveunlet s:cpo_save