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