2788
|
1 " Vim syntax file
|
|
2 " Language: gnash(1) configuration files
|
|
3 " http://www.gnu.org/software/gnash/manual/gnashuser.html#gnashrc
|
|
4 " Maintainer: Thilo Six <T.Six@gmx.de>
|
2833
|
5 " Last Change: 17 May 2011
|
2788
|
6 " Credidts: derived from readline.vim
|
|
7 " Nikolai Weibull
|
|
8 "
|
|
9
|
|
10 " For version 5.x: Clear all syntax items
|
|
11 " For version 6.x: Quit when a syntax file was already loaded
|
|
12 if version < 600
|
|
13 syntax clear
|
|
14 elseif exists ("b:current_syntax")
|
|
15 finish
|
|
16 endif
|
|
17
|
|
18 syn case match
|
|
19 syn keyword GnashTodo contained TODO FIXME XXX NOTE
|
|
20
|
2833
|
21 " Comments
|
|
22 syn match GnashComment "^#.*$" contains=GnashTodo
|
|
23 syn match GnashComment "\s#.*$" contains=GnashTodo
|
2788
|
24
|
|
25 syn match GnashNumber display '\<\d\+\>'
|
|
26
|
|
27 syn case ignore
|
|
28 syn keyword GnashOn ON YES TRUE
|
|
29 syn keyword GnashOff OFF NO FALSE
|
|
30 syn case match
|
|
31
|
|
32 syn match GnashSet '^\s*set\>'
|
|
33 syn match GnashSet '^\s*append\>'
|
|
34
|
|
35 syn match GnashKeyword '\<CertDir\>'
|
|
36 syn match GnashKeyword '\<ASCodingErrorsVerbosity\>'
|
|
37 syn match GnashKeyword '\<CertFile\>'
|
|
38 syn match GnashKeyword '\<EnableExtensions\>'
|
|
39 syn match GnashKeyword '\<HWAccel\>'
|
|
40 syn match GnashKeyword '\<LCShmKey\>'
|
|
41 syn match GnashKeyword '\<LocalConnection\>'
|
|
42 syn match GnashKeyword '\<MalformedSWFVerbosity\>'
|
|
43 syn match GnashKeyword '\<Renderer\>'
|
|
44 syn match GnashKeyword '\<RootCert\>'
|
|
45 syn match GnashKeyword '\<SOLReadOnly\>'
|
|
46 syn match GnashKeyword '\<SOLSafeDir\>'
|
|
47 syn match GnashKeyword '\<SOLreadonly\>'
|
|
48 syn match GnashKeyword '\<SOLsafedir\>'
|
|
49 syn match GnashKeyword '\<StartStopped\>'
|
|
50 syn match GnashKeyword '\<StreamsTimeout\>'
|
|
51 syn match GnashKeyword '\<URLOpenerFormat\>'
|
|
52 syn match GnashKeyword '\<XVideo\>'
|
|
53 syn match GnashKeyword '\<actionDump\>'
|
|
54 syn match GnashKeyword '\<blacklist\>'
|
|
55 syn match GnashKeyword '\<debugger\>'
|
|
56 syn match GnashKeyword '\<debuglog\>'
|
|
57 syn match GnashKeyword '\<delay\>'
|
|
58 syn match GnashKeyword '\<enableExtensions\>'
|
|
59 syn match GnashKeyword '\<flashSystemManufacturer\>'
|
|
60 syn match GnashKeyword '\<flashSystemOS\>'
|
|
61 syn match GnashKeyword '\<flashVersionString\>'
|
|
62 syn match GnashKeyword '\<ignoreFSCommand\>'
|
|
63 syn match GnashKeyword '\<ignoreShowMenu\>'
|
|
64 syn match GnashKeyword '\<insecureSSL\>'
|
|
65 syn match GnashKeyword '\<localSandboxPath\>'
|
|
66 syn match GnashKeyword '\<localdomain\>'
|
|
67 syn match GnashKeyword '\<localhost\>'
|
|
68 syn match GnashKeyword '\<microphoneDevice\>'
|
|
69 syn match GnashKeyword '\<parserDump\>'
|
|
70 syn match GnashKeyword '\<pluginsound\>'
|
|
71 syn match GnashKeyword '\<quality\>'
|
|
72 syn match GnashKeyword '\<solLocalDomain\>'
|
|
73 syn match GnashKeyword '\<sound\>'
|
|
74 syn match GnashKeyword '\<splashScreen\>'
|
|
75 syn match GnashKeyword '\<startStopped\>'
|
|
76 syn match GnashKeyword '\<streamsTimeout\>'
|
|
77 syn match GnashKeyword '\<urlOpenerFormat\>'
|
|
78 syn match GnashKeyword '\<verbosity\>'
|
|
79 syn match GnashKeyword '\<webcamDevice\>'
|
|
80 syn match GnashKeyword '\<whitelist\>'
|
|
81 syn match GnashKeyword '\<writelog\>'
|
|
82
|
2833
|
83 hi def link GnashOn Identifier
|
|
84 hi def link GnashOff Preproc
|
2788
|
85 hi def link GnashComment Comment
|
|
86 hi def link GnashTodo Todo
|
|
87 hi def link GnashString String
|
2833
|
88 hi def link GnashNumber Type
|
2788
|
89 hi def link GnashSet String
|
|
90 hi def link GnashKeyword Keyword
|
|
91
|
|
92 let b:current_syntax = "gnash"
|