xref: /vim-8.2.3635/runtime/syntax/gnash.vim (revision 89bcfda6)
1" Vim syntax file
2" Maintainer: 	Thilo Six
3" Contact:	<vim-dev at vim dot org>
4"		http://www.vim.org/maillist.php#vim-dev
5"
6" Description: 	highlight gnash configuration files
7"		http://www.gnu.org/software/gnash/manual/gnashuser.html#gnashrc
8" File:		runtime/syntax/gnash.vim
9" Last Change: 	2012 May 19
10" Modeline:	vim: ts=8:sw=2:sts=2:
11"
12" Credits:	derived from Nikolai Weibulls readline.vim
13"
14" License:	VIM License
15"		Vim is Charityware, see ":help Uganda"
16"
17
18" quit when a syntax file was already loaded
19if exists("b:current_syntax") || &compatible
20    finish
21endif
22
23syn case match
24syn keyword GnashTodo	    contained TODO FIXME XXX NOTE
25
26" Comments
27syn match   GnashComment    "^#.*$"   contains=@Spell,GnashTodo
28syn match   GnashComment    "\s#.*$"  contains=@Spell,GnashTodo
29
30syn match   GnashNumber	    display '\<\d\+\>'
31
32syn case ignore
33syn keyword GnashOn	    ON YES TRUE
34syn keyword GnashOff	    OFF NO FALSE
35
36syn match GnashSet	    '^\s*set\>'
37syn match GnashSet	    '^\s*append\>'
38
39syn match GnashKeyword	    '\<CertDir\>'
40syn match GnashKeyword      '\<ASCodingErrorsVerbosity\>'
41syn match GnashKeyword      '\<CertFile\>'
42syn match GnashKeyword      '\<EnableExtensions\>'
43syn match GnashKeyword      '\<HWAccel\>'
44syn match GnashKeyword      '\<LCShmKey\>'
45syn match GnashKeyword      '\<LocalConnection\>'
46syn match GnashKeyword      '\<MalformedSWFVerbosity\>'
47syn match GnashKeyword      '\<Renderer\>'
48syn match GnashKeyword      '\<RootCert\>'
49syn match GnashKeyword      '\<SOLReadOnly\>'
50syn match GnashKeyword      '\<SOLSafeDir\>'
51syn match GnashKeyword      '\<SOLreadonly\>'
52syn match GnashKeyword      '\<SOLsafedir\>'
53syn match GnashKeyword      '\<StartStopped\>'
54syn match GnashKeyword      '\<StreamsTimeout\>'
55syn match GnashKeyword      '\<URLOpenerFormat\>'
56syn match GnashKeyword      '\<XVideo\>'
57syn match GnashKeyword      '\<actionDump\>'
58syn match GnashKeyword      '\<blacklist\>'
59syn match GnashKeyword      '\<debugger\>'
60syn match GnashKeyword      '\<debuglog\>'
61syn match GnashKeyword      '\<delay\>'
62syn match GnashKeyword      '\<enableExtensions\>'
63syn match GnashKeyword      '\<flashSystemManufacturer\>'
64syn match GnashKeyword      '\<flashSystemOS\>'
65syn match GnashKeyword      '\<flashVersionString\>'
66syn match GnashKeyword      '\<ignoreFSCommand\>'
67syn match GnashKeyword      '\<ignoreShowMenu\>'
68syn match GnashKeyword      '\<insecureSSL\>'
69syn match GnashKeyword      '\<localSandboxPath\>'
70syn match GnashKeyword      '\<localdomain\>'
71syn match GnashKeyword      '\<localhost\>'
72syn match GnashKeyword      '\<microphoneDevice\>'
73syn match GnashKeyword      '\<parserDump\>'
74syn match GnashKeyword      '\<pluginsound\>'
75syn match GnashKeyword      '\<quality\>'
76syn match GnashKeyword      '\<solLocalDomain\>'
77syn match GnashKeyword      '\<sound\>'
78syn match GnashKeyword      '\<splashScreen\>'
79syn match GnashKeyword      '\<startStopped\>'
80syn match GnashKeyword      '\<streamsTimeout\>'
81syn match GnashKeyword      '\<urlOpenerFormat\>'
82syn match GnashKeyword      '\<verbosity\>'
83syn match GnashKeyword      '\<webcamDevice\>'
84syn match GnashKeyword      '\<whitelist\>'
85syn match GnashKeyword      '\<writelog\>'
86
87hi def link GnashOn	    Identifier
88hi def link GnashOff	    Preproc
89hi def link GnashComment    Comment
90hi def link GnashTodo	    Todo
91hi def link GnashNumber	    Type
92hi def link GnashSet	    String
93hi def link GnashKeyword    Keyword
94
95let b:current_syntax = "gnash"
96
97