annotate runtime/syntax/desc.vim @ 15483:09803c73b55c

Added tag v8.1.0749 for changeset 18dd04f7c4a160f7bf064e7aaaacb9d321589e61
author Bram Moolenaar <Bram@vim.org>
date Mon, 14 Jan 2019 23:00:07 +0100
parents 46763b01cd9a
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
819
23f82b5d2814 updated for version 7.0c10
vimboss
parents: 7
diff changeset
2 " Language: T2 / ROCK Linux .desc
23f82b5d2814 updated for version 7.0c10
vimboss
parents: 7
diff changeset
3 " Maintainer: René Rebe <rene@exactcode.de>, Piotr Esden-Tempski <esden@rocklinux.org>
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 819
diff changeset
4 " Last Change: 2006 Aug 14
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 1121
diff changeset
6 " quit when a syntax file was already loaded
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 1121
diff changeset
7 if exists("b:current_syntax")
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 " syntax definitions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 setl iskeyword+=-
1121
e63691e7c504 updated for version 7.1a
vimboss
parents: 819
diff changeset
14 syn keyword descFlag DIETLIBC KAFFE JAIL NOPARALLEL FPIC-QUIRK LIBTOOL-WUIRK NO-LIBTOOL-FIX AUTOMAKE-QUIRK NO-AS-NEEDED NO-SSP KERNEL INIT LIBC CC CXX F77 KCC contained
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 syn keyword descLicense Unknown GPL LGPL FDL MIT BSD OpenSource Free-to-use Commercial contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 " tags
819
23f82b5d2814 updated for version 7.0c10
vimboss
parents: 7
diff changeset
18 syn match descTag /^\[\(COPY\)\]/
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn match descTag /^\[\(I\|TITLE\)\]/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn match descTag /^\[\(T\|TEXT\)\]/ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn match descTag /^\[\(U\|URL\)\]/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 syn match descTag /^\[\(A\|AUTHOR\)\]/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 syn match descTag /^\[\(M\|MAINTAINER\)\]/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn match descTag /^\[\(C\|CATEGORY\)\]/ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn match descTag /^\[\(F\|FLAG\)\]/ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn match descTag /^\[\(E\|DEP\|DEPENDENCY\)\]/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn match descTag /^\[\(R\|ARCH\|ARCHITECTURE\)\]/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn match descTag /^\[\(L\|LICENSE\)\]/ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 syn match descTag /^\[\(S\|STATUS\)\]/
819
23f82b5d2814 updated for version 7.0c10
vimboss
parents: 7
diff changeset
30 syn match descTag /^\[\(O\|CONF\)\]/
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn match descTag /^\[\(V\|VER\|VERSION\)\]/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn match descTag /^\[\(P\|PRI\|PRIORITY\)\]/ nextgroup=descInstall skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn match descTag /^\[\(D\|DOWN\|DOWNLOAD\)\]/ nextgroup=descSum skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 " misc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn match descUrl /\w\+:\/\/\S\+/
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn match descCategory /\w\+\/\w\+/ contained
819
23f82b5d2814 updated for version 7.0c10
vimboss
parents: 7
diff changeset
38 syn match descEmail /<[\.A-Za-z0-9]\+@[\.A-Za-z0-9]\+>/
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 " priority tag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn match descInstallX /X/ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn match descInstallO /O/ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn match descInstall /[OX]/ contained contains=descInstallX,descInstallO nextgroup=descStage skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 syn match descDash /-/ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn match descDigit /\d/ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn match descStage /[\-0][\-1][\-2][\-3][\-4][\-5][\-6][\-7][\-8][\-9]/ contained contains=descDash,descDigit nextgroup=descCompilePriority skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
47 syn match descCompilePriority /\d\{3}\.\d\{3}/ contained
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 " download tag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn match descSum /\d\+/ contained nextgroup=descTarball skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn match descTarball /\S\+/ contained nextgroup=descUrl skipwhite
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 " tag regions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn region descText start=/^\[\(T\|TEXT\)\]/ end=/$/ contains=descTag,descUrl,descEmail
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
57 syn region descTagRegion start=/^\[\(C\|CATEGORY\)\]/ end=/$/ contains=descTag,descCategory
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syn region descTagRegion start=/^\[\(F\|FLAG\)\]/ end=/$/ contains=descTag,descFlag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn region descTagRegion start=/^\[\(L\|LICENSE\)\]/ end=/$/ contains=descTag,descLicense
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 1121
diff changeset
63 " Only when an item doesn't have highlighting yet
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
65 hi def link descFlag Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
66 hi def link descLicense Identifier
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
67 hi def link descCategory Identifier
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 1121
diff changeset
68
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
69 hi def link descTag Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
70 hi def link descUrl Underlined
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
71 hi def link descEmail Underlined
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 1121
diff changeset
73 " priority tag colors
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
74 hi def link descInstallX Boolean
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
75 hi def link descInstallO Type
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
76 hi def link descDash Operator
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
77 hi def link descDigit Number
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
78 hi def link descCompilePriority Number
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 1121
diff changeset
80 " download tag colors
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
81 hi def link descSum Number
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
82 hi def link descTarball Underlined
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83
10048
43efa4f5a8ea commit https://github.com/vim/vim/commit/89bcfda6834aba724d12554a34b9ed49f5789fd5
Christian Brabandt <cb@256bit.org>
parents: 1121
diff changeset
84 " tag region colors
10051
46763b01cd9a commit https://github.com/vim/vim/commit/f37506f60f87d52a9e8850e30067645e2b13783c
Christian Brabandt <cb@256bit.org>
parents: 10048
diff changeset
85 hi def link descText Comment
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 let b:current_syntax = "desc"