comparison 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
comparison
equal deleted inserted replaced
33:7d0d8b831f5a 34:e170173ecb68
1 " Vim syntax file 1 " Vim syntax file
2 " Language: Conary Recipe 2 " Language: Conary Recipe
3 " Maintainer: rPath Inc <http://www.rpath.com> 3 " Maintainer: rPath Inc <http://www.rpath.com>
4 " Updated: 2007-05-07 4 " Updated: 2007-12-08
5 5
6 if exists("b:current_syntax") 6 if exists("b:current_syntax")
7 finish 7 finish
8 endif 8 endif
9 9
10 runtime! syntax/python.vim 10 runtime! syntax/python.vim
11
11 syn keyword conarySFunction mainDir addAction addSource addArchive addPatch 12 syn keyword conarySFunction mainDir addAction addSource addArchive addPatch
12 syn keyword conarySFunction addRedirect addSvnSnapshot addMercurialSnapshot 13 syn keyword conarySFunction addRedirect addSvnSnapshot addMercurialSnapshot
13 syn keyword conarySFunction addCvsSnapshot 14 syn keyword conarySFunction addCvsSnapshot addGitSnapshot addBzrSnapshot
14 15
15 syn keyword conaryGFunction add addAll addNewGroup addReference createGroup 16 syn keyword conaryGFunction add addAll addNewGroup addReference createGroup
16 syn keyword conaryGFunction addNewGroup startGroup remove removeComponents 17 syn keyword conaryGFunction addNewGroup startGroup remove removeComponents
17 syn keyword conaryGFunction replace setByDefault setDefaultGroup 18 syn keyword conaryGFunction replace setByDefault setDefaultGroup
18 syn keyword conaryGFunction setLabelPath addCopy setSearchPath 19 syn keyword conaryGFunction setLabelPath addCopy setSearchPath AddAllFlags
20 syn keyword conaryGFunction GroupRecipe GroupReference TroveCacheWrapper
21 syn keyword conaryGFunction TroveCache buildGroups findTrovesForGroups
22 syn keyword conaryGFunction followRedirect processAddAllDirectives
23 syn keyword conaryGFunction processOneAddAllDirective removeDifferences
24 syn keyword conaryGFunction addTrovesToGroup addCopiedComponents
25 syn keyword conaryGFunction findAllWeakTrovesToRemove checkForRedirects
26 syn keyword conaryGFunction addPackagesForComponents getResolveSource
27 syn keyword conaryGFunction resolveGroupDependencies checkGroupDependencies
28 syn keyword conaryGFunction calcSizeAndCheckHashes findSourcesForGroup
29 syn keyword conaryGFunction addPostInstallScript addPostRollbackScript
30 syn keyword conaryGFunction addPostUpdateScript addPreUpdateScript
31 syn keyword conaryGFunction addTrove moveComponents copyComponents
32 syn keyword conaryGFunction removeItemsAlsoInNewGroup removeItemsAlsoInGroup
33 syn keyword conaryGFunction addResolveSource iterReplaceSpecs
34 syn keyword conaryGFunction setCompatibilityClass getLabelPath
35 syn keyword conaryGFunction getResolveTroveSpecs getSearchFlavor
36 syn keyword conaryGFunction getChildGroups getGroupMap
19 37
20 syn keyword conaryBFunction Run Automake Configure ManualConfigure 38 syn keyword conaryBFunction Run Automake Configure ManualConfigure
21 syn keyword conaryBFunction Make MakeParallelSubdir MakeInstall 39 syn keyword conaryBFunction Make MakeParallelSubdir MakeInstall
22 syn keyword conaryBFunction MakePathsInstall CompilePython 40 syn keyword conaryBFunction MakePathsInstall CompilePython
23 syn keyword conaryBFunction Ldconfig Desktopfile Environment SetModes 41 syn keyword conaryBFunction Ldconfig Desktopfile Environment SetModes
24 syn keyword conaryBFunction Install Copy Move Symlink Link Remove Doc 42 syn keyword conaryBFunction Install Copy Move Symlink Link Remove Doc
25 syn keyword conaryBFunction Create MakeDirs disableParallelMake 43 syn keyword conaryBFunction Create MakeDirs disableParallelMake
26 syn keyword conaryBFunction ConsoleHelper Replace SGMLCatalogEntry 44 syn keyword conaryBFunction ConsoleHelper Replace SGMLCatalogEntry
27 syn keyword conaryBFunction XInetdService XMLCatalogEntry TestSuite 45 syn keyword conaryBFunction XInetdService XMLCatalogEntry TestSuite
28 syn keyword conaryBFunction PythonSetup 46 syn keyword conaryBFunction PythonSetup CMake Ant JavaCompile ClassPath
47 syn keyword conaryBFunction JavaDoc IncludeLicense MakeFIFO
29 48
30 syn keyword conaryPFunction NonBinariesInBindirs FilesInMandir 49 syn keyword conaryPFunction NonBinariesInBindirs FilesInMandir
31 syn keyword conaryPFunction ImproperlyShared CheckSonames CheckDestDir 50 syn keyword conaryPFunction ImproperlyShared CheckSonames CheckDestDir
32 syn keyword conaryPFunction ComponentSpec PackageSpec 51 syn keyword conaryPFunction ComponentSpec PackageSpec
33 syn keyword conaryPFunction Config InitScript GconfSchema SharedLibrary 52 syn keyword conaryPFunction Config InitScript GconfSchema SharedLibrary
43 syn keyword conaryPFunction NonMultilibDirectories NonUTF8Filenames TagSpec 62 syn keyword conaryPFunction NonMultilibDirectories NonUTF8Filenames TagSpec
44 syn keyword conaryPFunction Provides RequireChkconfig Requires TagHandler 63 syn keyword conaryPFunction Provides RequireChkconfig Requires TagHandler
45 syn keyword conaryPFunction TagDescription Transient User UtilizeGroup 64 syn keyword conaryPFunction TagDescription Transient User UtilizeGroup
46 syn keyword conaryPFunction WorldWritableExecutables UtilizeUser 65 syn keyword conaryPFunction WorldWritableExecutables UtilizeUser
47 syn keyword conaryPFunction WarnWritable Strip CheckDesktopFiles 66 syn keyword conaryPFunction WarnWritable Strip CheckDesktopFiles
67 syn keyword conaryPFunction FixDirModes LinkType reportMissingBuildRequires
68 syn keyword conaryPFunction reportErrors FixupManpagePaths FixObsoletePaths
69 syn keyword conaryPFunction NonLSBPaths PythonEggs
70 syn keyword conaryPFunction EnforcePythonBuildRequirements
71 syn keyword conaryPFunction EnforceJavaBuildRequirements
72 syn keyword conaryPFunction EnforceCILBuildRequirements
73 syn keyword conaryPFunction EnforcePerlBuildRequirements
74 syn keyword conaryPFunction EnforceFlagBuildRequirements
75 syn keyword conaryPFunction FixupMultilibPaths ExecutableLibraries
76 syn keyword conaryPFunction NormalizeLibrarySymlinks NormalizeCompression
77 syn keyword conaryPFunction NormalizeManPages NormalizeInfoPages
78 syn keyword conaryPFunction NormalizeInitscriptLocation
79 syn keyword conaryPFunction NormalizeInitscriptContents
80 syn keyword conaryPFunction NormalizeAppDefaults NormalizeInterpreterPaths
81 syn keyword conaryPFunction NormalizePamConfig ReadableDocs
82 syn keyword conaryPFunction WorldWriteableExecutables NormalizePkgConfig
83 syn keyword conaryPFunction EtcConfig InstallBucket SupplementalGroup
84 syn keyword conaryPFunction FixBuilddirSymlink RelativeSymlinks
48 85
49 " Most destdirPolicy aren't called from recipes, except for these 86 " Most destdirPolicy aren't called from recipes, except for these
50 syn keyword conaryPFunction AutoDoc RemoveNonPackageFiles TestSuiteFiles 87 syn keyword conaryPFunction AutoDoc RemoveNonPackageFiles TestSuiteFiles
51 syn keyword conaryPFunction TestSuiteLinks 88 syn keyword conaryPFunction TestSuiteLinks
52 89
53 syn match conaryMacro "%(\w\+)[sd]" contained 90 syn match conaryMacro "%(\w\+)[sd]" contained
54 syn match conaryBadMacro "%(\w*)[^sd]" contained " no final marker 91 syn match conaryBadMacro "%(\w*)[^sd]" contained " no final marker
55 syn keyword conaryArches contained x86 x86_64 alpha ia64 ppc ppc64 s390 92 syn keyword conaryArches contained x86 x86_64 alpha ia64 ppc ppc64 s390
56 syn keyword conaryArches contained sparc sparc64 93 syn keyword conaryArches contained sparc sparc64
57 syn keyword conarySubArches contained sse2 3dnow 3dnowext cmov i486 i586 94 syn keyword conarySubArches contained sse2 3dnow 3dnowext cmov i486 i586
58 syn keyword conarySubArches contained i686 mmx mmxext nx sse sse2 95 syn keyword conarySubArches contained i686 mmx mmxext nx sse sse2
59 syn keyword conaryBad RPM_BUILD_ROOT EtcConfig InstallBucket subDir subdir 96 syn keyword conaryBad RPM_BUILD_ROOT EtcConfig InstallBucket subDir
60 syn keyword conaryBad RPM_OPT_FLAGS 97 syn keyword conaryBad RPM_OPT_FLAGS subdir
61 syn cluster conaryArchFlags contains=conaryArches,conarySubArches 98 syn cluster conaryArchFlags contains=conaryArches,conarySubArches
62 syn match conaryArch "Arch\.[a-z0-9A-Z]\+" contains=conaryArches,conarySubArches 99 syn match conaryArch "Arch\.[a-z0-9A-Z]\+" contains=conaryArches,conarySubArches
63 syn match conaryArch "Arch\.[a-z0-9A-Z]\+" contains=conaryArches,conarySubArches 100 syn match conaryArch "Arch\.[a-z0-9A-Z]\+" contains=conaryArches,conarySubArches
64 syn keyword conaryKeywords name buildRequires version clearBuildReqs 101 syn keyword conaryKeywords name buildRequires version clearBuildReqs
65 syn keyword conaryUseFlag contained pcre tcpwrappers gcj gnat selinux pam 102 syn keyword conaryUseFlag contained pcre tcpwrappers gcj gnat selinux pam
95 hi def link conaryBadMacro conaryError 132 hi def link conaryBadMacro conaryError
96 hi def link conaryKeywords Special 133 hi def link conaryKeywords Special
97 hi def link conaryUseFlag Typedef 134 hi def link conaryUseFlag Typedef
98 135
99 let b:current_syntax = "conaryrecipe" 136 let b:current_syntax = "conaryrecipe"
137