annotate runtime/syntax/alsaconf.vim @ 15458:0f8065d7d68c v8.1.0737

patch 8.1.0737: compiler warning for uninitialized variable commit https://github.com/vim/vim/commit/e519dfd7139d504ada44031a986482ac4fb1229a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 13 15:42:02 2019 +0100 patch 8.1.0737: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. Solution: Add initialization. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Jan 2019 15:45:07 +0100
parents 1218c5353e2b
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
24
8ff7fd162d3c updated for version 7.0016
vimboss
parents:
diff changeset
1 " Vim syntax file
11062
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
2 " Language: alsaconf(8) configuration file
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se>
1218c5353e2b Runtime file updates.
Christian Brabandt <cb@256bit.org>
parents: 839
diff changeset
4 " Latest Revision: 2006-04-19
24
8ff7fd162d3c updated for version 7.0016
vimboss
parents:
diff changeset
5
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
6 if exists("b:current_syntax")
24
8ff7fd162d3c updated for version 7.0016
vimboss
parents:
diff changeset
7 finish
8ff7fd162d3c updated for version 7.0016
vimboss
parents:
diff changeset
8 endif
8ff7fd162d3c updated for version 7.0016
vimboss
parents:
diff changeset
9
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
10 let s:cpo_save = &cpo
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
11 set cpo&vim
24
8ff7fd162d3c updated for version 7.0016
vimboss
parents:
diff changeset
12
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
13 syn keyword alsoconfTodo contained FIXME TODO XXX NOTE
24
8ff7fd162d3c updated for version 7.0016
vimboss
parents:
diff changeset
14
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
15 syn region alsaconfComment display oneline
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
16 \ start='#' end='$'
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
17 \ contains=alsaconfTodo,@Spell
24
8ff7fd162d3c updated for version 7.0016
vimboss
parents:
diff changeset
18
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
19 syn match alsaconfSpecialChar contained display '\\[ntvbrf]'
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
20 syn match alsaconfSpecialChar contained display '\\\o\+'
24
8ff7fd162d3c updated for version 7.0016
vimboss
parents:
diff changeset
21
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
22 syn region alsaconfString start=+"+ skip=+\\$+ end=+"\|$+
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
23 \ contains=alsaconfSpecialChar
24
8ff7fd162d3c updated for version 7.0016
vimboss
parents:
diff changeset
24
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
25 syn match alsaconfSpecial contained display 'confdir:'
24
8ff7fd162d3c updated for version 7.0016
vimboss
parents:
diff changeset
26
389
4fe8e1a7758e updated for version 7.0102
vimboss
parents: 375
diff changeset
27 syn region alsaconfPreProc start='<' end='>' contains=alsaconfSpecial
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
28
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
29 syn match alsaconfMode display '[+?!-]'
24
8ff7fd162d3c updated for version 7.0016
vimboss
parents:
diff changeset
30
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
31 syn keyword alsaconfKeyword card default device errors files func strings
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
32 syn keyword alsaconfKeyword subdevice type vars
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
33
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
34 syn match alsaconfVariables display '@\(hooks\|func\|args\)'
24
8ff7fd162d3c updated for version 7.0016
vimboss
parents:
diff changeset
35
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
36 hi def link alsoconfTodo Todo
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
37 hi def link alsaconfComment Comment
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
38 hi def link alsaconfSpecialChar SpecialChar
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
39 hi def link alsaconfString String
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
40 hi def link alsaconfSpecial Special
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
41 hi def link alsaconfPreProc PreProc
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
42 hi def link alsaconfMode Special
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
43 hi def link alsaconfKeyword Keyword
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
44 hi def link alsaconfVariables Identifier
24
8ff7fd162d3c updated for version 7.0016
vimboss
parents:
diff changeset
45
8ff7fd162d3c updated for version 7.0016
vimboss
parents:
diff changeset
46 let b:current_syntax = "alsaconf"
8ff7fd162d3c updated for version 7.0016
vimboss
parents:
diff changeset
47
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
48 let &cpo = s:cpo_save
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
49 unlet s:cpo_save