xref: /vim-8.2.3635/runtime/syntax/gnash.vim (revision 61d35bd0)
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 <[email protected]>
5" Last Change: 	2011 Dec 11
6" Modeline:	vim: ts=8:sw=2:sts=2:
7" 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
15elseif exists("b:current_syntax") || &compatible
16    finish
17endif
18
19syn case match
20syn keyword GnashTodo	    contained TODO FIXME XXX NOTE
21
22" Comments
23syn match   GnashComment    "^#.*$"   contains=GnashTodo
24syn match   GnashComment    "\s#.*$"  contains=GnashTodo
25
26syn match   GnashNumber	    display '\<\d\+\>'
27
28syn case ignore
29syn keyword GnashOn	    ON YES TRUE
30syn keyword GnashOff	    OFF NO FALSE
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
83hi def link GnashOn	    Identifier
84hi def link GnashOff	    Preproc
85hi def link GnashComment    Comment
86hi def link GnashTodo	    Todo
87hi def link GnashString	    String
88hi def link GnashNumber	    Type
89hi def link GnashSet	    String
90hi def link GnashKeyword    Keyword
91
92let b:current_syntax = "gnash"
93
94