annotate runtime/syntax/alsaconf.vim @ 10678:c647f01d6dbd v8.0.0229

patch 8.0.0229: local 'formatprg' option value leaks commit https://github.com/vim/vim/commit/24a2d416ec261829ff7fd29f7b66739c96dd6513 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 24 17:48:36 2017 +0100 patch 8.0.0229: local 'formatprg' option value leaks Problem: When freeing a buffer the local value of the 'formatprg' option is not cleared. Solution: Add missing change.
author Christian Brabandt <cb@256bit.org>
date Tue, 24 Jan 2017 18:00:05 +0100
parents 1f3b1021f002
children 1218c5353e2b
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
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 24
diff changeset
2 " Language: alsaconf(8) configuration file
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 389
diff changeset
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 389
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