xref: /vim-8.2.3635/runtime/syntax/gnash.vim (revision 20f90cf9)
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: 	17 May 2011
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 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