comparison runtime/syntax/alsaconf.vim @ 389:4fe8e1a7758e v7.0102

updated for version 7.0102
author vimboss
date Mon, 04 Jul 2005 22:49:24 +0000
parents f14cbd913415
children 1f3b1021f002
comparison
equal deleted inserted replaced
388:f92bb1845823 389:4fe8e1a7758e
1 " Vim syntax file 1 " Vim syntax file
2 " Language: alsaconf(8) configuration file 2 " Language: alsaconf(8) configuration file
3 " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> 3 " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se>
4 " Latest Revision: 2005-06-29 4 " Latest Revision: 2005-07-04
5 5
6 if exists("b:current_syntax") 6 if exists("b:current_syntax")
7 finish 7 finish
8 endif 8 endif
9 9
10 let s:cpo_save = &cpo 10 let s:cpo_save = &cpo
11 set cpo&vim 11 set cpo&vim
12 12
13 syn keyword alsoconfTodo contained FIXME TODO XXX NOTE 13 syn keyword alsoconfTodo contained FIXME TODO XXX NOTE
14 14
15 syn region alsaconfComment matchgroup=alsaconfComment 15 syn region alsaconfComment display oneline
16 \ start='#' end='$' 16 \ start='#' end='$'
17 \ contains=alsaconfTodo,@Spell 17 \ contains=alsaconfTodo,@Spell
18 18
19 syn match alsaconfSpecialChar contained display '\\[ntvbrf]' 19 syn match alsaconfSpecialChar contained display '\\[ntvbrf]'
20 syn match alsaconfSpecialChar contained display '\\\o\+' 20 syn match alsaconfSpecialChar contained display '\\\o\+'
21 21
22 syn region alsaconfString matchgroup=alsaconfString 22 syn region alsaconfString start=+"+ skip=+\\$+ end=+"\|$+
23 \ start=+"+ skip=+\\$+ end=+"+ end=+$+
24 \ contains=alsaconfSpecialChar 23 \ contains=alsaconfSpecialChar
25 24
26 syn match alsaconfSpecial contained display 'confdir:' 25 syn match alsaconfSpecial contained display 'confdir:'
27 26
28 syn region alsaconfPreProc matchgroup=alsaconfPreProc start='<' end='>' 27 syn region alsaconfPreProc start='<' end='>' contains=alsaconfSpecial
29 \ contains=alsaconfSpecial
30 28
31 syn match alsaconfMode display '[+?!-]' 29 syn match alsaconfMode display '[+?!-]'
32 30
33 syn keyword alsaconfKeyword card default device errors files func strings 31 syn keyword alsaconfKeyword card default device errors files func strings
34 syn keyword alsaconfKeyword subdevice type vars 32 syn keyword alsaconfKeyword subdevice type vars