spec.syntax 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. context default
  2. keyword whole Auto\{Pp\}rov: green
  3. keyword whole Auto\{Rr\}eq\{Pp\}rov: green
  4. keyword whole Auto\{Rr\}eq: green
  5. keyword whole Build\{Aa\}rch: green
  6. keyword whole Build\{Cc\}onflicts: green
  7. keyword whole Build\{Pp\}re\{Rr\}eq: green
  8. keyword whole Build\{Rr\}oot: green
  9. keyword whole Build\{Rr\}equires: green
  10. keyword whole Conflicts: green
  11. keyword whole Copyright: white
  12. keyword whole Description: green
  13. keyword whole Distribution: green
  14. keyword whole Doc\{Dd\}ir: green
  15. keyword whole Epoch: green
  16. keyword whole Exclude\{Aa\}rch: green
  17. keyword whole Exclusive\{Aa\}rch: green
  18. keyword whole Exclusive\{Oo\}\{Ss\}: green
  19. keyword whole Group: green
  20. keyword whole Icon: green
  21. keyword whole License: green
  22. keyword whole Name: green
  23. keyword whole NoSource\[0123456789\]: green
  24. keyword whole Obsoletes: green
  25. keyword whole Packager: green
  26. keyword whole Patch\[0123456789\]: green
  27. keyword whole Prefix: green
  28. keyword whole Pre\{Rr\}eq: green
  29. keyword whole Provides: green
  30. keyword whole Release: green
  31. keyword whole Requires: green
  32. keyword whole Requires(\[abcdefghijklmnopqrstuvwxyz\]): green
  33. keyword whole Root: green
  34. keyword whole Serial: white
  35. keyword whole Source\[0123456789\]: green
  36. keyword whole Suggests: green
  37. keyword whole Summary: green
  38. keyword whole Vendor: green
  39. keyword whole Version: green
  40. keyword whole U\{Rr\}\{Ll\}: green
  41. keyword whole linestart %build red
  42. keyword whole linestart %changelog red
  43. keyword whole linestart %check red
  44. keyword whole linestart %clean red
  45. keyword whole linestart %description red
  46. keyword whole linestart %files red
  47. keyword whole linestart %install red
  48. keyword whole linestart %package red
  49. keyword whole linestart %post red
  50. keyword whole linestart %postun red
  51. keyword whole linestart %pre red
  52. keyword whole linestart %prep red
  53. keyword whole linestart %preun red
  54. keyword whole %define brightmagenta
  55. keyword whole %dump brightmagenta
  56. keyword whole %global brightmagenta
  57. keyword whole %trace brightmagenta
  58. keyword whole %undefine brightmagenta
  59. keyword %\{ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_0123456789\}\[ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_0123456789\] brightred
  60. keyword whole echo: brightmagenta
  61. keyword whole warn: brightmagenta
  62. keyword whole error: brightmagenta
  63. keyword whole uncompress: brightmagenta
  64. keyword whole expand: brightmagenta
  65. keyword whole S: brightmagenta
  66. keyword whole P: brightmagenta
  67. keyword whole F: brightmagenta
  68. keyword %{ brightcyan
  69. keyword { brightcyan
  70. keyword } brightcyan
  71. keyword whole %triggerin magenta
  72. keyword whole %triggerun magenta
  73. keyword whole %triggerun magenta
  74. keyword \\\n yellow
  75. keyword wholeright $+ brightgreen
  76. keyword ftp://+ brightgreen
  77. keyword http://+ brightgreen
  78. keyword cvs://+ brightgreen
  79. keyword whole missingok brightcyan
  80. keyword whole noreplace brightcyan
  81. keyword whole PATCH\[0123456789\] cyan
  82. keyword whole SOURCE\[0123456789\] cyan
  83. context Group( ): green
  84. keyword whole af yellow
  85. keyword whole az yellow
  86. keyword whole bg yellow
  87. keyword whole br yellow
  88. keyword whole ca yellow
  89. keyword whole ca_ES yellow
  90. keyword whole cs yellow
  91. keyword whole cs_CZ yellow
  92. keyword whole da yellow
  93. keyword whole da_DK yellow
  94. keyword whole de yellow
  95. keyword whole de_AT yellow
  96. keyword whole de_DE yellow
  97. keyword whole el yellow
  98. keyword whole el_GR yellow
  99. keyword whole en yellow
  100. keyword whole en_GB yellow
  101. keyword whole eo yellow
  102. keyword whole es yellow
  103. keyword whole es_ES yellow
  104. keyword whole et yellow
  105. keyword whole et_EE yellow
  106. keyword whole eu yellow
  107. keyword whole fi yellow
  108. keyword whole fi_FI yellow
  109. keyword whole fr yellow
  110. keyword whole fr_FR yellow
  111. keyword whole gl yellow
  112. keyword whole gl_ES yellow
  113. keyword whole gr yellow
  114. keyword whole he yellow
  115. keyword whole he_IL yellow
  116. keyword whole hi yellow
  117. keyword whole hr yellow
  118. keyword whole hr_HR yellow
  119. keyword whole hu yellow
  120. keyword whole hu_HU yellow
  121. keyword whole id yellow
  122. keyword whole is yellow
  123. keyword whole is_IS yellow
  124. keyword whole it yellow
  125. keyword whole it_IT yellow
  126. keyword whole ja yellow
  127. keyword whole ja_JP yellow
  128. keyword whole ja_JP.SJIS yellow
  129. keyword whole ko yellow
  130. keyword whole ko_KR yellow
  131. keyword whole lt yellow
  132. keyword whole lt_LT yellow
  133. keyword whole lv yellow
  134. keyword whole ms yellow
  135. keyword whole nb yellow
  136. keyword whole nl yellow
  137. keyword whole nl_NL yellow
  138. keyword whole nn yellow
  139. keyword whole nn_NO yellow
  140. keyword whole no yellow
  141. keyword whole no_NO yellow
  142. keyword whole pl yellow
  143. keyword whole pl_PL yellow
  144. keyword whole pt yellow
  145. keyword whole pt_BR yellow
  146. keyword whole pt_PT yellow
  147. keyword whole ro yellow
  148. keyword whole ro_RO yellow
  149. keyword whole ru yellow
  150. keyword whole ru_RU yellow
  151. keyword whole sk yellow
  152. keyword whole sk_SK yellow
  153. keyword whole sl yellow
  154. keyword whole sl_SI yellow
  155. keyword whole sr yellow
  156. keyword whole sv yellow
  157. keyword whole sv_SE yellow
  158. keyword whole ta yellow
  159. keyword whole th_TH yellow
  160. keyword whole tr yellow
  161. keyword whole tr_TR yellow
  162. keyword whole uk yellow
  163. keyword whole vi yellow
  164. keyword whole wa yellow
  165. keyword whole zh yellow
  166. keyword whole zh_CN yellow
  167. keyword whole zh_CN.GB2312 yellow
  168. keyword whole zh_TW yellow
  169. keyword whole zh_TW.Big5 yellow
  170. context Requires( ): green
  171. keyword whole post yellow
  172. keyword whole pre yellow
  173. keyword whole postun yellow
  174. keyword whole preun yellow
  175. keyword , lightgray
  176. context Summary( ): green
  177. keyword whole af yellow
  178. keyword whole az yellow
  179. keyword whole bg yellow
  180. keyword whole br yellow
  181. keyword whole ca yellow
  182. keyword whole ca_ES yellow
  183. keyword whole cs yellow
  184. keyword whole cs_CZ yellow
  185. keyword whole da yellow
  186. keyword whole da_DK yellow
  187. keyword whole de yellow
  188. keyword whole de_AT yellow
  189. keyword whole de_DE yellow
  190. keyword whole el yellow
  191. keyword whole el_GR yellow
  192. keyword whole en yellow
  193. keyword whole en_GB yellow
  194. keyword whole eo yellow
  195. keyword whole es yellow
  196. keyword whole es_ES yellow
  197. keyword whole et yellow
  198. keyword whole et_EE yellow
  199. keyword whole eu yellow
  200. keyword whole fi yellow
  201. keyword whole fi_FI yellow
  202. keyword whole fr yellow
  203. keyword whole fr_FR yellow
  204. keyword whole gl yellow
  205. keyword whole gl_ES yellow
  206. keyword whole gr yellow
  207. keyword whole he yellow
  208. keyword whole he_IL yellow
  209. keyword whole hi yellow
  210. keyword whole hr yellow
  211. keyword whole hr_HR yellow
  212. keyword whole hu yellow
  213. keyword whole hu_HU yellow
  214. keyword whole id yellow
  215. keyword whole is yellow
  216. keyword whole is_IS yellow
  217. keyword whole it yellow
  218. keyword whole it_IT yellow
  219. keyword whole ja yellow
  220. keyword whole ja_JP yellow
  221. keyword whole ja_JP.SJIS yellow
  222. keyword whole ko yellow
  223. keyword whole ko_KR yellow
  224. keyword whole lt yellow
  225. keyword whole lt_LT yellow
  226. keyword whole lv yellow
  227. keyword whole ms yellow
  228. keyword whole nb yellow
  229. keyword whole nl yellow
  230. keyword whole nl_NL yellow
  231. keyword whole nn yellow
  232. keyword whole nn_NO yellow
  233. keyword whole no yellow
  234. keyword whole no_NO yellow
  235. keyword whole pl yellow
  236. keyword whole pl_PL yellow
  237. keyword whole pt yellow
  238. keyword whole pt_BR yellow
  239. keyword whole pt_PT yellow
  240. keyword whole ro yellow
  241. keyword whole ro_RO yellow
  242. keyword whole ru yellow
  243. keyword whole ru_RU yellow
  244. keyword whole sk yellow
  245. keyword whole sk_SK yellow
  246. keyword whole sl yellow
  247. keyword whole sl_SI yellow
  248. keyword whole sr yellow
  249. keyword whole sv yellow
  250. keyword whole sv_SE yellow
  251. keyword whole ta yellow
  252. keyword whole th_TH yellow
  253. keyword whole tr yellow
  254. keyword whole tr_TR yellow
  255. keyword whole uk yellow
  256. keyword whole vi yellow
  257. keyword whole wa yellow
  258. keyword whole zh yellow
  259. keyword whole zh_CN yellow
  260. keyword whole zh_CN.GB2312 yellow
  261. keyword whole zh_TW yellow
  262. keyword whole zh_TW.Big5 yellow
  263. context linestart # \n brown
  264. context %( ) brightcyan
  265. # Changelog
  266. context exclusive whole linestart %changelog EOF lightgray
  267. keyword Revision*\n brightgreen
  268. keyword \*\s\{MWTFS\}*\n brightgreen
  269. keyword \s\s[*] brightgreen
  270. keyword $Log*$\n brightred
  271. #sections
  272. context exclusive linestart %build \n yellow
  273. keyword whole -l brightred
  274. keyword whole -n brightred
  275. keyword whole -p brightred
  276. keyword %{ brightcyan
  277. keyword { brightcyan
  278. keyword } brightcyan
  279. context exclusive linestart %clean \n yellow
  280. keyword whole -l brightred
  281. keyword whole -n brightred
  282. keyword whole -p brightred
  283. keyword %{ brightcyan
  284. keyword { brightcyan
  285. keyword } brightcyan
  286. context exclusive linestart %description \n yellow
  287. keyword whole -l brightred
  288. keyword whole -n brightred
  289. keyword whole -p brightred
  290. keyword %{ brightcyan
  291. keyword { brightcyan
  292. keyword } brightcyan
  293. context exclusive linestart %files \n yellow
  294. keyword whole -l brightred
  295. keyword whole -n brightred
  296. keyword whole -p brightred
  297. keyword %{ brightcyan
  298. keyword { brightcyan
  299. keyword } brightcyan
  300. context exclusive linestart %install \n yellow
  301. keyword whole -l brightred
  302. keyword whole -n brightred
  303. keyword whole -p brightred
  304. keyword %{ brightcyan
  305. keyword { brightcyan
  306. keyword } brightcyan
  307. context exclusive linestart %package \n yellow
  308. keyword whole -l brightred
  309. keyword whole -n brightred
  310. keyword whole -p brightred
  311. keyword %{ brightcyan
  312. keyword { brightcyan
  313. keyword } brightcyan
  314. context exclusive linestart %pre \n yellow
  315. keyword whole -l brightred
  316. keyword whole -n brightred
  317. keyword whole -p brightred
  318. keyword %{ brightcyan
  319. keyword { brightcyan
  320. keyword } brightcyan
  321. context exclusive linestart %prep \n yellow
  322. keyword whole -l brightred
  323. keyword whole -n brightred
  324. keyword whole -p brightred
  325. keyword %{ brightcyan
  326. keyword { brightcyan
  327. keyword } brightcyan
  328. context exclusive linestart %preun \n yellow
  329. keyword whole -l brightred
  330. keyword whole -n brightred
  331. keyword whole -p brightred
  332. keyword %{ brightcyan
  333. keyword { brightcyan
  334. keyword } brightcyan
  335. context exclusive linestart %post \n yellow
  336. keyword whole -l brightred
  337. keyword whole -n brightred
  338. keyword whole -p brightred
  339. keyword %{ brightcyan
  340. keyword { brightcyan
  341. keyword } brightcyan
  342. context exclusive linestart %postun \n yellow
  343. keyword whole -l brightred
  344. keyword whole -n brightred
  345. keyword whole -p brightred
  346. keyword %{ brightcyan
  347. keyword { brightcyan
  348. keyword } brightcyan
  349. #triggers
  350. context exclusive %triggerin \n lightgray
  351. keyword whole -n brightmagenta
  352. keyword whole -p brightmagenta
  353. keyword whole -- brightmagenta
  354. context exclusive %triggerun \n lightgray
  355. keyword whole -n brightmagenta
  356. keyword whole -p brightmagenta
  357. keyword whole -- brightmagenta
  358. context exclusive %triggerpostun \n lightgray
  359. keyword whole -n brightmagenta
  360. keyword whole -p brightmagenta
  361. keyword whole -- brightmagenta