python.syntax 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. context default
  2. keyword : brightred
  3. keyword . white/Orange
  4. keyword > yellow
  5. keyword < yellow
  6. keyword \+ yellow
  7. keyword - yellow
  8. keyword \* yellow
  9. keyword / yellow
  10. keyword % yellow
  11. keyword = yellow
  12. keyword != yellow
  13. keyword == yellow
  14. keyword { brightcyan
  15. keyword } brightcyan
  16. keyword ( brightcyan
  17. keyword ) brightcyan
  18. keyword [ brightcyan
  19. keyword ] brightcyan
  20. keyword , brightcyan
  21. keyword ; brightmagenta
  22. keyword whole self brightred
  23. keyword whole and yellow
  24. keyword whole as yellow
  25. keyword whole assert yellow
  26. keyword whole break yellow
  27. keyword whole class yellow
  28. keyword whole continue yellow
  29. keyword whole def yellow
  30. keyword whole del yellow
  31. keyword whole elif yellow
  32. keyword whole else yellow
  33. keyword whole except yellow
  34. keyword whole exec yellow
  35. keyword whole finally yellow
  36. keyword whole for yellow
  37. keyword whole from yellow
  38. keyword whole global yellow
  39. keyword whole if yellow
  40. keyword whole import yellow
  41. keyword whole in yellow
  42. keyword whole is yellow
  43. keyword whole lambda yellow
  44. keyword whole not yellow
  45. keyword whole or yellow
  46. keyword whole pass yellow
  47. keyword whole print yellow
  48. keyword whole raise yellow
  49. keyword whole return yellow
  50. keyword whole try yellow
  51. keyword whole while yellow
  52. keyword whole with yellow
  53. keyword whole yield yellow
  54. keyword whole abs brightcyan
  55. keyword whole all brightcyan
  56. keyword whole any brightcyan
  57. keyword whole basestring brightcyan
  58. keyword whole bin brightcyan
  59. keyword whole bool brightcyan
  60. keyword whole callable brightcyan
  61. keyword whole chr brightcyan
  62. keyword whole classmethod brightcyan
  63. keyword whole cmp brightcyan
  64. keyword whole coerce brightcyan
  65. keyword whole compile brightcyan
  66. keyword whole complex brightcyan
  67. keyword whole delattr brightcyan
  68. keyword whole dict brightcyan
  69. keyword whole dir brightcyan
  70. keyword whole divmod brightcyan
  71. keyword whole enumerate brightcyan
  72. keyword whole eval brightcyan
  73. keyword whole execfile brightcyan
  74. keyword whole file brightcyan
  75. keyword whole filter brightcyan
  76. keyword whole float brightcyan
  77. keyword whole frozenset brightcyan
  78. keyword whole getattr brightcyan
  79. keyword whole globals brightcyan
  80. keyword whole hasattr brightcyan
  81. keyword whole hash brightcyan
  82. keyword whole help brightcyan
  83. keyword whole hex brightcyan
  84. keyword whole id brightcyan
  85. keyword whole input brightcyan
  86. keyword whole int brightcyan
  87. keyword whole isinstance brightcyan
  88. keyword whole issubclass brightcyan
  89. keyword whole iter brightcyan
  90. keyword whole len brightcyan
  91. keyword whole list brightcyan
  92. keyword whole locals brightcyan
  93. keyword whole long brightcyan
  94. keyword whole map brightcyan
  95. keyword whole max brightcyan
  96. keyword whole min brightcyan
  97. keyword whole next brightcyan
  98. keyword whole object brightcyan
  99. keyword whole oct brightcyan
  100. keyword whole open brightcyan
  101. keyword whole ord brightcyan
  102. keyword whole pow brightcyan
  103. keyword whole print brightcyan
  104. keyword whole property brightcyan
  105. keyword whole range brightcyan
  106. keyword whole raw_input brightcyan
  107. keyword whole reduce brightcyan
  108. keyword whole reload brightcyan
  109. keyword whole repr brightcyan
  110. keyword whole reversed brightcyan
  111. keyword whole round brightcyan
  112. keyword whole setattr brightcyan
  113. keyword whole slice brightcyan
  114. keyword whole sorted brightcyan
  115. keyword whole staticmethod brightcyan
  116. keyword whole str brightcyan
  117. keyword whole sum brightcyan
  118. keyword whole super brightcyan
  119. keyword whole tuple brightcyan
  120. keyword whole type brightcyan
  121. keyword whole unichr brightcyan
  122. keyword whole unicode brightcyan
  123. keyword whole vars brightcyan
  124. keyword whole xrange brightcyan
  125. keyword whole zip brightcyan
  126. keyword whole atof magenta
  127. keyword whole atoi magenta
  128. keyword whole atol magenta
  129. keyword whole expandtabs magenta
  130. keyword whole find magenta
  131. keyword whole rfind magenta
  132. keyword whole index magenta
  133. keyword whole rindex magenta
  134. keyword whole count magenta
  135. keyword whole split magenta
  136. keyword whole splitfields magenta
  137. keyword whole join magenta
  138. keyword whole joinfields magenta
  139. keyword whole strip magenta
  140. keyword whole lstrip magenta
  141. keyword whole rstrip magenta
  142. keyword whole swapcase magenta
  143. keyword whole upper magenta
  144. keyword whole lower magenta
  145. keyword whole ljust magenta
  146. keyword whole rjust magenta
  147. keyword whole center magenta
  148. keyword whole zfill magenta
  149. keyword whole __init__ lightgray
  150. keyword whole __del__ lightgray
  151. keyword whole __repr__ lightgray
  152. keyword whole __str__ lightgray
  153. keyword whole __cmp__ lightgray
  154. keyword whole __hash__ lightgray
  155. keyword whole __call__ lightgray
  156. keyword whole __getattr__ lightgray
  157. keyword whole __setattr__ lightgray
  158. keyword whole __delattr__ lightgray
  159. keyword whole __len__ lightgray
  160. keyword whole __getitem__ lightgray
  161. keyword whole __setitem__ lightgray
  162. keyword whole __delitem__ lightgray
  163. keyword whole __getslice__ lightgray
  164. keyword whole __setslice__ lightgray
  165. keyword whole __delslice__ lightgray
  166. keyword whole __add__ lightgray
  167. keyword whole __sub__ lightgray
  168. keyword whole __mul__ lightgray
  169. keyword whole __div__ lightgray
  170. keyword whole __mod__ lightgray
  171. keyword whole __divmod__ lightgray
  172. keyword whole __pow__ lightgray
  173. keyword whole __lshift__ lightgray
  174. keyword whole __rshift__ lightgray
  175. keyword whole __and__ lightgray
  176. keyword whole __xor__ lightgray
  177. keyword whole __or__ lightgray
  178. keyword whole __neg__ lightgray
  179. keyword whole __pos__ lightgray
  180. keyword whole __abs__ lightgray
  181. keyword whole __invert__ lightgray
  182. keyword whole __nonzero__ lightgray
  183. keyword whole __coerce__ lightgray
  184. keyword whole __int__ lightgray
  185. keyword whole __long__ lightgray
  186. keyword whole __float__ lightgray
  187. keyword whole __oct__ lightgray
  188. keyword whole __hex__ lightgray
  189. keyword whole __radd__ lightgray
  190. keyword whole __rsub__ lightgray
  191. keyword whole __rmul__ lightgray
  192. keyword whole __rdiv__ lightgray
  193. keyword whole __rmod__ lightgray
  194. keyword whole __rdivmod__ lightgray
  195. keyword whole __rpow__ lightgray
  196. keyword whole __rlshift__ lightgray
  197. keyword whole __rrshift__ lightgray
  198. keyword whole __rand__ lightgray
  199. keyword whole __rxor__ lightgray
  200. keyword whole __ror__ lightgray
  201. keyword whole __+__ brightred
  202. context """ """ green
  203. keyword \\" brightgreen
  204. keyword \\\n brightgreen
  205. keyword %% brightgreen
  206. keyword %\[#0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[L\]\{eEfgGoxX\} brightgreen
  207. keyword %\[0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[hl\]\{diu\} brightgreen
  208. keyword %\[hl\]n brightgreen
  209. keyword %\[.\]\[0123456789\]s brightgreen
  210. keyword %[*] brightgreen
  211. keyword %c brightgreen
  212. keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen
  213. keyword \\\\{01234567\}\{01234567\} brightgreen
  214. keyword \\\\{01234567\} brightgreen
  215. keyword \\\\ brightgreen
  216. keyword \\' brightgreen
  217. keyword \\\{abtnvfr\} brightgreen
  218. context ''' ''' green
  219. keyword \\" brightgreen
  220. keyword \\\n brightgreen
  221. keyword %% brightgreen
  222. keyword %\[#0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[L\]\{eEfgGoxX\} brightgreen
  223. keyword %\[0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[hl\]\{diu\} brightgreen
  224. keyword %\[hl\]n brightgreen
  225. keyword %\[.\]\[0123456789\]s brightgreen
  226. keyword %[*] brightgreen
  227. keyword %c brightgreen
  228. keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen
  229. keyword \\\\{01234567\}\{01234567\} brightgreen
  230. keyword \\\\{01234567\} brightgreen
  231. keyword \\\\ brightgreen
  232. keyword \\' brightgreen
  233. keyword \\\{abtnvfr\} brightgreen
  234. context # \n brown
  235. keyword coding\{=:\}\[\s\]\[-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\] brightmagenta
  236. keyword vim:fileencoding=\[-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\] brightmagenta
  237. keyword -\*-\[\s\]coding:\[\s\]\[-0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\]\[\s\]-\*- brightmagenta
  238. spellcheck
  239. context " " green
  240. keyword \\" brightgreen
  241. keyword %% brightgreen
  242. keyword %\[#0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[L\]\{eEfgGoxX\} brightgreen
  243. keyword %\[0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[hl\]\{diuxX\} brightgreen
  244. keyword %\[hl\]n brightgreen
  245. keyword %\[.\]\[0123456789\]s brightgreen
  246. keyword %[*] brightgreen
  247. keyword %c brightgreen
  248. keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen
  249. keyword \\\\ brightgreen
  250. keyword \\' brightgreen
  251. keyword \\\{abtnvfr\} brightgreen
  252. context ' ' green
  253. keyword \\" brightgreen
  254. keyword \\\n brightgreen
  255. keyword %% brightgreen
  256. keyword %\[#0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[L\]\{eEfgGoxX\} brightgreen
  257. keyword %\[0\s-\+,\]\[0123456789\]\[.\]\[0123456789\]\[hl\]\{diuxX\} brightgreen
  258. keyword %\[hl\]n brightgreen
  259. keyword %\[.\]\[0123456789\]s brightgreen
  260. keyword %[*] brightgreen
  261. keyword %c brightgreen
  262. keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen
  263. keyword \\\\ brightgreen
  264. keyword \\' brightgreen
  265. keyword \\\{abtnvfr\} brightgreen