kotlin.syntax 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. # kotlin.syntax
  2. #
  3. # URL: https://github.com/anvabr/kotlin.syntax
  4. #
  5. # License: GNU General Public License v3.0
  6. context default
  7. # hard keywords
  8. keyword whole as yellow
  9. keyword whole as? yellow
  10. keyword whole break yellow
  11. keyword whole class yellow
  12. keyword whole continue yellow
  13. keyword whole do yellow
  14. keyword whole else yellow
  15. keyword whole false yellow
  16. keyword whole for yellow
  17. keyword whole fun yellow
  18. keyword whole if yellow
  19. keyword whole in yellow
  20. keyword whole !in yellow
  21. keyword whole interface yellow
  22. keyword whole is yellow
  23. keyword whole !is yellow
  24. keyword whole null yellow
  25. keyword whole object yellow
  26. keyword whole package brown
  27. keyword whole return yellow
  28. keyword whole super yellow
  29. keyword whole this yellow
  30. keyword whole throw yellow
  31. keyword whole true yellow
  32. keyword whole try yellow
  33. keyword whole typealias yellow
  34. keyword whole val yellow
  35. keyword whole var yellow
  36. keyword whole when yellow
  37. keyword whole while yellow
  38. # soft keywords
  39. keyword whole by brightgreen
  40. keyword whole catch yellow
  41. keyword whole constructor brightgreen
  42. keyword whole delegate brightgreen
  43. keyword whole dynamic brightgreen
  44. # keyword whole field brightgreen
  45. keyword whole file brightgreen
  46. keyword whole finally brightgreen
  47. keyword whole get brightgreen
  48. keyword whole import brown
  49. keyword whole init brightgreen
  50. keyword whole param brightgreen
  51. keyword whole property brightgreen
  52. keyword whole reciever brightgreen
  53. keyword whole set brightgreen
  54. keyword whole setparam brightgreen
  55. keyword whole where brightgreen
  56. # modifier keywords
  57. keyword whole abstract brightmagenta
  58. keyword whole annotation brightmagenta
  59. keyword whole companion brightmagenta
  60. keyword whole const brightmagenta
  61. keyword whole crossinline brightmagenta
  62. keyword whole data brightmagenta
  63. keyword whole enum brightmagenta
  64. keyword whole external brightmagenta
  65. keyword whole final brightmagenta
  66. keyword whole infix brightmagenta
  67. keyword whole inline brightmagenta
  68. keyword whole inner brightmagenta
  69. keyword whole internal brightmagenta
  70. keyword whole lateinit brightmagenta
  71. keyword whole noinline brightmagenta
  72. keyword whole open brightmagenta
  73. keyword whole operator brightmagenta
  74. keyword whole out brightmagenta
  75. keyword whole override brightmagenta
  76. keyword whole private brightmagenta
  77. keyword whole protected brightmagenta
  78. keyword whole public brightmagenta
  79. keyword whole reified brightmagenta
  80. keyword whole sealed brightmagenta
  81. keyword whole suspend brightmagenta
  82. keyword whole tailrec brightmagenta
  83. keyword whole vararg brightmagenta
  84. # special identifiers
  85. keyword whole field brightgreen
  86. keyword whole it brightgreen
  87. keyword @\[ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\] brightcyan
  88. keyword \[ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\]@ brightcyan
  89. # operators and special symbols
  90. keyword \+ brightcyan
  91. keyword - brightcyan
  92. keyword \* brightcyan
  93. keyword / brightcyan
  94. keyword % brightcyan
  95. keyword = brightcyan
  96. keyword \+= brightcyan
  97. keyword -= brightcyan
  98. keyword \*= brightcyan
  99. keyword /= brightcyan
  100. keyword %= brightcyan
  101. keyword \+\+ brightcyan
  102. keyword -- brightcyan
  103. keyword && brightcyan
  104. keyword || brightcyan
  105. keyword ! brightcyan
  106. keyword == brightcyan
  107. keyword != brightcyan
  108. keyword === brightcyan
  109. keyword !== brightcyan
  110. keyword > brightcyan
  111. keyword < brightcyan
  112. keyword >= brightcyan
  113. keyword <= brightcyan
  114. keyword [ brightcyan
  115. keyword ] brightcyan
  116. keyword !! brightcyan
  117. keyword ?. brightcyan
  118. keyword ?: brightcyan
  119. keyword :: brightcyan
  120. keyword .. brightcyan
  121. keyword : brightcyan
  122. keyword ? brightcyan
  123. keyword -> brightcyan
  124. keyword @ brightcyan
  125. keyword ; brightcyan
  126. keyword $ brightcyan
  127. keyword _ brightcyan
  128. # built-in types
  129. keyword whole Double brightred
  130. keyword whole Float brightred
  131. keyword whole Long brightred
  132. keyword whole Int brightred
  133. keyword whole Short brightred
  134. keyword whole Byte brightred
  135. keyword whole Char brightred
  136. keyword whole Boolean brightred
  137. keyword whole Array brightred
  138. keyword whole String brightred
  139. keyword whole ByteArray brightred
  140. keyword whole ByteSequence brightred
  141. # comment
  142. context exclusive /\* \*/ gray
  143. context exclusive // \n gray
  144. context """ """ green
  145. spellcheck
  146. keyword \\" brightgreen
  147. keyword %% brightgreen
  148. keyword %\[#0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\[L\]\{eEfgGoxX\} brightgreen
  149. keyword %\[0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\[hl\]\{diuxX\} brightgreen
  150. keyword %\[hl\]n brightgreen
  151. keyword %\[-\]\[0123456789\*\]\[.\]\[0123456789\*\]s brightgreen
  152. keyword %[*] brightgreen
  153. keyword %c brightgreen
  154. keyword %p brightgreen
  155. keyword $\[0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\] brightgreen
  156. keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen
  157. keyword \\\\ brightgreen
  158. keyword \\' brightgreen
  159. keyword \\\{abtnvfr\} brightgreen
  160. context ' ' green
  161. context " " green
  162. spellcheck
  163. keyword \\" brightgreen
  164. keyword %% brightgreen
  165. keyword %\[#0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\[L\]\{eEfgGoxX\} brightgreen
  166. keyword %\[0\s-\+,\]\[0123456789\*\]\[.\]\[0123456789\*\]\[hl\]\{diuxX\} brightgreen
  167. keyword %\[hl\]n brightgreen
  168. keyword %\[-\]\[0123456789\*\]\[.\]\[0123456789\*\]s brightgreen
  169. keyword %[*] brightgreen
  170. keyword %c brightgreen
  171. keyword %p brightgreen
  172. keyword $\[0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ_abcdefghijklmnopqrstuvwxyz\] brightgreen
  173. keyword \\\{0123\}\{01234567\}\{01234567\} brightgreen
  174. keyword \\\\ brightgreen
  175. keyword \\' brightgreen
  176. keyword \\\{abtnvfr\} brightgreen