blob: dea3d05eb08a227a7c2318a6fe9cd16a5d080709 [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 Moolenaarf1568ec2011-12-14 21:17:39 +01005" Last Change: 2011 Dec 11
6" Modeline: vim: ts=8:sw=2:sts=2:
Bram Moolenaar8e5af3e2011-04-28 19:02:44 +02007" Credidts: derived from readline.vim
8" Nikolai Weibull
9"
10
11" For version 5.x: Clear all syntax items
12" For version 6.x: Quit when a syntax file was already loaded
13if version < 600
14 syntax clear
Bram Moolenaarf1568ec2011-12-14 21:17:39 +010015elseif exists("b:current_syntax") || &compatible
Bram Moolenaar8e5af3e2011-04-28 19:02:44 +020016 finish
17endif
18
Bram Moolenaar8e5af3e2011-04-28 19:02:44 +020019syn case match
Bram Moolenaar8e5af3e2011-04-28 19:02:44 +020020syn keyword GnashTodo contained TODO FIXME XXX NOTE
21
Bram Moolenaar20f90cf2011-05-19 12:22:51 +020022" Comments
23syn match GnashComment "^#.*$" contains=GnashTodo
24syn match GnashComment "\s#.*$" contains=GnashTodo
Bram Moolenaar8e5af3e2011-04-28 19:02:44 +020025
26syn match GnashNumber display '\<\d\+\>'
27
28syn case ignore
29syn keyword GnashOn ON YES TRUE
30syn keyword GnashOff OFF NO FALSE
Bram Moolenaar8e5af3e2011-04-28 19:02:44 +020031
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"
Bram Moolenaarf1568ec2011-12-14 21:17:39 +010093