Add support for :winpos
[MacVim.git] / runtime / syntax / alsaconf.vim
blob8fd51f0ac479e470c0b1977f1e4722b3839d7f3d
1 " Vim syntax file
2 " Language:         alsaconf(8) configuration file
3 " Maintainer:       Nikolai Weibull <now@bitwi.se>
4 " Latest Revision:  2006-04-19
6 if exists("b:current_syntax")
7   finish
8 endif
10 let s:cpo_save = &cpo
11 set cpo&vim
13 syn keyword alsoconfTodo        contained FIXME TODO XXX NOTE
15 syn region  alsaconfComment     display oneline
16                                 \ start='#' end='$'
17                                 \ contains=alsaconfTodo,@Spell
19 syn match   alsaconfSpecialChar contained display '\\[ntvbrf]'
20 syn match   alsaconfSpecialChar contained display '\\\o\+'
22 syn region  alsaconfString      start=+"+ skip=+\\$+ end=+"\|$+
23                                 \ contains=alsaconfSpecialChar
25 syn match   alsaconfSpecial     contained display 'confdir:'
27 syn region  alsaconfPreProc     start='<' end='>' contains=alsaconfSpecial
29 syn match   alsaconfMode        display '[+?!-]'
31 syn keyword alsaconfKeyword     card default device errors files func strings
32 syn keyword alsaconfKeyword     subdevice type vars
34 syn match   alsaconfVariables   display '@\(hooks\|func\|args\)'
36 hi def link alsoconfTodo        Todo
37 hi def link alsaconfComment     Comment
38 hi def link alsaconfSpecialChar SpecialChar
39 hi def link alsaconfString      String
40 hi def link alsaconfSpecial     Special
41 hi def link alsaconfPreProc     PreProc
42 hi def link alsaconfMode        Special
43 hi def link alsaconfKeyword     Keyword
44 hi def link alsaconfVariables   Identifier
46 let b:current_syntax = "alsaconf"
48 let &cpo = s:cpo_save
49 unlet s:cpo_save