xref: /vim-8.2.3635/runtime/syntax/gnash.vim (revision cb03397a)
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" For version 5.x: Clear all syntax items
19" For version 6.x: Quit when a syntax file was already loaded
20if version < 600
21    syntax clear
22elseif exists("b:current_syntax") || &compatible
23    finish
24endif
25
26syn case match
27syn keyword GnashTodo	    contained TODO FIXME XXX NOTE
28
29" Comments
30syn match   GnashComment    "^#.*$"   contains=@Spell,GnashTodo
31syn match   GnashComment    "\s#.*$"  contains=@Spell,GnashTodo
32
33syn match   GnashNumber	    display '\<\d\+\>'
34
35syn case ignore
36syn keyword GnashOn	    ON YES TRUE
37syn keyword GnashOff	    OFF NO FALSE
38
39syn match GnashSet	    '^\s*set\>'
40syn match GnashSet	    '^\s*append\>'
41
42syn match GnashKeyword	    '\<CertDir\>'
43syn match GnashKeyword      '\<ASCodingErrorsVerbosity\>'
44syn match GnashKeyword      '\<CertFile\>'
45syn match GnashKeyword      '\<EnableExtensions\>'
46syn match GnashKeyword      '\<HWAccel\>'
47syn match GnashKeyword      '\<LCShmKey\>'
48syn match GnashKeyword      '\<LocalConnection\>'
49syn match GnashKeyword      '\<MalformedSWFVerbosity\>'
50syn match GnashKeyword      '\<Renderer\>'
51syn match GnashKeyword      '\<RootCert\>'
52syn match GnashKeyword      '\<SOLReadOnly\>'
53syn match GnashKeyword      '\<SOLSafeDir\>'
54syn match GnashKeyword      '\<SOLreadonly\>'
55syn match GnashKeyword      '\<SOLsafedir\>'
56syn match GnashKeyword      '\<StartStopped\>'
57syn match GnashKeyword      '\<StreamsTimeout\>'
58syn match GnashKeyword      '\<URLOpenerFormat\>'
59syn match GnashKeyword      '\<XVideo\>'
60syn match GnashKeyword      '\<actionDump\>'
61syn match GnashKeyword      '\<blacklist\>'
62syn match GnashKeyword      '\<debugger\>'
63syn match GnashKeyword      '\<debuglog\>'
64syn match GnashKeyword      '\<delay\>'
65syn match GnashKeyword      '\<enableExtensions\>'
66syn match GnashKeyword      '\<flashSystemManufacturer\>'
67syn match GnashKeyword      '\<flashSystemOS\>'
68syn match GnashKeyword      '\<flashVersionString\>'
69syn match GnashKeyword      '\<ignoreFSCommand\>'
70syn match GnashKeyword      '\<ignoreShowMenu\>'
71syn match GnashKeyword      '\<insecureSSL\>'
72syn match GnashKeyword      '\<localSandboxPath\>'
73syn match GnashKeyword      '\<localdomain\>'
74syn match GnashKeyword      '\<localhost\>'
75syn match GnashKeyword      '\<microphoneDevice\>'
76syn match GnashKeyword      '\<parserDump\>'
77syn match GnashKeyword      '\<pluginsound\>'
78syn match GnashKeyword      '\<quality\>'
79syn match GnashKeyword      '\<solLocalDomain\>'
80syn match GnashKeyword      '\<sound\>'
81syn match GnashKeyword      '\<splashScreen\>'
82syn match GnashKeyword      '\<startStopped\>'
83syn match GnashKeyword      '\<streamsTimeout\>'
84syn match GnashKeyword      '\<urlOpenerFormat\>'
85syn match GnashKeyword      '\<verbosity\>'
86syn match GnashKeyword      '\<webcamDevice\>'
87syn match GnashKeyword      '\<whitelist\>'
88syn match GnashKeyword      '\<writelog\>'
89
90hi def link GnashOn	    Identifier
91hi def link GnashOff	    Preproc
92hi def link GnashComment    Comment
93hi def link GnashTodo	    Todo
94hi def link GnashNumber	    Type
95hi def link GnashSet	    String
96hi def link GnashKeyword    Keyword
97
98let b:current_syntax = "gnash"
99
100