spec.syntax 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  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 https://+ brightgreen
  79. keyword cvs://+ brightgreen
  80. keyword whole missingok brightcyan
  81. keyword whole noreplace brightcyan
  82. keyword whole PATCH\[0123456789\] cyan
  83. keyword whole SOURCE\[0123456789\] cyan
  84. context Group( ): green
  85. keyword whole af yellow
  86. keyword whole az yellow
  87. keyword whole bg yellow
  88. keyword whole br yellow
  89. keyword whole ca yellow
  90. keyword whole ca_ES yellow
  91. keyword whole cs yellow
  92. keyword whole cs_CZ yellow
  93. keyword whole da yellow
  94. keyword whole da_DK yellow
  95. keyword whole de yellow
  96. keyword whole de_AT yellow
  97. keyword whole de_DE yellow
  98. keyword whole el yellow
  99. keyword whole el_GR yellow
  100. keyword whole en yellow
  101. keyword whole en_GB yellow
  102. keyword whole eo yellow
  103. keyword whole es yellow
  104. keyword whole es_ES yellow
  105. keyword whole et yellow
  106. keyword whole et_EE yellow
  107. keyword whole eu yellow
  108. keyword whole fi yellow
  109. keyword whole fi_FI yellow
  110. keyword whole fr yellow
  111. keyword whole fr_FR yellow
  112. keyword whole gl yellow
  113. keyword whole gl_ES yellow
  114. keyword whole gr yellow
  115. keyword whole he yellow
  116. keyword whole he_IL yellow
  117. keyword whole hi yellow
  118. keyword whole hr yellow
  119. keyword whole hr_HR yellow
  120. keyword whole hu yellow
  121. keyword whole hu_HU yellow
  122. keyword whole id yellow
  123. keyword whole is yellow
  124. keyword whole is_IS yellow
  125. keyword whole it yellow
  126. keyword whole it_IT yellow
  127. keyword whole ja yellow
  128. keyword whole ja_JP yellow
  129. keyword whole ja_JP.SJIS yellow
  130. keyword whole ko yellow
  131. keyword whole ko_KR yellow
  132. keyword whole lt yellow
  133. keyword whole lt_LT yellow
  134. keyword whole lv yellow
  135. keyword whole ms yellow
  136. keyword whole nb yellow
  137. keyword whole nl yellow
  138. keyword whole nl_NL yellow
  139. keyword whole nn yellow
  140. keyword whole nn_NO yellow
  141. keyword whole no yellow
  142. keyword whole no_NO yellow
  143. keyword whole pl yellow
  144. keyword whole pl_PL yellow
  145. keyword whole pt yellow
  146. keyword whole pt_BR yellow
  147. keyword whole pt_PT yellow
  148. keyword whole ro yellow
  149. keyword whole ro_RO yellow
  150. keyword whole ru yellow
  151. keyword whole ru_RU yellow
  152. keyword whole sk yellow
  153. keyword whole sk_SK yellow
  154. keyword whole sl yellow
  155. keyword whole sl_SI yellow
  156. keyword whole sr yellow
  157. keyword whole sv yellow
  158. keyword whole sv_SE yellow
  159. keyword whole ta yellow
  160. keyword whole th_TH yellow
  161. keyword whole tr yellow
  162. keyword whole tr_TR yellow
  163. keyword whole uk yellow
  164. keyword whole vi yellow
  165. keyword whole wa yellow
  166. keyword whole zh yellow
  167. keyword whole zh_CN yellow
  168. keyword whole zh_CN.GB2312 yellow
  169. keyword whole zh_TW yellow
  170. keyword whole zh_TW.Big5 yellow
  171. context Requires( ): green
  172. keyword whole post yellow
  173. keyword whole pre yellow
  174. keyword whole postun yellow
  175. keyword whole preun yellow
  176. keyword , lightgray
  177. context Summary( ): green
  178. keyword whole af yellow
  179. keyword whole az yellow
  180. keyword whole bg yellow
  181. keyword whole br yellow
  182. keyword whole ca yellow
  183. keyword whole ca_ES yellow
  184. keyword whole cs yellow
  185. keyword whole cs_CZ yellow
  186. keyword whole da yellow
  187. keyword whole da_DK yellow
  188. keyword whole de yellow
  189. keyword whole de_AT yellow
  190. keyword whole de_DE yellow
  191. keyword whole el yellow
  192. keyword whole el_GR yellow
  193. keyword whole en yellow
  194. keyword whole en_GB yellow
  195. keyword whole eo yellow
  196. keyword whole es yellow
  197. keyword whole es_ES yellow
  198. keyword whole et yellow
  199. keyword whole et_EE yellow
  200. keyword whole eu yellow
  201. keyword whole fi yellow
  202. keyword whole fi_FI yellow
  203. keyword whole fr yellow
  204. keyword whole fr_FR yellow
  205. keyword whole gl yellow
  206. keyword whole gl_ES yellow
  207. keyword whole gr yellow
  208. keyword whole he yellow
  209. keyword whole he_IL yellow
  210. keyword whole hi yellow
  211. keyword whole hr yellow
  212. keyword whole hr_HR yellow
  213. keyword whole hu yellow
  214. keyword whole hu_HU yellow
  215. keyword whole id yellow
  216. keyword whole is yellow
  217. keyword whole is_IS yellow
  218. keyword whole it yellow
  219. keyword whole it_IT yellow
  220. keyword whole ja yellow
  221. keyword whole ja_JP yellow
  222. keyword whole ja_JP.SJIS yellow
  223. keyword whole ko yellow
  224. keyword whole ko_KR yellow
  225. keyword whole lt yellow
  226. keyword whole lt_LT yellow
  227. keyword whole lv yellow
  228. keyword whole ms yellow
  229. keyword whole nb yellow
  230. keyword whole nl yellow
  231. keyword whole nl_NL yellow
  232. keyword whole nn yellow
  233. keyword whole nn_NO yellow
  234. keyword whole no yellow
  235. keyword whole no_NO yellow
  236. keyword whole pl yellow
  237. keyword whole pl_PL yellow
  238. keyword whole pt yellow
  239. keyword whole pt_BR yellow
  240. keyword whole pt_PT yellow
  241. keyword whole ro yellow
  242. keyword whole ro_RO yellow
  243. keyword whole ru yellow
  244. keyword whole ru_RU yellow
  245. keyword whole sk yellow
  246. keyword whole sk_SK yellow
  247. keyword whole sl yellow
  248. keyword whole sl_SI yellow
  249. keyword whole sr yellow
  250. keyword whole sv yellow
  251. keyword whole sv_SE yellow
  252. keyword whole ta yellow
  253. keyword whole th_TH yellow
  254. keyword whole tr yellow
  255. keyword whole tr_TR yellow
  256. keyword whole uk yellow
  257. keyword whole vi yellow
  258. keyword whole wa yellow
  259. keyword whole zh yellow
  260. keyword whole zh_CN yellow
  261. keyword whole zh_CN.GB2312 yellow
  262. keyword whole zh_TW yellow
  263. keyword whole zh_TW.Big5 yellow
  264. context linestart # \n brown
  265. context %( ) brightcyan
  266. # Changelog
  267. context exclusive whole linestart %changelog EOF lightgray
  268. keyword Revision*\n brightgreen
  269. keyword \*\s\{MWTFS\}*\n brightgreen
  270. keyword \s\s[*] brightgreen
  271. keyword $Log*$\n brightred
  272. #sections
  273. context exclusive linestart %build \n yellow
  274. keyword whole -l brightred
  275. keyword whole -n brightred
  276. keyword whole -p brightred
  277. keyword %{ brightcyan
  278. keyword { brightcyan
  279. keyword } brightcyan
  280. context exclusive linestart %clean \n yellow
  281. keyword whole -l brightred
  282. keyword whole -n brightred
  283. keyword whole -p brightred
  284. keyword %{ brightcyan
  285. keyword { brightcyan
  286. keyword } brightcyan
  287. context exclusive linestart %description \n yellow
  288. keyword whole -l brightred
  289. keyword whole -n brightred
  290. keyword whole -p brightred
  291. keyword %{ brightcyan
  292. keyword { brightcyan
  293. keyword } brightcyan
  294. context exclusive linestart %files \n yellow
  295. keyword whole -l brightred
  296. keyword whole -n brightred
  297. keyword whole -p brightred
  298. keyword %{ brightcyan
  299. keyword { brightcyan
  300. keyword } brightcyan
  301. context exclusive linestart %install \n yellow
  302. keyword whole -l brightred
  303. keyword whole -n brightred
  304. keyword whole -p brightred
  305. keyword %{ brightcyan
  306. keyword { brightcyan
  307. keyword } brightcyan
  308. context exclusive linestart %package \n yellow
  309. keyword whole -l brightred
  310. keyword whole -n brightred
  311. keyword whole -p brightred
  312. keyword %{ brightcyan
  313. keyword { brightcyan
  314. keyword } brightcyan
  315. context exclusive linestart %pre \n yellow
  316. keyword whole -l brightred
  317. keyword whole -n brightred
  318. keyword whole -p brightred
  319. keyword %{ brightcyan
  320. keyword { brightcyan
  321. keyword } brightcyan
  322. context exclusive linestart %prep \n yellow
  323. keyword whole -l brightred
  324. keyword whole -n brightred
  325. keyword whole -p brightred
  326. keyword %{ brightcyan
  327. keyword { brightcyan
  328. keyword } brightcyan
  329. context exclusive linestart %preun \n yellow
  330. keyword whole -l brightred
  331. keyword whole -n brightred
  332. keyword whole -p brightred
  333. keyword %{ brightcyan
  334. keyword { brightcyan
  335. keyword } brightcyan
  336. context exclusive linestart %post \n yellow
  337. keyword whole -l brightred
  338. keyword whole -n brightred
  339. keyword whole -p brightred
  340. keyword %{ brightcyan
  341. keyword { brightcyan
  342. keyword } brightcyan
  343. context exclusive linestart %postun \n yellow
  344. keyword whole -l brightred
  345. keyword whole -n brightred
  346. keyword whole -p brightred
  347. keyword %{ brightcyan
  348. keyword { brightcyan
  349. keyword } brightcyan
  350. #triggers
  351. context exclusive %triggerin \n lightgray
  352. keyword whole -n brightmagenta
  353. keyword whole -p brightmagenta
  354. keyword whole -- brightmagenta
  355. context exclusive %triggerun \n lightgray
  356. keyword whole -n brightmagenta
  357. keyword whole -p brightmagenta
  358. keyword whole -- brightmagenta
  359. context exclusive %triggerpostun \n lightgray
  360. keyword whole -n brightmagenta
  361. keyword whole -p brightmagenta
  362. keyword whole -- brightmagenta