Mercurial > hg > RemoteEditor > vim7
annotate runtime/syntax/conaryrecipe.vim @ 34:e170173ecb68 current-release
before ack base protocol.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 26 Nov 2008 15:02:10 +0900 |
parents | 76efa0be13f1 |
children |
rev | line source |
---|---|
0 | 1 " Vim syntax file |
2 " Language: Conary Recipe | |
3 " Maintainer: rPath Inc <http://www.rpath.com> | |
34
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
4 " Updated: 2007-12-08 |
0 | 5 |
6 if exists("b:current_syntax") | |
7 finish | |
8 endif | |
9 | |
10 runtime! syntax/python.vim | |
34
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
11 |
0 | 12 syn keyword conarySFunction mainDir addAction addSource addArchive addPatch |
13 syn keyword conarySFunction addRedirect addSvnSnapshot addMercurialSnapshot | |
34
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
14 syn keyword conarySFunction addCvsSnapshot addGitSnapshot addBzrSnapshot |
0 | 15 |
34
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
16 syn keyword conaryGFunction add addAll addNewGroup addReference createGroup |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
17 syn keyword conaryGFunction addNewGroup startGroup remove removeComponents |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
18 syn keyword conaryGFunction replace setByDefault setDefaultGroup |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
19 syn keyword conaryGFunction setLabelPath addCopy setSearchPath AddAllFlags |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
20 syn keyword conaryGFunction GroupRecipe GroupReference TroveCacheWrapper |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
21 syn keyword conaryGFunction TroveCache buildGroups findTrovesForGroups |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
22 syn keyword conaryGFunction followRedirect processAddAllDirectives |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
23 syn keyword conaryGFunction processOneAddAllDirective removeDifferences |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
24 syn keyword conaryGFunction addTrovesToGroup addCopiedComponents |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
25 syn keyword conaryGFunction findAllWeakTrovesToRemove checkForRedirects |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
26 syn keyword conaryGFunction addPackagesForComponents getResolveSource |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
27 syn keyword conaryGFunction resolveGroupDependencies checkGroupDependencies |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
28 syn keyword conaryGFunction calcSizeAndCheckHashes findSourcesForGroup |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
29 syn keyword conaryGFunction addPostInstallScript addPostRollbackScript |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
30 syn keyword conaryGFunction addPostUpdateScript addPreUpdateScript |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
31 syn keyword conaryGFunction addTrove moveComponents copyComponents |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
32 syn keyword conaryGFunction removeItemsAlsoInNewGroup removeItemsAlsoInGroup |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
33 syn keyword conaryGFunction addResolveSource iterReplaceSpecs |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
34 syn keyword conaryGFunction setCompatibilityClass getLabelPath |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
35 syn keyword conaryGFunction getResolveTroveSpecs getSearchFlavor |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
36 syn keyword conaryGFunction getChildGroups getGroupMap |
0 | 37 |
38 syn keyword conaryBFunction Run Automake Configure ManualConfigure | |
39 syn keyword conaryBFunction Make MakeParallelSubdir MakeInstall | |
40 syn keyword conaryBFunction MakePathsInstall CompilePython | |
41 syn keyword conaryBFunction Ldconfig Desktopfile Environment SetModes | |
42 syn keyword conaryBFunction Install Copy Move Symlink Link Remove Doc | |
43 syn keyword conaryBFunction Create MakeDirs disableParallelMake | |
44 syn keyword conaryBFunction ConsoleHelper Replace SGMLCatalogEntry | |
45 syn keyword conaryBFunction XInetdService XMLCatalogEntry TestSuite | |
34
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
46 syn keyword conaryBFunction PythonSetup CMake Ant JavaCompile ClassPath |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
47 syn keyword conaryBFunction JavaDoc IncludeLicense MakeFIFO |
0 | 48 |
49 syn keyword conaryPFunction NonBinariesInBindirs FilesInMandir | |
50 syn keyword conaryPFunction ImproperlyShared CheckSonames CheckDestDir | |
51 syn keyword conaryPFunction ComponentSpec PackageSpec | |
52 syn keyword conaryPFunction Config InitScript GconfSchema SharedLibrary | |
53 syn keyword conaryPFunction ParseManifest MakeDevices DanglingSymlinks | |
54 syn keyword conaryPFunction AddModes WarnWriteable IgnoredSetuid | |
55 syn keyword conaryPFunction Ownership ExcludeDirectories | |
56 syn keyword conaryPFunction BadFilenames BadInterpreterPaths ByDefault | |
57 syn keyword conaryPFunction ComponentProvides ComponentRequires Flavor | |
58 syn keyword conaryPFunction EnforceConfigLogBuildRequirements Group | |
59 syn keyword conaryPFunction EnforceSonameBuildRequirements InitialContents | |
60 syn keyword conaryPFunction FilesForDirectories LinkCount | |
61 syn keyword conaryPFunction MakdeDevices NonMultilibComponent ObsoletePaths | |
62 syn keyword conaryPFunction NonMultilibDirectories NonUTF8Filenames TagSpec | |
63 syn keyword conaryPFunction Provides RequireChkconfig Requires TagHandler | |
64 syn keyword conaryPFunction TagDescription Transient User UtilizeGroup | |
65 syn keyword conaryPFunction WorldWritableExecutables UtilizeUser | |
66 syn keyword conaryPFunction WarnWritable Strip CheckDesktopFiles | |
34
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
67 syn keyword conaryPFunction FixDirModes LinkType reportMissingBuildRequires |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
68 syn keyword conaryPFunction reportErrors FixupManpagePaths FixObsoletePaths |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
69 syn keyword conaryPFunction NonLSBPaths PythonEggs |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
70 syn keyword conaryPFunction EnforcePythonBuildRequirements |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
71 syn keyword conaryPFunction EnforceJavaBuildRequirements |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
72 syn keyword conaryPFunction EnforceCILBuildRequirements |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
73 syn keyword conaryPFunction EnforcePerlBuildRequirements |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
74 syn keyword conaryPFunction EnforceFlagBuildRequirements |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
75 syn keyword conaryPFunction FixupMultilibPaths ExecutableLibraries |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
76 syn keyword conaryPFunction NormalizeLibrarySymlinks NormalizeCompression |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
77 syn keyword conaryPFunction NormalizeManPages NormalizeInfoPages |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
78 syn keyword conaryPFunction NormalizeInitscriptLocation |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
79 syn keyword conaryPFunction NormalizeInitscriptContents |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
80 syn keyword conaryPFunction NormalizeAppDefaults NormalizeInterpreterPaths |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
81 syn keyword conaryPFunction NormalizePamConfig ReadableDocs |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
82 syn keyword conaryPFunction WorldWriteableExecutables NormalizePkgConfig |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
83 syn keyword conaryPFunction EtcConfig InstallBucket SupplementalGroup |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
84 syn keyword conaryPFunction FixBuilddirSymlink RelativeSymlinks |
0 | 85 |
86 " Most destdirPolicy aren't called from recipes, except for these | |
34
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
87 syn keyword conaryPFunction AutoDoc RemoveNonPackageFiles TestSuiteFiles |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
88 syn keyword conaryPFunction TestSuiteLinks |
0 | 89 |
90 syn match conaryMacro "%(\w\+)[sd]" contained | |
91 syn match conaryBadMacro "%(\w*)[^sd]" contained " no final marker | |
92 syn keyword conaryArches contained x86 x86_64 alpha ia64 ppc ppc64 s390 | |
93 syn keyword conaryArches contained sparc sparc64 | |
94 syn keyword conarySubArches contained sse2 3dnow 3dnowext cmov i486 i586 | |
95 syn keyword conarySubArches contained i686 mmx mmxext nx sse sse2 | |
34
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
96 syn keyword conaryBad RPM_BUILD_ROOT EtcConfig InstallBucket subDir |
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
97 syn keyword conaryBad RPM_OPT_FLAGS subdir |
0 | 98 syn cluster conaryArchFlags contains=conaryArches,conarySubArches |
99 syn match conaryArch "Arch\.[a-z0-9A-Z]\+" contains=conaryArches,conarySubArches | |
100 syn match conaryArch "Arch\.[a-z0-9A-Z]\+" contains=conaryArches,conarySubArches | |
101 syn keyword conaryKeywords name buildRequires version clearBuildReqs | |
102 syn keyword conaryUseFlag contained pcre tcpwrappers gcj gnat selinux pam | |
103 syn keyword conaryUseFlag contained bootstrap python perl | |
104 syn keyword conaryUseFlag contained readline gdbm emacs krb builddocs | |
105 syn keyword conaryUseFlag contained alternatives tcl tk X gtk gnome qt | |
106 syn keyword conaryUseFlag contained xfce gd ldap sasl pie desktop ssl kde | |
107 syn keyword conaryUseFlag contained slang netpbm nptl ipv6 buildtests | |
108 syn keyword conaryUseFlag contained ntpl xen dom0 domU | |
109 syn match conaryUse "Use\.[a-z0-9A-Z]\+" contains=conaryUseFlag | |
110 | |
111 " strings | |
112 syn region pythonString matchgroup=Normal start=+[uU]\='+ end=+'+ skip=+\\\\\|\\'+ contains=pythonEscape,conaryMacro,conaryBadMacro | |
113 syn region pythonString matchgroup=Normal start=+[uU]\="+ end=+"+ skip=+\\\\\|\\"+ contains=pythonEscape,conaryMacro,conaryBadMacro | |
114 syn region pythonString matchgroup=Normal start=+[uU]\="""+ end=+"""+ contains=pythonEscape,conaryMacro,conaryBadMacro | |
115 syn region pythonString matchgroup=Normal start=+[uU]\='''+ end=+'''+ contains=pythonEscape,conaryMacro,conaryBadMacro | |
116 syn region pythonRawString matchgroup=Normal start=+[uU]\=[rR]'+ end=+'+ skip=+\\\\\|\\'+ contains=conaryMacro,conaryBadMacro | |
117 syn region pythonRawString matchgroup=Normal start=+[uU]\=[rR]"+ end=+"+ skip=+\\\\\|\\"+ contains=conaryMacro,conaryBadMacro | |
118 syn region pythonRawString matchgroup=Normal start=+[uU]\=[rR]"""+ end=+"""+ contains=conaryMacro,conaryBadMacro | |
119 syn region pythonRawString matchgroup=Normal start=+[uU]\=[rR]'''+ end=+'''+ contains=conaryMacro,conaryBadMacro | |
120 | |
121 hi def link conaryMacro Special | |
122 hi def link conaryrecipeFunction Function | |
123 hi def link conaryError Error | |
124 hi def link conaryBFunction conaryrecipeFunction | |
125 hi def link conaryGFunction conaryrecipeFunction | |
126 hi def link conarySFunction Operator | |
127 hi def link conaryPFunction Typedef | |
128 hi def link conaryFlags PreCondit | |
129 hi def link conaryArches Special | |
130 hi def link conarySubArches Special | |
131 hi def link conaryBad conaryError | |
132 hi def link conaryBadMacro conaryError | |
133 hi def link conaryKeywords Special | |
134 hi def link conaryUseFlag Typedef | |
135 | |
136 let b:current_syntax = "conaryrecipe" | |
34
e170173ecb68
before ack base protocol.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
137 |