blob: 97d5aa4ceabb31948d9eaa3196c1f551f3d6ec1b [file] [log] [blame]
Bram Moolenaar8e5af3e2011-04-28 19:02:44 +02001" 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>
Bram Moolenaar20f90cf2011-05-19 12:22:51 +02005" Last Change: 17 May 2011
Bram Moolenaar8e5af3e2011-04-28 19:02:44 +02006" 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
12if version < 600
13 syntax clear
14elseif exists ("b:current_syntax")
15 finish
16endif
17
Bram Moolenaar8e5af3e2011-04-28 19:02:44 +020018syn case match
Bram Moolenaar8e5af3e2011-04-28 19:02:44 +020019syn keyword GnashTodo contained TODO FIXME XXX NOTE
20
Bram Moolenaar20f90cf2011-05-19 12:22:51 +020021" Comments
22syn match GnashComment "^#.*$" contains=GnashTodo
23syn match GnashComment "\s#.*$" contains=GnashTodo
Bram Moolenaar8e5af3e2011-04-28 19:02:44 +020024
25syn match GnashNumber display '\<\d\+\>'
26
27syn case ignore
28syn keyword GnashOn ON YES TRUE
29syn keyword GnashOff OFF NO FALSE
30syn case match
31
32syn match GnashSet '^\s*set\>'
33syn match GnashSet '^\s*append\>'
34
35syn match GnashKeyword '\<CertDir\>'
36syn match GnashKeyword '\<ASCodingErrorsVerbosity\>'
37syn match GnashKeyword '\<CertFile\>'
38syn match GnashKeyword '\<EnableExtensions\>'
39syn match GnashKeyword '\<HWAccel\>'
40syn match GnashKeyword '\<LCShmKey\>'
41syn match GnashKeyword '\<LocalConnection\>'
42syn match GnashKeyword '\<MalformedSWFVerbosity\>'
43syn match GnashKeyword '\<Renderer\>'
44syn match GnashKeyword '\<RootCert\>'
45syn match GnashKeyword '\<SOLReadOnly\>'
46syn match GnashKeyword '\<SOLSafeDir\>'
47syn match GnashKeyword '\<SOLreadonly\>'
48syn match GnashKeyword '\<SOLsafedir\>'
49syn match GnashKeyword '\<StartStopped\>'
50syn match GnashKeyword '\<StreamsTimeout\>'
51syn match GnashKeyword '\<URLOpenerFormat\>'
52syn match GnashKeyword '\<XVideo\>'
53syn match GnashKeyword '\<actionDump\>'
54syn match GnashKeyword '\<blacklist\>'
55syn match GnashKeyword '\<debugger\>'
56syn match GnashKeyword '\<debuglog\>'
57syn match GnashKeyword '\<delay\>'
58syn match GnashKeyword '\<enableExtensions\>'
59syn match GnashKeyword '\<flashSystemManufacturer\>'
60syn match GnashKeyword '\<flashSystemOS\>'
61syn match GnashKeyword '\<flashVersionString\>'
62syn match GnashKeyword '\<ignoreFSCommand\>'
63syn match GnashKeyword '\<ignoreShowMenu\>'
64syn match GnashKeyword '\<insecureSSL\>'
65syn match GnashKeyword '\<localSandboxPath\>'
66syn match GnashKeyword '\<localdomain\>'
67syn match GnashKeyword '\<localhost\>'
68syn match GnashKeyword '\<microphoneDevice\>'
69syn match GnashKeyword '\<parserDump\>'
70syn match GnashKeyword '\<pluginsound\>'
71syn match GnashKeyword '\<quality\>'
72syn match GnashKeyword '\<solLocalDomain\>'
73syn match GnashKeyword '\<sound\>'
74syn match GnashKeyword '\<splashScreen\>'
75syn match GnashKeyword '\<startStopped\>'
76syn match GnashKeyword '\<streamsTimeout\>'
77syn match GnashKeyword '\<urlOpenerFormat\>'
78syn match GnashKeyword '\<verbosity\>'
79syn match GnashKeyword '\<webcamDevice\>'
80syn match GnashKeyword '\<whitelist\>'
81syn match GnashKeyword '\<writelog\>'
82
Bram Moolenaar20f90cf2011-05-19 12:22:51 +020083hi def link GnashOn Identifier
84hi def link GnashOff Preproc
Bram Moolenaar8e5af3e2011-04-28 19:02:44 +020085hi def link GnashComment Comment
86hi def link GnashTodo Todo
87hi def link GnashString String
Bram Moolenaar20f90cf2011-05-19 12:22:51 +020088hi def link GnashNumber Type
Bram Moolenaar8e5af3e2011-04-28 19:02:44 +020089hi def link GnashSet String
90hi def link GnashKeyword Keyword
91
92let b:current_syntax = "gnash"