annotate runtime/syntax/gnash.vim @ 26439:b18f3b0f317c v8.2.3750

patch 8.2.3750: error messages are everywhere Commit: https://github.com/vim/vim/commit/40bcec1bac34d34a3d4d7c5f6b2cc1f163acbd00 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Dec 5 22:19:27 2021 +0000 patch 8.2.3750: error messages are everywhere Problem: Error messages are everywhere. Solution: Move more error messages to errors.h and adjust the names.
author Bram Moolenaar <Bram@vim.org>
date Sun, 05 Dec 2021 23:30:05 +0100
parents 43efa4f5a8ea
children
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
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3557
diff changeset
18 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 3557
diff changeset
19 if exists("b:current_syntax") || &compatible
2788
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 finish
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 endif
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 syn case match
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24 syn keyword GnashTodo contained TODO FIXME XXX NOTE
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25
2833
c869ff170ddc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2788
diff changeset
26 " Comments
3557
9cb3a75a20b9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
27 syn match GnashComment "^#.*$" contains=@Spell,GnashTodo
9cb3a75a20b9 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3224
diff changeset
28 syn match GnashComment "\s#.*$" contains=@Spell,GnashTodo
2788
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
29
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
30 syn match GnashNumber display '\<\d\+\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
31
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
32 syn case ignore
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
33 syn keyword GnashOn ON YES TRUE
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
34 syn keyword GnashOff OFF NO FALSE
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
35
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
36 syn match GnashSet '^\s*set\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
37 syn match GnashSet '^\s*append\>'
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 GnashKeyword '\<CertDir\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
40 syn match GnashKeyword '\<ASCodingErrorsVerbosity\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
41 syn match GnashKeyword '\<CertFile\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
42 syn match GnashKeyword '\<EnableExtensions\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
43 syn match GnashKeyword '\<HWAccel\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
44 syn match GnashKeyword '\<LCShmKey\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
45 syn match GnashKeyword '\<LocalConnection\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
46 syn match GnashKeyword '\<MalformedSWFVerbosity\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
47 syn match GnashKeyword '\<Renderer\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
48 syn match GnashKeyword '\<RootCert\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
49 syn match GnashKeyword '\<SOLReadOnly\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
50 syn match GnashKeyword '\<SOLSafeDir\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
51 syn match GnashKeyword '\<SOLreadonly\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
52 syn match GnashKeyword '\<SOLsafedir\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
53 syn match GnashKeyword '\<StartStopped\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
54 syn match GnashKeyword '\<StreamsTimeout\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
55 syn match GnashKeyword '\<URLOpenerFormat\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
56 syn match GnashKeyword '\<XVideo\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
57 syn match GnashKeyword '\<actionDump\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
58 syn match GnashKeyword '\<blacklist\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
59 syn match GnashKeyword '\<debugger\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
60 syn match GnashKeyword '\<debuglog\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
61 syn match GnashKeyword '\<delay\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
62 syn match GnashKeyword '\<enableExtensions\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
63 syn match GnashKeyword '\<flashSystemManufacturer\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
64 syn match GnashKeyword '\<flashSystemOS\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
65 syn match GnashKeyword '\<flashVersionString\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
66 syn match GnashKeyword '\<ignoreFSCommand\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
67 syn match GnashKeyword '\<ignoreShowMenu\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
68 syn match GnashKeyword '\<insecureSSL\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
69 syn match GnashKeyword '\<localSandboxPath\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
70 syn match GnashKeyword '\<localdomain\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
71 syn match GnashKeyword '\<localhost\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
72 syn match GnashKeyword '\<microphoneDevice\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
73 syn match GnashKeyword '\<parserDump\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
74 syn match GnashKeyword '\<pluginsound\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
75 syn match GnashKeyword '\<quality\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
76 syn match GnashKeyword '\<solLocalDomain\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
77 syn match GnashKeyword '\<sound\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
78 syn match GnashKeyword '\<splashScreen\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
79 syn match GnashKeyword '\<startStopped\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
80 syn match GnashKeyword '\<streamsTimeout\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
81 syn match GnashKeyword '\<urlOpenerFormat\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
82 syn match GnashKeyword '\<verbosity\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
83 syn match GnashKeyword '\<webcamDevice\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
84 syn match GnashKeyword '\<whitelist\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
85 syn match GnashKeyword '\<writelog\>'
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
86
2833
c869ff170ddc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2788
diff changeset
87 hi def link GnashOn Identifier
c869ff170ddc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2788
diff changeset
88 hi def link GnashOff Preproc
2788
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
89 hi def link GnashComment Comment
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
90 hi def link GnashTodo Todo
2833
c869ff170ddc Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2788
diff changeset
91 hi def link GnashNumber Type
2788
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
92 hi def link GnashSet String
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
93 hi def link GnashKeyword Keyword
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
94
0877b8d6370e Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
95 let b:current_syntax = "gnash"
3224
8b8ef1fed009 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2965
diff changeset
96