xref: /vim-8.2.3635/runtime/syntax/gnash.vim (revision 17fb0e89)
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 Jul 02
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
12if version < 600
13    syntax clear
14elseif exists ("b:current_syntax")
15    finish
16endif
17
18syn case match
19syn keyword GnashTodo	    contained TODO FIXME XXX NOTE
20
21" Comments
22syn match   GnashComment    "^#.*$"   contains=GnashTodo
23syn match   GnashComment    "\s#.*$"  contains=GnashTodo
24
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 case ignore
36syn match GnashKeyword	    '\<CertDir\>'
37syn match GnashKeyword      '\<ASCodingErrorsVerbosity\>'
38syn match GnashKeyword      '\<CertFile\>'
39syn match GnashKeyword      '\<EnableExtensions\>'
40syn match GnashKeyword      '\<HWAccel\>'
41syn match GnashKeyword      '\<LCShmKey\>'
42syn match GnashKeyword      '\<LocalConnection\>'
43syn match GnashKeyword      '\<MalformedSWFVerbosity\>'
44syn match GnashKeyword      '\<Renderer\>'
45syn match GnashKeyword      '\<RootCert\>'
46syn match GnashKeyword      '\<SOLReadOnly\>'
47syn match GnashKeyword      '\<SOLSafeDir\>'
48syn match GnashKeyword      '\<SOLreadonly\>'
49syn match GnashKeyword      '\<SOLsafedir\>'
50syn match GnashKeyword      '\<StartStopped\>'
51syn match GnashKeyword      '\<StreamsTimeout\>'
52syn match GnashKeyword      '\<URLOpenerFormat\>'
53syn match GnashKeyword      '\<XVideo\>'
54syn match GnashKeyword      '\<actionDump\>'
55syn match GnashKeyword      '\<blacklist\>'
56syn match GnashKeyword      '\<debugger\>'
57syn match GnashKeyword      '\<debuglog\>'
58syn match GnashKeyword      '\<delay\>'
59syn match GnashKeyword      '\<enableExtensions\>'
60syn match GnashKeyword      '\<flashSystemManufacturer\>'
61syn match GnashKeyword      '\<flashSystemOS\>'
62syn match GnashKeyword      '\<flashVersionString\>'
63syn match GnashKeyword      '\<ignoreFSCommand\>'
64syn match GnashKeyword      '\<ignoreShowMenu\>'
65syn match GnashKeyword      '\<insecureSSL\>'
66syn match GnashKeyword      '\<localSandboxPath\>'
67syn match GnashKeyword      '\<localdomain\>'
68syn match GnashKeyword      '\<localhost\>'
69syn match GnashKeyword      '\<microphoneDevice\>'
70syn match GnashKeyword      '\<parserDump\>'
71syn match GnashKeyword      '\<pluginsound\>'
72syn match GnashKeyword      '\<quality\>'
73syn match GnashKeyword      '\<solLocalDomain\>'
74syn match GnashKeyword      '\<sound\>'
75syn match GnashKeyword      '\<splashScreen\>'
76syn match GnashKeyword      '\<startStopped\>'
77syn match GnashKeyword      '\<streamsTimeout\>'
78syn match GnashKeyword      '\<urlOpenerFormat\>'
79syn match GnashKeyword      '\<verbosity\>'
80syn match GnashKeyword      '\<webcamDevice\>'
81syn match GnashKeyword      '\<whitelist\>'
82syn match GnashKeyword      '\<writelog\>'
83
84hi def link GnashOn	    Identifier
85hi def link GnashOff	    Preproc
86hi def link GnashComment    Comment
87hi def link GnashTodo	    Todo
88hi def link GnashString	    String
89hi def link GnashNumber	    Type
90hi def link GnashSet	    String
91hi def link GnashKeyword    Keyword
92
93let b:current_syntax = "gnash"
94