annotate runtime/syntax/gnash.vim @ 9402:165d9b2513e9

Added tag v7.4.1982 for changeset 160cb082819e3ee4494d219dc7e903bb7e657357
author Christian Brabandt <cb@256bit.org>
date Sat, 02 Jul 2016 19:30:06 +0200
parents 9cb3a75a20b9
children 43efa4f5a8ea
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2788
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
3557
9cb3a75a20b9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
2 " Maintainer: Thilo Six
9cb3a75a20b9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
3 " Contact: <vim-dev at vim dot org>
9cb3a75a20b9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
4 " http://www.vim.org/maillist.php#vim-dev
9cb3a75a20b9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
5 "
9cb3a75a20b9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
6 " Description: highlight gnash configuration files
2788
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 " http://www.gnu.org/software/gnash/manual/gnashuser.html#gnashrc
3557
9cb3a75a20b9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
8 " File: runtime/syntax/gnash.vim
9cb3a75a20b9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
9 " Last Change: 2012 May 19
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2965
diff changeset
10 " Modeline: vim: ts=8:sw=2:sts=2:
3557
9cb3a75a20b9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
11 "
9cb3a75a20b9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
12 " Credits: derived from Nikolai Weibulls readline.vim
9cb3a75a20b9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
13 "
9cb3a75a20b9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
14 " License: VIM License
9cb3a75a20b9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
15 " Vim is Charityware, see ":help Uganda"
2788
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16 "
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 " For version 5.x: Clear all syntax items
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 " For version 6.x: Quit when a syntax file was already loaded
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 if version < 600
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 syntax clear
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2965
diff changeset
22 elseif exists("b:current_syntax") || &compatible
2788
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 finish
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24 endif
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26 syn case match
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
27 syn keyword GnashTodo contained TODO FIXME XXX NOTE
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
28
2833
c869ff170ddc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2788
diff changeset
29 " Comments
3557
9cb3a75a20b9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
30 syn match GnashComment "^#.*$" contains=@Spell,GnashTodo
9cb3a75a20b9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
31 syn match GnashComment "\s#.*$" contains=@Spell,GnashTodo
2788
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
32
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
33 syn match GnashNumber display '\<\d\+\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
34
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
35 syn case ignore
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
36 syn keyword GnashOn ON YES TRUE
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
37 syn keyword GnashOff OFF NO FALSE
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
38
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
39 syn match GnashSet '^\s*set\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
40 syn match GnashSet '^\s*append\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
41
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
42 syn match GnashKeyword '\<CertDir\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
43 syn match GnashKeyword '\<ASCodingErrorsVerbosity\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
44 syn match GnashKeyword '\<CertFile\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
45 syn match GnashKeyword '\<EnableExtensions\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
46 syn match GnashKeyword '\<HWAccel\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
47 syn match GnashKeyword '\<LCShmKey\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
48 syn match GnashKeyword '\<LocalConnection\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
49 syn match GnashKeyword '\<MalformedSWFVerbosity\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
50 syn match GnashKeyword '\<Renderer\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
51 syn match GnashKeyword '\<RootCert\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
52 syn match GnashKeyword '\<SOLReadOnly\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
53 syn match GnashKeyword '\<SOLSafeDir\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
54 syn match GnashKeyword '\<SOLreadonly\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
55 syn match GnashKeyword '\<SOLsafedir\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
56 syn match GnashKeyword '\<StartStopped\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
57 syn match GnashKeyword '\<StreamsTimeout\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
58 syn match GnashKeyword '\<URLOpenerFormat\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
59 syn match GnashKeyword '\<XVideo\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
60 syn match GnashKeyword '\<actionDump\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
61 syn match GnashKeyword '\<blacklist\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
62 syn match GnashKeyword '\<debugger\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
63 syn match GnashKeyword '\<debuglog\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
64 syn match GnashKeyword '\<delay\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
65 syn match GnashKeyword '\<enableExtensions\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
66 syn match GnashKeyword '\<flashSystemManufacturer\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
67 syn match GnashKeyword '\<flashSystemOS\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
68 syn match GnashKeyword '\<flashVersionString\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
69 syn match GnashKeyword '\<ignoreFSCommand\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
70 syn match GnashKeyword '\<ignoreShowMenu\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
71 syn match GnashKeyword '\<insecureSSL\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
72 syn match GnashKeyword '\<localSandboxPath\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
73 syn match GnashKeyword '\<localdomain\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
74 syn match GnashKeyword '\<localhost\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
75 syn match GnashKeyword '\<microphoneDevice\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
76 syn match GnashKeyword '\<parserDump\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
77 syn match GnashKeyword '\<pluginsound\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
78 syn match GnashKeyword '\<quality\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
79 syn match GnashKeyword '\<solLocalDomain\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
80 syn match GnashKeyword '\<sound\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
81 syn match GnashKeyword '\<splashScreen\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
82 syn match GnashKeyword '\<startStopped\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
83 syn match GnashKeyword '\<streamsTimeout\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
84 syn match GnashKeyword '\<urlOpenerFormat\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
85 syn match GnashKeyword '\<verbosity\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
86 syn match GnashKeyword '\<webcamDevice\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
87 syn match GnashKeyword '\<whitelist\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
88 syn match GnashKeyword '\<writelog\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
89
2833
c869ff170ddc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2788
diff changeset
90 hi def link GnashOn Identifier
c869ff170ddc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2788
diff changeset
91 hi def link GnashOff Preproc
2788
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
92 hi def link GnashComment Comment
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
93 hi def link GnashTodo Todo
2833
c869ff170ddc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2788
diff changeset
94 hi def link GnashNumber Type
2788
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
95 hi def link GnashSet String
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
96 hi def link GnashKeyword Keyword
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
97
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
98 let b:current_syntax = "gnash"
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2965
diff changeset
99