ver 2009.12.14 → 2010.02

Sign up to get free protection for your applications and to get access to all the features.
Files changed (901) hide show
  1. data/.gitignore +1 -0
  2. data/.mailmap +1 -0
  3. data/.todo +102 -0
  4. data/.yardopts +1 -0
  5. data/AUTHORS +3 -3
  6. data/CHANGELOG +1597 -0
  7. data/MANIFEST +521 -329
  8. data/ROADMAP.textile +187 -0
  9. data/Rakefile +6 -4
  10. data/bin/ver +98 -35
  11. data/config/detect.rb +65 -37
  12. data/config/keymap/diakonos.rb +180 -178
  13. data/config/keymap/emacs.rb +44 -63
  14. data/config/keymap/nano.rb +174 -0
  15. data/config/keymap/vim.rb +459 -381
  16. data/config/plugin/animated_tiling.rb +90 -0
  17. data/config/plugin/autosave.rb +22 -0
  18. data/config/plugin/git.rb +46 -0
  19. data/config/plugin/smart_autoindent.rb +157 -0
  20. data/config/plugin/soma.rb +50 -0
  21. data/config/preferences/ANTLR.rb +6 -0
  22. data/config/preferences/ASP.rb +6 -0
  23. data/config/preferences/ActionScript.rb +747 -0
  24. data/config/preferences/Active4D.rb +35 -0
  25. data/config/preferences/Ada.rb +12 -0
  26. data/config/preferences/Ant.rb +348 -0
  27. data/config/preferences/Apache.rb +585 -0
  28. data/config/preferences/AppleScript.rb +35 -0
  29. data/config/preferences/Bulletin Board.rb +7 -0
  30. data/config/preferences/Bundle Development.rb +30 -0
  31. data/config/preferences/C++ Qt.rb +197 -0
  32. data/config/preferences/C.rb +60 -0
  33. data/config/preferences/CMake.rb +24 -0
  34. data/config/preferences/CSS.rb +396 -0
  35. data/config/preferences/ColdFusion.rb +13 -0
  36. data/config/preferences/Context Free.rb +16 -0
  37. data/config/preferences/D.rb +31 -0
  38. data/config/preferences/Diff.rb +36 -0
  39. data/config/preferences/DokuWiki.rb +13 -0
  40. data/config/preferences/Eiffel.rb +20 -0
  41. data/config/preferences/Erlang.rb +37 -0
  42. data/config/preferences/Experimental.rb +1352 -0
  43. data/config/preferences/F-Script.rb +29 -0
  44. data/config/preferences/FXScript.rb +23 -0
  45. data/config/preferences/Fortran.rb +70 -0
  46. data/config/preferences/GTD2.rb +6 -0
  47. data/config/preferences/GTDAlt.rb +12 -0
  48. data/config/preferences/Gettext.rb +14 -0
  49. data/config/preferences/Graphviz.rb +9 -0
  50. data/config/preferences/Gri.rb +9 -0
  51. data/config/preferences/HTML.rb +380 -0
  52. data/config/preferences/Haskell.rb +31 -0
  53. data/config/preferences/Hyperlink Helper.rb +78 -0
  54. data/config/preferences/Ini.rb +15 -0
  55. data/config/preferences/Io.rb +24 -0
  56. data/config/preferences/JSFL.rb +722 -0
  57. data/config/preferences/Java.rb +51 -0
  58. data/config/preferences/JavaScript Prototype & Script.aculo.us.rb +175 -0
  59. data/config/preferences/JavaScript YUI.rb +13 -0
  60. data/config/preferences/JavaScript.rb +41 -0
  61. data/config/preferences/LaTeX.rb +96 -0
  62. data/config/preferences/LilyPond.rb +22 -0
  63. data/config/preferences/Lisp.rb +17 -0
  64. data/config/preferences/Logo.rb +12 -0
  65. data/config/preferences/Logtalk.rb +193 -0
  66. data/config/preferences/Lua.rb +13 -0
  67. data/config/preferences/MEL.rb +13 -0
  68. data/config/preferences/MIPS Assembler.rb +9 -0
  69. data/config/preferences/Make.rb +8 -0
  70. data/config/preferences/Man Pages.rb +9 -0
  71. data/config/preferences/Matlab.rb +40 -0
  72. data/config/preferences/Maven.rb +220 -0
  73. data/config/preferences/Mediawiki.rb +27 -0
  74. data/config/preferences/Modula.rb +8 -0
  75. data/config/preferences/MoinMoin.rb +25 -0
  76. data/config/preferences/Movable Type.rb +47 -0
  77. data/config/preferences/OCaml Experimental Completions.rb +8 -0
  78. data/config/preferences/OCaml.rb +70 -0
  79. data/config/preferences/Objective-C.rb +54 -0
  80. data/config/preferences/OpenGL.rb +3327 -0
  81. data/config/preferences/Pascal.rb +15 -0
  82. data/config/preferences/Perl Template Toolkit.rb +19 -0
  83. data/config/preferences/Perl.rb +6 -0
  84. data/config/preferences/Postscript.rb +6 -0
  85. data/config/preferences/Processing.rb +13 -0
  86. data/config/preferences/Property List.rb +34 -0
  87. data/config/preferences/Python Django Templates.rb +13 -0
  88. data/config/preferences/Python.rb +24 -0
  89. data/config/preferences/Quake.rb +6 -0
  90. data/config/preferences/R Console (Rdaemon).rb +7 -0
  91. data/config/preferences/R.rb +17 -0
  92. data/config/preferences/Ragel.rb +6 -0
  93. data/config/preferences/Remind.rb +6 -0
  94. data/config/preferences/Rez.rb +10 -0
  95. data/config/preferences/Ruby Haml.rb +6 -0
  96. data/config/preferences/Ruby RSpec.rb +14 -0
  97. data/config/preferences/Ruby on Rails.rb +22 -0
  98. data/config/preferences/Ruby.rb +48 -0
  99. data/config/preferences/S5 Slide Show.rb +10 -0
  100. data/config/preferences/SQL.rb +17 -0
  101. data/config/preferences/SSH Config.rb +6 -0
  102. data/config/preferences/SWeave.rb +17 -0
  103. data/config/preferences/Scheme.rb +12 -0
  104. data/config/preferences/Scilab.rb +6 -0
  105. data/config/preferences/Shell Script.rb +13 -0
  106. data/config/preferences/Slate.rb +36 -0
  107. data/config/preferences/Source.rb +51 -0
  108. data/config/preferences/Standard ML.rb +18 -0
  109. data/config/preferences/Subversion.rb +6 -0
  110. data/config/preferences/Tcl.rb +19 -0
  111. data/config/preferences/TerminalMate.rb +46 -0
  112. data/config/preferences/Text.rb +31 -0
  113. data/config/preferences/TextMate.rb +18 -0
  114. data/config/preferences/Textile.rb +30 -0
  115. data/config/preferences/Thrift.rb +26 -0
  116. data/config/preferences/Twiki.rb +17 -0
  117. data/config/preferences/Txt2tags.rb +33 -0
  118. data/config/preferences/Vectorscript.rb +1240 -0
  119. data/config/preferences/XML.rb +26 -0
  120. data/config/preferences/YAML.rb +13 -0
  121. data/config/preferences/iCalendar.rb +6 -0
  122. data/config/preferences/iTerm.rb +16 -0
  123. data/config/preferences/newLisp.rb +10 -0
  124. data/config/preferences/reStructuredText.rb +17 -0
  125. data/config/rc.rb +13 -1
  126. data/config/snippets/ANTLR.rb +3 -0
  127. data/config/snippets/ASP vb.NET.rb +56 -0
  128. data/config/snippets/ASP.rb +38 -0
  129. data/config/snippets/ActionScript.rb +207 -0
  130. data/config/snippets/Active4D.rb +258 -0
  131. data/config/snippets/Ada.rb +62 -0
  132. data/config/snippets/Ant.rb +7 -0
  133. data/config/snippets/Apache.rb +22 -0
  134. data/config/snippets/AppleScript.rb +84 -0
  135. data/config/snippets/Bison.rb +3 -0
  136. data/config/snippets/Blogging.rb +20 -0
  137. data/config/snippets/Bulletin Board.rb +23 -0
  138. data/config/snippets/Bundle Development.rb +65 -0
  139. data/config/snippets/C++ Qt.rb +59 -0
  140. data/config/snippets/C.rb +102 -0
  141. data/config/snippets/CMake.rb +34 -0
  142. data/config/snippets/CSS.rb +117 -0
  143. data/config/snippets/CTags.rb +3 -0
  144. data/config/snippets/CVS.rb +3 -0
  145. data/config/snippets/ColdFusion.rb +1549 -0
  146. data/config/snippets/Context Free.rb +30 -0
  147. data/config/snippets/D.rb +113 -0
  148. data/config/snippets/Darcs.rb +3 -0
  149. data/config/snippets/Diff.rb +3 -0
  150. data/config/snippets/DokuWiki.rb +56 -0
  151. data/config/snippets/Doxygen.rb +42 -0
  152. data/config/snippets/Dylan.rb +3 -0
  153. data/config/snippets/Eiffel.rb +20 -0
  154. data/config/snippets/Erlang.rb +70 -0
  155. data/config/snippets/Experimental Wiki.rb +3 -0
  156. data/config/snippets/Experimental.rb +3 -0
  157. data/config/snippets/F-Script.rb +26 -0
  158. data/config/snippets/FXScript.rb +212 -0
  159. data/config/snippets/FileMerge.rb +3 -0
  160. data/config/snippets/Fortran.rb +282 -0
  161. data/config/snippets/GTD2.rb +3 -0
  162. data/config/snippets/GTDAlt.rb +6 -0
  163. data/config/snippets/GetBundle.rb +3 -0
  164. data/config/snippets/Gettext.rb +10 -0
  165. data/config/snippets/Graphviz.rb +3 -0
  166. data/config/snippets/Greasemonkey.rb +44 -0
  167. data/config/snippets/Gri.rb +12 -0
  168. data/config/snippets/HTML.rb +128 -0
  169. data/config/snippets/Haskell.rb +26 -0
  170. data/config/snippets/Hotkey.rb +3 -0
  171. data/config/snippets/Hyperlink Helper.rb +3 -0
  172. data/config/snippets/ImageBrowser.rb +3 -0
  173. data/config/snippets/Inform.rb +3 -0
  174. data/config/snippets/Ini.rb +3 -0
  175. data/config/snippets/Installer.rb +3 -0
  176. data/config/snippets/Io.rb +44 -0
  177. data/config/snippets/JSFL.rb +3 -0
  178. data/config/snippets/JSON.rb +3 -0
  179. data/config/snippets/Java.rb +94 -0
  180. data/config/snippets/JavaDoc.rb +58 -0
  181. data/config/snippets/JavaScript MooTools.rb +15 -0
  182. data/config/snippets/JavaScript Objective-J.rb +17 -0
  183. data/config/snippets/JavaScript Prototype & Script.aculo.us.rb +109 -0
  184. data/config/snippets/JavaScript YUI.rb +188 -0
  185. data/config/snippets/JavaScript jQuery.rb +377 -0
  186. data/config/snippets/JavaScript.rb +55 -0
  187. data/config/snippets/Lex-Flex.rb +3 -0
  188. data/config/snippets/Lighttpd.rb +3 -0
  189. data/config/snippets/LilyPond.rb +18 -0
  190. data/config/snippets/Lisp.rb +42 -0
  191. data/config/snippets/Logo.rb +8 -0
  192. data/config/snippets/Logtalk.rb +62 -0
  193. data/config/snippets/Lua.rb +35 -0
  194. data/config/snippets/MEL.rb +3 -0
  195. data/config/snippets/MIPS Assembler.rb +7 -0
  196. data/config/snippets/MacPorts.rb +3 -0
  197. data/config/snippets/Mail.rb +3 -0
  198. data/config/snippets/Make.rb +3 -0
  199. data/config/snippets/Man Pages.rb +3 -0
  200. data/config/snippets/Math.rb +3 -0
  201. data/config/snippets/Matlab.rb +180 -0
  202. data/config/snippets/Maven.rb +7 -0
  203. data/config/snippets/Mediawiki.rb +14 -0
  204. data/config/snippets/Mercurial.rb +3 -0
  205. data/config/snippets/Modula.rb +3 -0
  206. data/config/snippets/MoinMoin.rb +12 -0
  207. data/config/snippets/Movable Type.rb +55 -0
  208. data/config/snippets/Navigation.rb +3 -0
  209. data/config/snippets/Nemerle.rb +81 -0
  210. data/config/snippets/OCaml Code Completion Misc.rb +74 -0
  211. data/config/snippets/OCaml Code Completion Unix.rb +205 -0
  212. data/config/snippets/OCaml Experimental Completions.rb +3 -0
  213. data/config/snippets/OCaml.rb +75 -0
  214. data/config/snippets/ODCompletion.rb +120 -0
  215. data/config/snippets/Objective-C.rb +195 -0
  216. data/config/snippets/OpenGL.rb +3 -0
  217. data/config/snippets/Outlines.rb +3 -0
  218. data/config/snippets/PHP Smarty.rb +81 -0
  219. data/config/snippets/Pascal.rb +35 -0
  220. data/config/snippets/Perforce.rb +3 -0
  221. data/config/snippets/Perl HTML::Template.rb +27 -0
  222. data/config/snippets/Perl Mason.rb +32 -0
  223. data/config/snippets/Perl Template Toolkit.rb +22 -0
  224. data/config/snippets/Perl.rb +74 -0
  225. data/config/snippets/Postscript.rb +3 -0
  226. data/config/snippets/Processing.rb +35 -0
  227. data/config/snippets/Prolog.rb +3 -0
  228. data/config/snippets/Propel.rb +32 -0
  229. data/config/snippets/Property List.rb +26 -0
  230. data/config/snippets/Python Django Templates.rb +97 -0
  231. data/config/snippets/Python Django.rb +134 -0
  232. data/config/snippets/Quake.rb +3 -0
  233. data/config/snippets/R Console (R.app).rb +3 -0
  234. data/config/snippets/R Console (Rdaemon).rb +11 -0
  235. data/config/snippets/R.rb +79 -0
  236. data/config/snippets/Ragel.rb +3 -0
  237. data/config/snippets/Regular Expressions.rb +3 -0
  238. data/config/snippets/Remind.rb +17 -0
  239. data/config/snippets/Rez.rb +3 -0
  240. data/config/snippets/Ruby Haml.rb +3 -0
  241. data/config/snippets/Ruby RSpec.rb +240 -0
  242. data/config/snippets/Ruby on Rails.rb +767 -0
  243. data/config/snippets/Ruby.rb +547 -0
  244. data/config/snippets/S5 Slide Show.rb +26 -0
  245. data/config/snippets/SCons.rb +3 -0
  246. data/config/snippets/SQL.rb +3 -0
  247. data/config/snippets/SSH Config.rb +19 -0
  248. data/config/snippets/SVK.rb +3 -0
  249. data/config/snippets/SWIG.rb +20 -0
  250. data/config/snippets/SWeave.rb +3 -0
  251. data/config/snippets/Scheme.rb +3 -0
  252. data/config/snippets/Scilab.rb +81 -0
  253. data/config/snippets/Setext.rb +10 -0
  254. data/config/snippets/Shell Script.rb +44 -0
  255. data/config/snippets/Slate.rb +50 -0
  256. data/config/snippets/Source.rb +3 -0
  257. data/config/snippets/Standard ML.rb +29 -0
  258. data/config/snippets/Subversion.rb +3 -0
  259. data/config/snippets/TODO.rb +3 -0
  260. data/config/snippets/Tabular.rb +3 -0
  261. data/config/snippets/Tcl.rb +28 -0
  262. data/config/snippets/TerminalMate.rb +3 -0
  263. data/config/snippets/Text.rb +17 -0
  264. data/config/snippets/TextMate.rb +3 -0
  265. data/config/snippets/Textile.rb +47 -0
  266. data/config/snippets/Thrift.rb +20 -0
  267. data/config/snippets/Transmit.rb +3 -0
  268. data/config/snippets/Twiki.rb +107 -0
  269. data/config/snippets/Txt2tags.rb +81 -0
  270. data/config/snippets/Vectorscript.rb +40 -0
  271. data/config/snippets/Widget Creator.rb +7 -0
  272. data/config/snippets/XML.rb +20 -0
  273. data/config/snippets/Xcode.rb +3 -0
  274. data/config/snippets/YAML.rb +6 -0
  275. data/config/snippets/iCalendar.rb +3 -0
  276. data/config/snippets/iTerm.rb +3 -0
  277. data/config/snippets/newLisp.rb +33 -0
  278. data/config/snippets/reStructuredText.rb +22 -0
  279. data/config/syntax/ANTLR.rb +122 -0
  280. data/config/syntax/ASP vb.NET.rb +114 -0
  281. data/config/syntax/ASP.rb +72 -0
  282. data/config/syntax/ActionScript.rb +83 -0
  283. data/config/syntax/Active4D Config.rb +38 -0
  284. data/config/syntax/Active4D Library.rb +20 -0
  285. data/config/syntax/Active4D.rb +237 -0
  286. data/config/syntax/Ada.rb +50 -0
  287. data/config/syntax/Ant.rb +80 -0
  288. data/config/syntax/Apache.rb +148 -0
  289. data/config/syntax/AppleScript.rb +370 -0
  290. data/config/syntax/BibTeX.rb +98 -0
  291. data/config/syntax/Bison.rb +28 -0
  292. data/config/syntax/Blog - HTML.rb +38 -0
  293. data/config/syntax/Blog - Markdown.rb +36 -0
  294. data/config/syntax/Blog - Text.rb +24 -0
  295. data/config/syntax/Blog - Textile.rb +24 -0
  296. data/config/syntax/Bulletin Board.rb +202 -0
  297. data/config/syntax/C++ Qt.rb +27 -0
  298. data/config/syntax/C++.rb +159 -0
  299. data/config/syntax/C.rb +341 -0
  300. data/config/syntax/CMake Listfile.rb +87 -0
  301. data/config/syntax/CSS.rb +151 -0
  302. data/config/syntax/CSV.rb +52 -0
  303. data/config/syntax/ColdFusion.rb +92 -0
  304. data/config/syntax/Context Free.rb +133 -0
  305. data/config/syntax/D.rb +285 -0
  306. data/config/syntax/Diff.rb +59 -0
  307. data/config/syntax/DokuWiki.rb +158 -0
  308. data/config/syntax/Doxygen.rb +31 -0
  309. data/config/syntax/Dylan.rb +53 -0
  310. data/config/syntax/Eiffel.rb +52 -0
  311. data/config/syntax/Erlang.rb +632 -0
  312. data/config/syntax/F-Script.rb +56 -0
  313. data/config/syntax/FXScript.rb +140 -0
  314. data/config/syntax/Fortran - Modern.rb +147 -0
  315. data/config/syntax/Fortran - Punchcard.rb +257 -0
  316. data/config/syntax/GTD.rb +15 -0
  317. data/config/syntax/GTDalt.rb +95 -0
  318. data/config/syntax/Gettext.rb +54 -0
  319. data/config/syntax/Graphviz (DOT).rb +37 -0
  320. data/config/syntax/Greasemonkey.rb +31 -0
  321. data/config/syntax/Gri.rb +61 -0
  322. data/config/syntax/HTML (ASP).rb +23 -0
  323. data/config/syntax/HTML (ASP.net).rb +304 -0
  324. data/config/syntax/HTML (Active4D).rb +219 -0
  325. data/config/syntax/HTML (Django).rb +35 -0
  326. data/config/syntax/HTML (Erlang).rb +26 -0
  327. data/config/syntax/HTML (Mason).rb +74 -0
  328. data/config/syntax/HTML (Rails).rb +34 -0
  329. data/config/syntax/HTML (Tcl).rb +23 -0
  330. data/config/syntax/HTML (Template Toolkit).rb +88 -0
  331. data/config/syntax/HTML.rb +265 -0
  332. data/config/syntax/Haskell.rb +188 -0
  333. data/config/syntax/Inform.rb +37 -0
  334. data/config/syntax/Ini.rb +36 -0
  335. data/config/syntax/Installer Distribution Script.rb +78 -0
  336. data/config/syntax/Io.rb +59 -0
  337. data/config/syntax/JSFL.rb +24 -0
  338. data/config/syntax/JSON.rb +118 -0
  339. data/config/syntax/Java Properties.rb +21 -0
  340. data/config/syntax/Java Server Page (JSP).rb +71 -0
  341. data/config/syntax/Java.rb +288 -0
  342. data/config/syntax/JavaDoc.rb +178 -0
  343. data/config/syntax/JavaScript (Rails).rb +24 -0
  344. data/config/syntax/JavaScript.rb +193 -0
  345. data/config/syntax/Javascript YUI.rb +245 -0
  346. data/config/syntax/LaTeX Beamer.rb +30 -0
  347. data/config/syntax/LaTeX Log.rb +35 -0
  348. data/config/syntax/LaTeX Memoir.rb +46 -0
  349. data/config/syntax/LaTeX Rdaemon.rb +24 -0
  350. data/config/syntax/LaTeX.rb +424 -0
  351. data/config/syntax/Language Grammar.rb +585 -0
  352. data/config/syntax/Lex-Flex.rb +172 -0
  353. data/config/syntax/Lighttpd.rb +41 -0
  354. data/config/syntax/LilyPond.rb +383 -0
  355. data/config/syntax/Lisp.rb +43 -0
  356. data/config/syntax/Literate Haskell.rb +26 -0
  357. data/config/syntax/Logo.rb +25 -0
  358. data/config/syntax/Logtalk.rb +131 -0
  359. data/config/syntax/Lua.rb +65 -0
  360. data/config/syntax/MATLAB.rb +468 -0
  361. data/config/syntax/MEL.rb +65 -0
  362. data/config/syntax/MIPS Assembler.rb +47 -0
  363. data/config/syntax/MacPorts Portfile.rb +130 -0
  364. data/config/syntax/Mail.rb +97 -0
  365. data/config/syntax/Makefile.rb +30 -0
  366. data/config/syntax/Man.rb +16 -0
  367. data/config/syntax/Maven POM.rb +305 -0
  368. data/config/syntax/Mediawiki.rb +349 -0
  369. data/config/syntax/Modula-3.rb +40 -0
  370. data/config/syntax/MoinMoin.rb +132 -0
  371. data/config/syntax/MooTools.rb +375 -0
  372. data/config/syntax/Movable Type (MT only).rb +143 -0
  373. data/config/syntax/Movable Type.rb +156 -0
  374. data/config/syntax/Nemerle.rb +63 -0
  375. data/config/syntax/OCaml.rb +553 -0
  376. data/config/syntax/OCamllex.rb +133 -0
  377. data/config/syntax/OCamlyacc.rb +148 -0
  378. data/config/syntax/Objective-C++.rb +15 -0
  379. data/config/syntax/Objective-C.rb +423 -0
  380. data/config/syntax/Objective-J.rb +183 -0
  381. data/config/syntax/Octave.rb +215 -0
  382. data/config/syntax/OpenGL.rb +18 -0
  383. data/config/syntax/Pascal.rb +57 -0
  384. data/config/syntax/Perl HTML-Template.rb +61 -0
  385. data/config/syntax/Perl.rb +764 -0
  386. data/config/syntax/Plain Text.rb +27 -0
  387. data/config/syntax/Postscript.rb +88 -0
  388. data/config/syntax/Processing.rb +87 -0
  389. data/config/syntax/Prolog.rb +31 -0
  390. data/config/syntax/Property List.rb +463 -0
  391. data/config/syntax/Prototype & Script.aculo.us (JavaScript) Bracketed.rb +100 -0
  392. data/config/syntax/Prototype & Script.aculo.us (JavaScript).rb +56 -0
  393. data/config/syntax/Python Django.rb +25 -0
  394. data/config/syntax/Python.rb +836 -0
  395. data/config/syntax/Quake Style .cfg.rb +27 -0
  396. data/config/syntax/R Console (R.app).rb +13 -0
  397. data/config/syntax/R Console (Rdaemon) Plain.rb +30 -0
  398. data/config/syntax/R Console (Rdaemon).rb +33 -0
  399. data/config/syntax/R.rb +64 -0
  400. data/config/syntax/RJS.rb +8 -0
  401. data/config/syntax/RSpec.rb +64 -0
  402. data/config/syntax/Ragel.rb +159 -0
  403. data/config/syntax/Rd (R Documentation).rb +50 -0
  404. data/config/syntax/Regular Expressions (Oniguruma).rb +78 -0
  405. data/config/syntax/Regular Expressions (Python).rb +78 -0
  406. data/config/syntax/Release Notes.rb +38 -0
  407. data/config/syntax/Remind.rb +179 -0
  408. data/config/syntax/Rez.rb +61 -0
  409. data/config/syntax/Ruby Haml.rb +97 -0
  410. data/config/syntax/Ruby on Rails.rb +116 -0
  411. data/config/syntax/Ruby.rb +758 -0
  412. data/config/syntax/S5 Slide Show.rb +51 -0
  413. data/config/syntax/SQL (Rails).rb +17 -0
  414. data/config/syntax/SQL.rb +205 -0
  415. data/config/syntax/SSH Config.rb +25 -0
  416. data/config/syntax/SWIG.rb +47 -0
  417. data/config/syntax/SWeave.rb +57 -0
  418. data/config/syntax/Scheme.rb +280 -0
  419. data/config/syntax/Scilab.rb +30 -0
  420. data/config/syntax/Setext.rb +102 -0
  421. data/config/syntax/Shell Script (Bash).rb +454 -0
  422. data/config/syntax/Slate.rb +96 -0
  423. data/config/syntax/Smarty.rb +46 -0
  424. data/config/syntax/Standard ML - CM.rb +27 -0
  425. data/config/syntax/Standard ML.rb +119 -0
  426. data/config/syntax/Strings File.rb +33 -0
  427. data/config/syntax/TSV.rb +40 -0
  428. data/config/syntax/Tcl.rb +119 -0
  429. data/config/syntax/TeX Math.rb +37 -0
  430. data/config/syntax/TeX.rb +58 -0
  431. data/config/syntax/Textile.rb +174 -0
  432. data/config/syntax/Thrift.rb +285 -0
  433. data/config/syntax/Twiki.rb +163 -0
  434. data/config/syntax/Txt2tags.rb +70 -0
  435. data/config/syntax/Vectorscript.rb +48 -0
  436. data/config/syntax/XML strict.rb +60 -0
  437. data/config/syntax/XML.rb +117 -0
  438. data/config/syntax/XSL.rb +43 -0
  439. data/config/syntax/YAML.rb +109 -0
  440. data/config/syntax/camlp4.rb +27 -0
  441. data/config/syntax/iCalendar.rb +25 -0
  442. data/config/syntax/jQuery (JavaScript).rb +108 -0
  443. data/config/syntax/mod_perl.rb +41 -0
  444. data/config/syntax/newLisp.rb +82 -0
  445. data/config/syntax/qmake Project file.rb +87 -0
  446. data/config/syntax/reStructuredText.rb +180 -0
  447. data/config/syntax/svn-commit.tmp.rb +25 -0
  448. data/config/theme/Active4D.rb +105 -0
  449. data/config/theme/All Hallow's Eve.rb +70 -0
  450. data/config/theme/Amy.rb +141 -0
  451. data/config/theme/Blackboard.rb +90 -0
  452. data/config/theme/Brilliance Black.rb +693 -0
  453. data/config/theme/Brilliance Dull.rb +588 -0
  454. data/config/theme/Cobalt.rb +147 -0
  455. data/config/theme/Dawn.rb +113 -0
  456. data/config/theme/Eiffel.rb +113 -0
  457. data/config/theme/Embers.rb +125 -0
  458. data/config/theme/Espresso Libre.rb +104 -0
  459. data/config/theme/IDLE.rb +57 -0
  460. data/config/theme/LAZY.rb +74 -0
  461. data/config/theme/Mac Classic.rb +117 -0
  462. data/config/theme/MagicWB (Amiga).rb +97 -0
  463. data/config/theme/Pastels on Dark.rb +182 -0
  464. data/config/theme/Slush & Poppies.rb +83 -0
  465. data/config/theme/SpaceCadet.rb +44 -0
  466. data/config/theme/Sunburst.rb +172 -0
  467. data/config/theme/Twilight.rb +137 -0
  468. data/config/theme/Zenburnesque.rb +88 -0
  469. data/config/theme/iPlastic.rb +73 -0
  470. data/config/theme/newLISP dark.rb +183 -0
  471. data/config/theme/newLISP.rb +183 -0
  472. data/config/welcome +10 -14
  473. data/lib/ver.rb +272 -79
  474. data/lib/ver/action.rb +43 -0
  475. data/lib/ver/buffer.rb +229 -0
  476. data/lib/ver/buffer/console.rb +171 -0
  477. data/lib/ver/buffer/term.rb +255 -0
  478. data/lib/ver/entry.rb +120 -97
  479. data/lib/ver/exception_view.rb +11 -1
  480. data/lib/ver/executor.rb +83 -0
  481. data/lib/ver/executor/buffer.rb +31 -0
  482. data/lib/ver/executor/entry.rb +175 -0
  483. data/lib/ver/executor/fuzzy_file_finder.rb +100 -0
  484. data/lib/ver/executor/grep.rb +101 -0
  485. data/lib/ver/executor/label.rb +57 -0
  486. data/lib/ver/executor/locate.rb +20 -0
  487. data/lib/ver/executor/method.rb +80 -0
  488. data/lib/ver/executor/path.rb +45 -0
  489. data/lib/ver/executor/syntax.rb +22 -0
  490. data/lib/ver/executor/theme.rb +21 -0
  491. data/lib/ver/help.rb +0 -10
  492. data/lib/ver/help/describe_key.rb +8 -7
  493. data/lib/ver/help/help_for_help.rb +1 -1
  494. data/lib/ver/hover_completion.rb +39 -34
  495. data/lib/ver/keymap.rb +121 -158
  496. data/lib/ver/keymap/keymapped.rb +25 -0
  497. data/lib/ver/keysyms.rb +104 -0
  498. data/lib/ver/layout/notebook.rb +74 -0
  499. data/lib/ver/layout/paned.rb +184 -0
  500. data/lib/ver/layout/tiling.rb +135 -0
  501. data/lib/ver/layout/tiling/common.rb +34 -0
  502. data/lib/ver/layout/tiling/horizontal.rb +25 -0
  503. data/lib/ver/layout/tiling/vertical.rb +25 -0
  504. data/lib/ver/major_mode.rb +162 -0
  505. data/lib/ver/methods.rb +21 -22
  506. data/lib/ver/methods/autofill.rb +23 -0
  507. data/lib/ver/methods/basic.rb +53 -0
  508. data/lib/ver/methods/bookmark.rb +116 -104
  509. data/lib/ver/methods/clipboard.rb +59 -47
  510. data/lib/ver/methods/completion.rb +93 -77
  511. data/lib/ver/methods/control.rb +297 -240
  512. data/lib/ver/methods/ctags.rb +38 -29
  513. data/lib/ver/methods/delete.rb +47 -31
  514. data/lib/ver/methods/help.rb +9 -1
  515. data/lib/ver/methods/insert.rb +67 -203
  516. data/lib/ver/methods/layout.rb +122 -0
  517. data/lib/ver/methods/move.rb +229 -158
  518. data/lib/ver/methods/nano.rb +186 -0
  519. data/lib/ver/methods/open.rb +247 -53
  520. data/lib/ver/methods/preview.rb +66 -5
  521. data/lib/ver/methods/save.rb +127 -44
  522. data/lib/ver/methods/search.rb +103 -56
  523. data/lib/ver/methods/search_and_replace.rb +118 -0
  524. data/lib/ver/methods/selection.rb +443 -0
  525. data/lib/ver/methods/snippet.rb +244 -0
  526. data/lib/ver/methods/undo.rb +34 -13
  527. data/lib/ver/minibuffer.rb +293 -0
  528. data/lib/ver/minor_mode.rb +204 -0
  529. data/lib/ver/plist.rb +208 -20
  530. data/lib/ver/status.rb +76 -128
  531. data/lib/ver/status/battery.rb +147 -0
  532. data/lib/ver/status/buffer_position.rb +17 -0
  533. data/lib/ver/status/diakonos_position.rb +17 -0
  534. data/lib/ver/status/encoding.rb +13 -0
  535. data/lib/ver/status/filename.rb +13 -0
  536. data/lib/ver/status/label.rb +62 -0
  537. data/lib/ver/status/mode.rb +15 -0
  538. data/lib/ver/status/nano_help.rb +71 -0
  539. data/lib/ver/status/nano_position.rb +38 -0
  540. data/lib/ver/status/percent.rb +17 -0
  541. data/lib/ver/status/position.rb +16 -0
  542. data/lib/ver/status/separator.rb +20 -0
  543. data/lib/ver/status/short_filename.rb +13 -0
  544. data/lib/ver/status/syntax.rb +13 -0
  545. data/lib/ver/syntax.rb +15 -20
  546. data/lib/ver/syntax/detector.rb +7 -13
  547. data/lib/ver/syntax/processor.rb +4 -4
  548. data/lib/ver/text.rb +337 -170
  549. data/lib/ver/theme.rb +51 -28
  550. data/lib/ver/treeview.rb +54 -0
  551. data/lib/ver/undo.rb +37 -17
  552. data/lib/ver/vendor/better_pp_hash.rb +27 -0
  553. data/lib/ver/vendor/binary_search.rb +2 -2
  554. data/lib/ver/vendor/fuzzy_file_finder.rb +22 -8
  555. data/lib/ver/vendor/pathname.rb +26 -0
  556. data/lib/ver/vendor/textpow.rb +30 -32
  557. data/lib/ver/version.rb +1 -1
  558. data/lib/ver/widget_event.rb +49 -0
  559. data/lib/ver/widget_major_mode.rb +192 -0
  560. data/spec/helper.rb +49 -78
  561. data/spec/tm_snippet.rb +178 -0
  562. data/spec/ver/action.rb +65 -0
  563. data/spec/ver/keymap.rb +77 -0
  564. data/spec/ver/major_mode.rb +150 -0
  565. data/spec/ver/methods/move.rb +150 -0
  566. data/spec/ver/minor_mode.rb +90 -0
  567. data/spec/ver/plugin/smart_autoindent.rb +276 -0
  568. data/spec/ver/widget_major_mode.rb +69 -0
  569. data/tasks/rcov.rake +2 -3
  570. data/tasks/syntax_list.rake +28 -24
  571. data/ver.gemspec +6 -9
  572. metadata +524 -342
  573. data/TODO +0 -169
  574. data/config/preferences/ANTLR.json +0 -10
  575. data/config/preferences/ASP vb.NET.json +0 -3
  576. data/config/preferences/ASP.json +0 -15
  577. data/config/preferences/ActionScript.json +0 -755
  578. data/config/preferences/Active4D.json +0 -89
  579. data/config/preferences/Ada.json +0 -23
  580. data/config/preferences/Ant.json +0 -356
  581. data/config/preferences/Apache.json +0 -644
  582. data/config/preferences/AppleScript.json +0 -92
  583. data/config/preferences/Bison.json +0 -3
  584. data/config/preferences/Blogging.json +0 -3
  585. data/config/preferences/C.json +0 -127
  586. data/config/preferences/CMake.json +0 -41
  587. data/config/preferences/CSS.json +0 -461
  588. data/config/preferences/CTags.json +0 -3
  589. data/config/preferences/CVS.json +0 -3
  590. data/config/preferences/ColdFusion.json +0 -32
  591. data/config/preferences/D.json +0 -58
  592. data/config/preferences/Darcs.json +0 -3
  593. data/config/preferences/Diff.json +0 -67
  594. data/config/preferences/DokuWiki.json +0 -19
  595. data/config/preferences/Doxygen.json +0 -3
  596. data/config/preferences/Dylan.json +0 -3
  597. data/config/preferences/Eiffel.json +0 -59
  598. data/config/preferences/Erlang.json +0 -72
  599. data/config/preferences/Experimental.json +0 -1356
  600. data/config/preferences/F-Script.json +0 -87
  601. data/config/preferences/FXScript.json +0 -78
  602. data/config/preferences/FileMerge.json +0 -3
  603. data/config/preferences/Fortran.json +0 -158
  604. data/config/preferences/GTD2.json +0 -11
  605. data/config/preferences/GTDAlt.json +0 -20
  606. data/config/preferences/GetBundle.json +0 -3
  607. data/config/preferences/Gettext.json +0 -24
  608. data/config/preferences/Graphviz.json +0 -42
  609. data/config/preferences/Greasemonkey.json +0 -3
  610. data/config/preferences/Gri.json +0 -34
  611. data/config/preferences/HTML.json +0 -492
  612. data/config/preferences/Haskell.json +0 -72
  613. data/config/preferences/Hotkey.json +0 -3
  614. data/config/preferences/ImageBrowser.json +0 -3
  615. data/config/preferences/Inform.json +0 -3
  616. data/config/preferences/Ini.json +0 -60
  617. data/config/preferences/Installer.json +0 -3
  618. data/config/preferences/Io.json +0 -64
  619. data/config/preferences/JSON.json +0 -3
  620. data/config/preferences/Java.json +0 -86
  621. data/config/preferences/JavaDoc.json +0 -3
  622. data/config/preferences/JavaScript.json +0 -76
  623. data/config/preferences/LaTeX.json +0 -267
  624. data/config/preferences/Lex/Flex.json +0 -3
  625. data/config/preferences/Lighttpd.json +0 -3
  626. data/config/preferences/LilyPond.json +0 -77
  627. data/config/preferences/Lisp.json +0 -63
  628. data/config/preferences/Logo.json +0 -58
  629. data/config/preferences/Logtalk.json +0 -236
  630. data/config/preferences/Lua.json +0 -24
  631. data/config/preferences/MEL.json +0 -19
  632. data/config/preferences/MIPS Assembler.json +0 -26
  633. data/config/preferences/MacPorts.json +0 -3
  634. data/config/preferences/Mail.json +0 -3
  635. data/config/preferences/Make.json +0 -16
  636. data/config/preferences/Markdown.json +0 -102
  637. data/config/preferences/Math.json +0 -3
  638. data/config/preferences/Matlab.json +0 -128
  639. data/config/preferences/Maven.json +0 -308
  640. data/config/preferences/Mediawiki.json +0 -73
  641. data/config/preferences/Mercurial.json +0 -3
  642. data/config/preferences/Modula.json +0 -37
  643. data/config/preferences/MoinMoin.json +0 -52
  644. data/config/preferences/Navigation.json +0 -3
  645. data/config/preferences/Nemerle.json +0 -3
  646. data/config/preferences/OCaml Code Completion.json +0 -3
  647. data/config/preferences/OCaml.json +0 -163
  648. data/config/preferences/ODCompletion.json +0 -3
  649. data/config/preferences/Objective-C.json +0 -84
  650. data/config/preferences/OpenGL.json +0 -3331
  651. data/config/preferences/Outlines.json +0 -3
  652. data/config/preferences/Pascal.json +0 -60
  653. data/config/preferences/Perforce.json +0 -3
  654. data/config/preferences/Perl.json +0 -15
  655. data/config/preferences/PmWiki.json +0 -27
  656. data/config/preferences/Postscript.json +0 -15
  657. data/config/preferences/Processing.json +0 -32
  658. data/config/preferences/Prolog.json +0 -3
  659. data/config/preferences/Propel.json +0 -3
  660. data/config/preferences/Python.json +0 -38
  661. data/config/preferences/Quake.json +0 -15
  662. data/config/preferences/R.json +0 -33
  663. data/config/preferences/Ragel.json +0 -15
  664. data/config/preferences/Regular Expressions.json +0 -3
  665. data/config/preferences/Remind.json +0 -15
  666. data/config/preferences/Rez.json +0 -46
  667. data/config/preferences/Ruby.json +0 -98
  668. data/config/preferences/S5 Slide Show.json +0 -20
  669. data/config/preferences/SCons.json +0 -3
  670. data/config/preferences/SQL.json +0 -32
  671. data/config/preferences/SSH Config.json +0 -15
  672. data/config/preferences/SVK.json +0 -3
  673. data/config/preferences/SWIG.json +0 -3
  674. data/config/preferences/SWeave.json +0 -32
  675. data/config/preferences/Scheme.json +0 -35
  676. data/config/preferences/Scilab.json +0 -15
  677. data/config/preferences/Setext.json +0 -3
  678. data/config/preferences/Shell Script.json +0 -25
  679. data/config/preferences/Slate.json +0 -113
  680. data/config/preferences/Source.json +0 -132
  681. data/config/preferences/Subversion.json +0 -10
  682. data/config/preferences/TODO.json +0 -3
  683. data/config/preferences/Tabular.json +0 -3
  684. data/config/preferences/Tcl.json +0 -82
  685. data/config/preferences/TerminalMate.json +0 -112
  686. data/config/preferences/Text.json +0 -89
  687. data/config/preferences/TextMate.json +0 -38
  688. data/config/preferences/Textile.json +0 -76
  689. data/config/preferences/Thrift.json +0 -56
  690. data/config/preferences/Transmit.json +0 -3
  691. data/config/preferences/Twiki.json +0 -51
  692. data/config/preferences/Txt2tags.json +0 -81
  693. data/config/preferences/Vectorscript.json +0 -1280
  694. data/config/preferences/XML.json +0 -60
  695. data/config/preferences/Xcode.json +0 -3
  696. data/config/preferences/YAML.json +0 -24
  697. data/config/preferences/iCalendar.json +0 -10
  698. data/config/preferences/iTerm.json +0 -36
  699. data/config/preferences/reStructuredText.json +0 -48
  700. data/config/syntax/ANTLR.json +0 -275
  701. data/config/syntax/ASP vb.NET.json +0 -228
  702. data/config/syntax/ASP.json +0 -135
  703. data/config/syntax/ActionScript.json +0 -168
  704. data/config/syntax/Active4D Config.json +0 -86
  705. data/config/syntax/Active4D Library.json +0 -20
  706. data/config/syntax/Active4D.json +0 -418
  707. data/config/syntax/Ada.json +0 -108
  708. data/config/syntax/Ant.json +0 -196
  709. data/config/syntax/Apache.json +0 -342
  710. data/config/syntax/AppleScript.json +0 -721
  711. data/config/syntax/BibTeX.json +0 -253
  712. data/config/syntax/Bison.json +0 -59
  713. data/config/syntax/Blog - HTML.json +0 -47
  714. data/config/syntax/Blog - Markdown.json +0 -50
  715. data/config/syntax/Blog - Text.json +0 -45
  716. data/config/syntax/Blog - Textile.json +0 -45
  717. data/config/syntax/C++.json +0 -323
  718. data/config/syntax/C.json +0 -694
  719. data/config/syntax/CMake Listfile.json +0 -171
  720. data/config/syntax/CSS.json +0 -346
  721. data/config/syntax/CSV.json +0 -108
  722. data/config/syntax/ColdFusion.json +0 -204
  723. data/config/syntax/D.json +0 -560
  724. data/config/syntax/Diff.json +0 -136
  725. data/config/syntax/DokuWiki.json +0 -412
  726. data/config/syntax/Doxygen.json +0 -80
  727. data/config/syntax/Dylan.json +0 -104
  728. data/config/syntax/Eiffel.json +0 -128
  729. data/config/syntax/Erlang.json +0 -1636
  730. data/config/syntax/F-Script.json +0 -137
  731. data/config/syntax/FXScript.json +0 -260
  732. data/config/syntax/Fortran - Modern.json +0 -221
  733. data/config/syntax/Fortran - Punchcard.json +0 -468
  734. data/config/syntax/GTD.json +0 -39
  735. data/config/syntax/GTDalt.json +0 -233
  736. data/config/syntax/Gettext.json +0 -118
  737. data/config/syntax/Go.json +0 -555
  738. data/config/syntax/Graphviz (DOT).json +0 -79
  739. data/config/syntax/Greasemonkey.json +0 -56
  740. data/config/syntax/Gri.json +0 -141
  741. data/config/syntax/HTML (ASP).json +0 -45
  742. data/config/syntax/HTML (ASP.net).json +0 -736
  743. data/config/syntax/HTML (Active4D).json +0 -540
  744. data/config/syntax/HTML (Erlang).json +0 -31
  745. data/config/syntax/HTML (Tcl).json +0 -42
  746. data/config/syntax/HTML.json +0 -614
  747. data/config/syntax/Haskell.json +0 -407
  748. data/config/syntax/Inform.json +0 -80
  749. data/config/syntax/Ini.json +0 -91
  750. data/config/syntax/Installer Distribution Script.json +0 -135
  751. data/config/syntax/Io.json +0 -142
  752. data/config/syntax/JSON.json +0 -151
  753. data/config/syntax/Java Properties.json +0 -42
  754. data/config/syntax/Java Server Page (JSP).json +0 -163
  755. data/config/syntax/Java.json +0 -745
  756. data/config/syntax/JavaDoc.json +0 -435
  757. data/config/syntax/JavaScript.json +0 -446
  758. data/config/syntax/LaTeX Beamer.json +0 -65
  759. data/config/syntax/LaTeX Log.json +0 -88
  760. data/config/syntax/LaTeX Memoir.json +0 -101
  761. data/config/syntax/LaTeX.json +0 -962
  762. data/config/syntax/Lex-Flex.json +0 -396
  763. data/config/syntax/Lighttpd.json +0 -93
  764. data/config/syntax/LilyPond.json +0 -608
  765. data/config/syntax/Lisp.json +0 -101
  766. data/config/syntax/Literate Haskell.json +0 -55
  767. data/config/syntax/Logo.json +0 -48
  768. data/config/syntax/Logtalk.json +0 -289
  769. data/config/syntax/Lua.json +0 -146
  770. data/config/syntax/MATLAB.json +0 -744
  771. data/config/syntax/MEL.json +0 -161
  772. data/config/syntax/MIPS Assembler.json +0 -114
  773. data/config/syntax/MacPorts Portfile.json +0 -298
  774. data/config/syntax/Mail.json +0 -224
  775. data/config/syntax/Makefile.json +0 -66
  776. data/config/syntax/Markdown.json +0 -644
  777. data/config/syntax/Maven POM.json +0 -774
  778. data/config/syntax/Mediawiki.json +0 -736
  779. data/config/syntax/Modula-3.json +0 -80
  780. data/config/syntax/MoinMoin.json +0 -335
  781. data/config/syntax/MultiMarkdown.json +0 -41
  782. data/config/syntax/Nemerle.json +0 -128
  783. data/config/syntax/OCaml.json +0 -1391
  784. data/config/syntax/OCamllex.json +0 -307
  785. data/config/syntax/OCamlyacc.json +0 -346
  786. data/config/syntax/Objective-C++.json +0 -21
  787. data/config/syntax/Objective-C.json +0 -979
  788. data/config/syntax/Octave.json +0 -417
  789. data/config/syntax/OpenGL.json +0 -24
  790. data/config/syntax/PHP.json +0 -2184
  791. data/config/syntax/Pascal.json +0 -128
  792. data/config/syntax/Perl.json +0 -2091
  793. data/config/syntax/Plain Text.json +0 -49
  794. data/config/syntax/PmWiki.json +0 -241
  795. data/config/syntax/Postscript.json +0 -206
  796. data/config/syntax/Processing.json +0 -188
  797. data/config/syntax/Prolog.json +0 -70
  798. data/config/syntax/Python.json +0 -1934
  799. data/config/syntax/Quake Style .cfg.json +0 -54
  800. data/config/syntax/R.json +0 -157
  801. data/config/syntax/Ragel.json +0 -362
  802. data/config/syntax/Rd (R Documentation).json +0 -119
  803. data/config/syntax/Regular Expressions (Oniguruma).json +0 -186
  804. data/config/syntax/Regular Expressions (Python).json +0 -188
  805. data/config/syntax/Release Notes.json +0 -78
  806. data/config/syntax/Remind.json +0 -461
  807. data/config/syntax/Rez.json +0 -137
  808. data/config/syntax/Ruby Sass.json +0 -497
  809. data/config/syntax/Ruby.json +0 -1753
  810. data/config/syntax/S5 Slide Show.json +0 -85
  811. data/config/syntax/SQL.json +0 -435
  812. data/config/syntax/SSH Config.json +0 -55
  813. data/config/syntax/SWIG.json +0 -96
  814. data/config/syntax/SWeave.json +0 -139
  815. data/config/syntax/Scheme.json +0 -359
  816. data/config/syntax/Scilab.json +0 -69
  817. data/config/syntax/Setext.json +0 -247
  818. data/config/syntax/Shell Script (Bash).json +0 -1198
  819. data/config/syntax/Slate.json +0 -265
  820. data/config/syntax/Strings File.json +0 -53
  821. data/config/syntax/TSV.json +0 -83
  822. data/config/syntax/Tcl.json +0 -278
  823. data/config/syntax/TeX Math.json +0 -83
  824. data/config/syntax/TeX.json +0 -157
  825. data/config/syntax/Textile.json +0 -273
  826. data/config/syntax/Thrift.json +0 -641
  827. data/config/syntax/Twiki.json +0 -436
  828. data/config/syntax/Txt2tags.json +0 -154
  829. data/config/syntax/Vectorscript.json +0 -97
  830. data/config/syntax/XML strict.json +0 -148
  831. data/config/syntax/XML.json +0 -301
  832. data/config/syntax/XSL.json +0 -96
  833. data/config/syntax/YAML.json +0 -293
  834. data/config/syntax/camlp4.json +0 -63
  835. data/config/syntax/iCalendar.json +0 -51
  836. data/config/syntax/mod_perl.json +0 -72
  837. data/config/syntax/reStructuredText.json +0 -403
  838. data/config/syntax/svn-commit.tmp.json +0 -62
  839. data/config/theme/Active4D.json +0 -260
  840. data/config/theme/All Hallow's Eve.json +0 -171
  841. data/config/theme/Amy.json +0 -359
  842. data/config/theme/BBEdit.json +0 -269
  843. data/config/theme/Bespin.json +0 -322
  844. data/config/theme/Blackboard.json +0 -215
  845. data/config/theme/BoysAndGirls01.json +0 -156
  846. data/config/theme/Brilliance Black.json +0 -1695
  847. data/config/theme/Brilliance Dull.json +0 -1451
  848. data/config/theme/Classic Modified.json +0 -288
  849. data/config/theme/Cobalt.json +0 -345
  850. data/config/theme/Cool Glow.json +0 -215
  851. data/config/theme/Dawn.json +0 -258
  852. data/config/theme/Eiffel.json +0 -270
  853. data/config/theme/Espresso Libre.json +0 -247
  854. data/config/theme/Fluidvision.json +0 -272
  855. data/config/theme/IDLE.json +0 -159
  856. data/config/theme/LAZY.json +0 -178
  857. data/config/theme/Mac Classic.json +0 -277
  858. data/config/theme/MagicWB (Amiga).json +0 -231
  859. data/config/theme/Merbivore Soft.json +0 -181
  860. data/config/theme/Merbivore.json +0 -181
  861. data/config/theme/Monokai.json +0 -177
  862. data/config/theme/Notepad2.json +0 -166
  863. data/config/theme/Pastels on Dark.json +0 -437
  864. data/config/theme/RubyBlue.json +0 -226
  865. data/config/theme/Sin City 2.json +0 -361
  866. data/config/theme/Slate.json +0 -270
  867. data/config/theme/Slush & Poppies.json +0 -232
  868. data/config/theme/SpaceCadet.json +0 -143
  869. data/config/theme/Sunburst.json +0 -415
  870. data/config/theme/Twilight BG FG.json +0 -633
  871. data/config/theme/Twilight.json +0 -321
  872. data/config/theme/Whys Poignant.json +0 -119
  873. data/config/theme/Zenburnesque.json +0 -237
  874. data/config/theme/barf.json +0 -155
  875. data/config/theme/fake.json +0 -418
  876. data/config/theme/happydeluxe.json +0 -114
  877. data/config/theme/iLife 05.json +0 -393
  878. data/config/theme/iPlastic.json +0 -177
  879. data/config/theme/mintBlue Dark.json +0 -414
  880. data/config/theme/mintBlue.json +0 -415
  881. data/config/theme/monoindustrial.json +0 -276
  882. data/config/theme/starlight.json +0 -67
  883. data/lib/ver/layout.rb +0 -177
  884. data/lib/ver/methods/select.rb +0 -322
  885. data/lib/ver/methods/shortcuts.rb +0 -21
  886. data/lib/ver/methods/views.rb +0 -81
  887. data/lib/ver/mode.rb +0 -207
  888. data/lib/ver/status/context.rb +0 -166
  889. data/lib/ver/view.rb +0 -190
  890. data/lib/ver/view/console.rb +0 -171
  891. data/lib/ver/view/entry.rb +0 -32
  892. data/lib/ver/view/list.rb +0 -152
  893. data/lib/ver/view/list/buffer.rb +0 -27
  894. data/lib/ver/view/list/ex.rb +0 -71
  895. data/lib/ver/view/list/fuzzy_file_finder.rb +0 -44
  896. data/lib/ver/view/list/grep.rb +0 -53
  897. data/lib/ver/view/list/methods.rb +0 -159
  898. data/lib/ver/view/list/syntax.rb +0 -13
  899. data/lib/ver/view/list/theme.rb +0 -13
  900. data/lib/ver/view/term.rb +0 -255
  901. data/tasks/plist2json.rake +0 -35
@@ -1,128 +0,0 @@
1
- {
2
- "fileTypes": [
3
- "n"
4
- ],
5
- "foldingStartMarker": "(\\{|\\(|<\\[)",
6
- "foldingStopMarker": "(\\}|\\)|\\]>)",
7
- "keyEquivalent": "^~N",
8
- "name": "Nemerle",
9
- "patterns": [
10
- {
11
- "begin": "//",
12
- "beginCaptures": {
13
- "0": {
14
- "name": "punctuation.definition.comment.nemerle"
15
- }
16
- },
17
- "end": "$\\n?",
18
- "name": "comment.line.double-slash.nemerle"
19
- },
20
- {
21
- "begin": "/\\*",
22
- "captures": {
23
- "0": {
24
- "name": "punctuation.definition.comment.nemerle"
25
- }
26
- },
27
- "end": "\\*/",
28
- "name": "comment.block.nemerle"
29
- },
30
- {
31
- "match": "\\b(|false|null|true)\\b",
32
- "name": "constant.language.nemerle"
33
- },
34
- {
35
- "match": "\\b(([0-9]+(\\.|\\_)?[0-9]*(b|bu|d|f|L|LU|m|u|ub|UL)?)|(0(b|o|x)[0-9]+))\\b",
36
- "name": "constant.numeric.nemerle"
37
- },
38
- {
39
- "match": "\\b(catch|else|finally|for|foreach|if|match|repeat|try|unless|when|while)\\b",
40
- "name": "keyword.control.nemerle"
41
- },
42
- {
43
- "match": "(\\+|\\-|\\*|\\/|\\%)\\=?",
44
- "name": "keyword.operator.nemerle"
45
- },
46
- {
47
- "match": "\\b(\\_|as|assert|base|checked|do|fun|get|ignore|implements|in|is|lock|namespace|out|params|ref|set|syntax|throw|typeof|unchecked|using|with)\\b",
48
- "name": "keyword.other.nemerle"
49
- },
50
- {
51
- "match": "\\b(array|bool|byte|char|class|decimal|double|enum|float|int|interface|list|long|macro|module|object|sbyte|short|string|struct|type|uint|ulong|ushort|variant|void)\\b",
52
- "name": "storage.type.nemerle"
53
- },
54
- {
55
- "match": "\\b(abstract|def|delegate|event|extern|internal|mutable|override|public|private|protected|sealed|static|volatile|virtual|new)\\b",
56
- "name": "storage.modifier.nemerle"
57
- },
58
- {
59
- "match": "this",
60
- "name": "variable.language.nemerle"
61
- },
62
- {
63
- "begin": "\"",
64
- "beginCaptures": {
65
- "0": {
66
- "name": "punctuation.definition.string.begin.nemerle"
67
- }
68
- },
69
- "end": "\"",
70
- "endCaptures": {
71
- "0": {
72
- "name": "punctuation.definition.string.end.nemerle"
73
- }
74
- },
75
- "name": "string.quoted.double.nemerle",
76
- "patterns": [
77
- {
78
- "match": "\\\\(\\\\|'|\\\"|a|b|c[A-Z]+|e|f|n|r|u0+[0-9,A-Z]+|v)",
79
- "name": "constant.character.escape.nemerle"
80
- }
81
- ]
82
- },
83
- {
84
- "begin": "\\$\"",
85
- "beginCaptures": {
86
- "0": {
87
- "name": "punctuation.definition.string.begin.nemerle"
88
- }
89
- },
90
- "end": "\"",
91
- "endCaptures": {
92
- "0": {
93
- "name": "punctuation.definition.string.end.nemerle"
94
- }
95
- },
96
- "name": "string.interpolated.nemerle",
97
- "patterns": [
98
- {
99
- "match": "\\$[a-z,A-Z]+[a-z,A-Z,0-9]*( |\\+|\\-|\\*|\\/|\\%)",
100
- "name": "constant.character.escape"
101
- }
102
- ]
103
- },
104
- {
105
- "begin": "'",
106
- "beginCaptures": {
107
- "0": {
108
- "name": "punctuation.definition.string.begin.nemerle"
109
- }
110
- },
111
- "end": "'",
112
- "endCaptures": {
113
- "0": {
114
- "name": "punctuation.definition.string.end.nemerle"
115
- }
116
- },
117
- "name": "string.quoted.single.nemerle",
118
- "patterns": [
119
- {
120
- "match": "\\\\(\\\\|'|\\\"|a|b|c[A-Z]+|e|f|n|r|u0+[0-9,A-Z]+|v)",
121
- "name": "constant.character.escape"
122
- }
123
- ]
124
- }
125
- ],
126
- "scopeName": "source.nemerle",
127
- "uuid": "F563968D-4CB3-11DB-9F95-00112474B8F0"
128
- }
@@ -1,1391 +0,0 @@
1
- {
2
- "fileTypes": [
3
- "ml",
4
- "mli"
5
- ],
6
- "foldingStartMarker": "(\\b(module|class|)\\s.*?=\\s*$|\\bbegin|sig|struct|(object(\\s*\\(_?[a-z]+\\))?)\\s*$|\\bwhile\\s.*?\\bdo\\s*$|^let(?:\\s+rec)?\\s+[a-z_][a-zA-Z0-9_]*\\s+(?!=)\\S)",
7
- "foldingStopMarker": "(\\bend(\\s+in)?[ \\t]*(;{1,2}|=)?|\\bdone;?|^\\s*;;|^\\s*in)[ \\t]*$",
8
- "keyEquivalent": "^~O",
9
- "name": "OCaml",
10
- "patterns": [
11
- {
12
- "captures": {
13
- "1": {
14
- "name": "keyword.other.module-binding.ocaml"
15
- },
16
- "2": {
17
- "name": "keyword.other.module-definition.ocaml"
18
- },
19
- "3": {
20
- "name": "support.other.module.ocaml"
21
- },
22
- "4": {
23
- "name": "punctuation.separator.module-binding.ocmal"
24
- }
25
- },
26
- "match": "\\b(let)\\s+(module)\\s+([A-Z][a-zA-Z0-9'_]*)\\s*(=)",
27
- "name": "meta.module.binding"
28
- },
29
- {
30
- "begin": "\\b(let|and)\\s+(?!\\(\\*)((rec\\s+)([a-z_][a-zA-Z0-9_']*)\\b|([a-z_][a-zA-Z0-9_']*|\\([^)]+\\))(?=\\s)((?=\\s*=\\s*(?=fun(?:ction)\\b))|(?!\\s*=)))",
31
- "beginCaptures": {
32
- "1": {
33
- "name": "keyword.other.function-definition.ocaml"
34
- },
35
- "3": {
36
- "name": "keyword.other.funtion-definition.ocaml"
37
- },
38
- "4": {
39
- "name": "entity.name.function.ocaml"
40
- },
41
- "5": {
42
- "name": "entity.name.function.ocaml"
43
- }
44
- },
45
- "end": "(?:(:)\\s*([^=]+))?(?:(=)|(=)\\s*(?=fun(?:ction)\\b))",
46
- "endCaptures": {
47
- "1": {
48
- "name": "punctuation.separator.function.type-constraint.ocaml"
49
- },
50
- "2": {
51
- "name": "storage.type.ocaml"
52
- },
53
- "3": {
54
- "name": "keyword.operator.ocaml"
55
- },
56
- "4": {
57
- "name": "keyword.operator.ocaml"
58
- }
59
- },
60
- "name": "meta.function.ocaml",
61
- "patterns": [
62
- {
63
- "include": "#variables"
64
- }
65
- ]
66
- },
67
- {
68
- "begin": "(\\(|\\s)(?=fun\\s)",
69
- "beginCaptures": {
70
- "1": {
71
- "name": "punctuation.definition.function.anonymous.ocaml"
72
- }
73
- },
74
- "end": "(\\))",
75
- "endCaptures": {
76
- "1": {
77
- "name": "punctuation.definition.function.anonymous.ocaml"
78
- }
79
- },
80
- "name": "meta.function.anonymous.ocaml",
81
- "patterns": [
82
- {
83
- "begin": "(?<=(\\(|\\s))(fun)\\s",
84
- "beginCaptures": {
85
- "2": {
86
- "name": "keyword.other.function-definition.ocaml"
87
- }
88
- },
89
- "end": "(->)",
90
- "endCaptures": {
91
- "1": {
92
- "name": "punctuation.separator.function-definition.ocaml"
93
- }
94
- },
95
- "name": "meta.function.anonymous.definition.ocaml",
96
- "patterns": [
97
- {
98
- "include": "#variables"
99
- }
100
- ]
101
- },
102
- {
103
- "include": "$self"
104
- }
105
- ]
106
- },
107
- {
108
- "begin": "^\\s*(?=type\\s)",
109
- "end": "\\b(?=let|end|val)|^\\s*$",
110
- "name": "meta.type-definition-group.ocaml",
111
- "patterns": [
112
- {
113
- "begin": "\\b(type|and)\\s+([^=]*)(=)?",
114
- "beginCaptures": {
115
- "1": {
116
- "name": "keyword.other.type-definition.ocaml"
117
- },
118
- "2": {
119
- "name": "storage.type.ocaml"
120
- },
121
- "3": {
122
- "name": "punctuation.separator.type-definition.ocaml"
123
- }
124
- },
125
- "end": "(?=\\b(type|and|let|end|val)\\b)|(?=^\\s*$)",
126
- "name": "meta.type-definition.ocaml",
127
- "patterns": [
128
- {
129
- "include": "#typedefs"
130
- }
131
- ]
132
- }
133
- ]
134
- },
135
- {
136
- "begin": "\\b(with|function)(?=(\\s*$|.*->))\\b|((?<!\\S)(\\|)(?=(\\w|\\s).*->))",
137
- "beginCaptures": {
138
- "1": {
139
- "name": "keyword.control.match-definition.ocaml"
140
- },
141
- "2": {
142
- "name": "keyword.other.function-definition.ocaml"
143
- },
144
- "3": {
145
- "name": "keyword.control.match-definition.ocaml"
146
- }
147
- },
148
- "end": "(?:(->)|\\b(when)\\b|\\s(?=\\|))",
149
- "endCaptures": {
150
- "1": {
151
- "name": "punctuation.separator.match-definition.ocaml"
152
- },
153
- "2": {
154
- "name": "keyword.control.match-condition.ocaml"
155
- }
156
- },
157
- "name": "meta.pattern-match.ocaml",
158
- "patterns": [
159
- {
160
- "include": "#matchpatterns"
161
- }
162
- ]
163
- },
164
- {
165
- "captures": {
166
- "1": {
167
- "name": "keyword.other.class-type-definition.ocaml"
168
- },
169
- "2": {
170
- "name": "entity.name.type.class-type.ocaml"
171
- },
172
- "4": {
173
- "name": "storage.type.ocaml"
174
- }
175
- },
176
- "match": "^[ \\t]*(class\\s+type\\s+)((\\[\\s*('[A-Za-z][a-zA-Z0-9_']*(?:\\s*,\\s*'[A-Za-z][a-zA-Z0-9_']*)*)\\s*\\]\\s+)?[a-z_][a-zA-Z0-9'_]*)",
177
- "name": "meta.class.type-definition.ocaml"
178
- },
179
- {
180
- "begin": "^[ \\t]*(class)(?:\\s+(?!(?:virtual)\\s+))((\\[\\s*('[A-Za-z][a-zA-Z0-9_']*(?:\\s*,\\s*'[A-Za-z][a-zA-Z0-9_']*)*)\\s*\\]\\s+)?[a-z_][a-zA-Z0-9'_]*)",
181
- "beginCaptures": {
182
- "1": {
183
- "name": "keyword.other.class-definition.ocaml"
184
- },
185
- "2": {
186
- "name": "entity.name.type.class.ocaml"
187
- },
188
- "4": {
189
- "name": "storage.type.ocaml"
190
- }
191
- },
192
- "end": "(=)",
193
- "endCaptures": {
194
- "1": {
195
- "name": "keyword.operator.ocaml"
196
- }
197
- },
198
- "name": "meta.class.ocaml",
199
- "patterns": [
200
- {
201
- "include": "#variables"
202
- }
203
- ]
204
- },
205
- {
206
- "begin": "^[ \\t]*(class\\s+virtual\\s+)((\\[\\s*('[A-Za-z][a-zA-Z0-9_']*(?:\\s*,\\s*'[A-Za-z][a-zA-Z0-9_']*)*)\\s*\\]\\s+)?[a-z_][a-zA-Z0-9'_]*)",
207
- "beginCaptures": {
208
- "1": {
209
- "name": "keyword.other.class-definition.ocaml"
210
- },
211
- "2": {
212
- "name": "entity.name.type.class.ocaml"
213
- },
214
- "4": {
215
- "name": "storage.type.ocaml"
216
- }
217
- },
218
- "end": "(=)",
219
- "endCaptures": {
220
- "1": {
221
- "name": "keyword.operator.ocaml"
222
- }
223
- },
224
- "name": "meta.class.virtual.ocaml",
225
- "patterns": [
226
- {
227
- "include": "#variables"
228
- }
229
- ]
230
- },
231
- {
232
- "captures": {
233
- "1": {
234
- "name": "keyword.other.class-type-definition.ocaml"
235
- },
236
- "2": {
237
- "name": "entity.name.type.class-type.ocaml"
238
- },
239
- "4": {
240
- "name": "storage.type.ocaml"
241
- }
242
- },
243
- "match": "^[ \\t]*(class\\s+type\\s+virtual)((\\[\\s*('[A-Za-z][a-zA-Z0-9_']*(?:\\s*,\\s*'[A-Za-z][a-zA-Z0-9_']*)*)\\s*\\]\\s+)?[a-z_][a-zA-Z0-9'_]*)",
244
- "name": "meta.class.virtual.type-definition.ocaml"
245
- },
246
- {
247
- "begin": "(\\{)",
248
- "beginCaptures": {
249
- "1": {
250
- "name": "punctuation.definition.record.ocaml"
251
- }
252
- },
253
- "end": "(\\})",
254
- "endCaptures": {
255
- "1": {
256
- "name": "punctuation.definition.record.ocaml"
257
- }
258
- },
259
- "name": "meta.record.ocaml",
260
- "patterns": [
261
- {
262
- "match": "\\bwith\\b",
263
- "name": "keyword.other.language.ocaml"
264
- },
265
- {
266
- "begin": "(\\bmutable\\s+)?\\b([a-z_][a-zA-Z0-9_']*)\\s*(:)",
267
- "beginCaptures": {
268
- "1": {
269
- "name": "keyword.other.storage.modifier.ocaml"
270
- },
271
- "2": {
272
- "name": "source.ocaml"
273
- },
274
- "3": {
275
- "name": "punctuation.definition.record.ocaml"
276
- }
277
- },
278
- "end": "(;|(?=}))",
279
- "endCaptures": {
280
- "1": {
281
- "name": "keyword.operator.ocaml"
282
- }
283
- },
284
- "name": "meta.record.definition.ocaml",
285
- "patterns": [
286
- {
287
- "include": "#typedefs"
288
- }
289
- ]
290
- },
291
- {
292
- "include": "$self"
293
- }
294
- ]
295
- },
296
- {
297
- "begin": "\\b(object)\\s*(?:(\\()(_?[a-z]+)(\\)))?\\s*$",
298
- "beginCaptures": {
299
- "1": {
300
- "name": "keyword.other.object-definition.ocaml"
301
- },
302
- "2": {
303
- "name": "punctuation.definition.self-binding.ocaml"
304
- },
305
- "3": {
306
- "name": "entity.name.type.self-binding.ocaml"
307
- },
308
- "4": {
309
- "name": "punctuation.definition.self-binding.ocaml"
310
- }
311
- },
312
- "end": "\\b(end)\\b",
313
- "endCaptures": {
314
- "1": {
315
- "name": "keyword.control.object.ocaml"
316
- },
317
- "2": {
318
- "name": "punctuation.terminator.expression.ocaml"
319
- }
320
- },
321
- "name": "meta.object.ocaml",
322
- "patterns": [
323
- {
324
- "begin": "\\b(method)\\s+(virtual\\s+)?(private\\s+)?([a-z_][a-zA-Z0-9'_]*)",
325
- "beginCaptures": {
326
- "1": {
327
- "name": "keyword.other.method-definition.ocaml"
328
- },
329
- "2": {
330
- "name": "keyword.other.method-definition.ocaml"
331
- },
332
- "3": {
333
- "name": "keyword.other.method-restriction.ocaml"
334
- },
335
- "4": {
336
- "name": "entity.name.function.method.ocaml"
337
- }
338
- },
339
- "end": "(=|:)",
340
- "endCaptures": {
341
- "1": {
342
- "name": "keyword.operator.ocaml"
343
- }
344
- },
345
- "name": "meta.method.ocaml",
346
- "patterns": [
347
- {
348
- "include": "#variables"
349
- }
350
- ]
351
- },
352
- {
353
- "begin": "(constraint)\\s+([a-z_'][a-zA-Z0-9'_]*)\\s+(=)",
354
- "beginCaptures": {
355
- "1": {
356
- "name": "keyword.other.language.ocaml"
357
- },
358
- "2": {
359
- "name": "storage.type.ocaml"
360
- },
361
- "3": {
362
- "name": "keyword.operator.ocaml"
363
- }
364
- },
365
- "end": "(#[a-z_][a-zA-Z0-9'_]*)|(int|char|float|string|list|array|bool|unit|exn|option|int32|int64|nativeint|format4|lazy_t)|([a-z_][a-zA-Z0-9'_]*)\\s*$",
366
- "endCaptures": {
367
- "1": {
368
- "name": "storage.type.polymorphic-variant.ocaml"
369
- },
370
- "2": {
371
- "name": "storage.type.ocaml"
372
- },
373
- "3": {
374
- "name": "storage.type.ocaml"
375
- }
376
- },
377
- "name": "meta.object.type-constraint.ocaml"
378
- },
379
- {
380
- "include": "$self"
381
- }
382
- ]
383
- },
384
- {
385
- "captures": {
386
- "1": {
387
- "name": "punctuation.separator.method-call.ocaml"
388
- }
389
- },
390
- "match": "(?<=\\w|\\)|')(#)[a-z_][a-zA-Z0-9'_]*",
391
- "name": "meta.method-call.ocaml"
392
- },
393
- {
394
- "captures": {
395
- "1": {
396
- "name": "keyword.other.module-definition.ocaml"
397
- },
398
- "2": {
399
- "name": "entity.name.type.module.ocaml"
400
- },
401
- "3": {
402
- "name": "punctuation.separator.module-definition.ocaml"
403
- },
404
- "4": {
405
- "name": "entity.name.type.module-type.ocaml"
406
- }
407
- },
408
- "match": "^[ \\t]*(module)\\s+([A-Z_][a-zA-Z0-9'_]*)(?:\\s*(:)\\s*([A-Z][a-zA-Z0-9'_]*)?)?",
409
- "name": "meta.module.ocaml"
410
- },
411
- {
412
- "captures": {
413
- "1": {
414
- "name": "keyword.other.module-type-definition.ocaml"
415
- },
416
- "2": {
417
- "name": "entity.name.type.module-type.ocaml"
418
- }
419
- },
420
- "match": "^[ \\t]*(module\\s+type\\s+)([A-Z][a-zA-Z0-9'_]*)",
421
- "name": "meta.module.type.ocaml"
422
- },
423
- {
424
- "begin": "\\b(sig)\\b",
425
- "beginCaptures": {
426
- "1": {
427
- "name": "keyword.other.module.signature.ocaml"
428
- }
429
- },
430
- "end": "\\b(end)\\b",
431
- "endCaptures": {
432
- "1": {
433
- "name": "keyword.other.module.signature.ocaml"
434
- },
435
- "2": {
436
- "name": "punctuation.terminator.expression.ocaml"
437
- },
438
- "3": {
439
- "name": "keyword.operator.ocaml"
440
- }
441
- },
442
- "name": "meta.module.signature.ocaml",
443
- "patterns": [
444
- {
445
- "include": "#module-signature"
446
- },
447
- {
448
- "include": "$self"
449
- }
450
- ]
451
- },
452
- {
453
- "begin": "\\b(struct)\\b",
454
- "beginCaptures": {
455
- "1": {
456
- "name": "keyword.other.module.structure.ocaml"
457
- }
458
- },
459
- "end": "\\b(end)\\b",
460
- "endCaptures": {
461
- "1": {
462
- "name": "keyword.other.module.structure.ocaml"
463
- }
464
- },
465
- "name": "meta.module.structure.ocaml",
466
- "patterns": [
467
- {
468
- "include": "$self"
469
- }
470
- ]
471
- },
472
- {
473
- "include": "#moduleref"
474
- },
475
- {
476
- "begin": "\\b(open)\\s+([A-Z][a-zA-Z0-9'_]*)(?=(\\.[A-Z][a-zA-Z0-9_]*)*)",
477
- "beginCaptures": {
478
- "1": {
479
- "name": "keyword.other.ocaml"
480
- },
481
- "2": {
482
- "name": "support.other.module.ocaml"
483
- }
484
- },
485
- "end": "(\\s|$)",
486
- "name": "meta.module.open.ocaml",
487
- "patterns": [
488
- {
489
- "captures": {
490
- "1": {
491
- "name": "punctuation.separator.module-reference.ocaml"
492
- }
493
- },
494
- "match": "(\\.)([A-Z][a-zA-Z0-9'_]*)",
495
- "name": "support.other.module.ocaml"
496
- }
497
- ]
498
- },
499
- {
500
- "captures": {
501
- "1": {
502
- "name": "keyword.other.ocaml"
503
- },
504
- "2": {
505
- "name": "entity.name.type.exception.ocaml"
506
- }
507
- },
508
- "match": "\\b(exception)\\s+([A-Z][a-zA-Z0-9'_]*)\\b",
509
- "name": "meta.exception.ocaml"
510
- },
511
- {
512
- "begin": "(?=(\\[<)(?![^\\[]+?[^>]]))",
513
- "end": "(>])",
514
- "endCaptures": {
515
- "1": {
516
- "name": "punctuation.definition.camlp4-stream.ocaml"
517
- }
518
- },
519
- "name": "source.camlp4.embedded.ocaml",
520
- "patterns": [
521
- {
522
- "include": "source.camlp4.ocaml"
523
- }
524
- ]
525
- },
526
- {
527
- "include": "#strings"
528
- },
529
- {
530
- "include": "#constants"
531
- },
532
- {
533
- "include": "#comments"
534
- },
535
- {
536
- "include": "#lists"
537
- },
538
- {
539
- "include": "#arrays"
540
- },
541
- {
542
- "begin": "(\\()(?=(~[a-z][a-zA-Z0-9_]*:|(\"(\\\\\"|[^\"])*\")|[^\\(\\)~\"])+(?<!:)(:>|:(?![:=])))",
543
- "beginCaptures": {
544
- "1": {
545
- "name": "punctuation.section.type-constraint.ocaml"
546
- }
547
- },
548
- "end": "(?<!:)(:>|:(?![:=]))(.*?)(\\))",
549
- "endCaptures": {
550
- "1": {
551
- "name": "punctuation.separator.type-constraint.ocaml"
552
- },
553
- "2": {
554
- "name": "storage.type.ocaml"
555
- },
556
- "3": {
557
- "name": "punctuation.section.type-constraint.ocaml"
558
- }
559
- },
560
- "name": "meta.type-constraint.ocaml",
561
- "patterns": [
562
- {
563
- "include": "$self"
564
- }
565
- ]
566
- },
567
- {
568
- "match": "^[ \\t]*#[a-zA-Z]+",
569
- "name": "keyword.other.directive.ocaml"
570
- },
571
- {
572
- "match": "^[ \\t]*#[0-9]*",
573
- "name": "keyword.other.directive.line-number.ocaml"
574
- },
575
- {
576
- "include": "#storagetypes"
577
- },
578
- {
579
- "match": "\\b(mutable|ref)\\b",
580
- "name": "keyword.other.storage.modifier.ocaml"
581
- },
582
- {
583
- "match": "`[A-Za-z][a-zA-Z0-9'_]*\\b",
584
- "name": "entity.name.type.variant.polymorphic.ocaml"
585
- },
586
- {
587
- "match": "\\b[A-Z][a-zA-Z0-9'_]*\\b",
588
- "name": "entity.name.type.variant.ocaml"
589
- },
590
- {
591
- "match": "!=|:=|>|<",
592
- "name": "keyword.operator.symbol.ocaml"
593
- },
594
- {
595
- "match": "[*+/-]\\.",
596
- "name": "keyword.operator.infix.floating-point.ocaml"
597
- },
598
- {
599
- "match": "~-\\.",
600
- "name": "keyword.operator.prefix.floating-point.ocaml"
601
- },
602
- {
603
- "match": "::",
604
- "name": "punctuation.definition.list.constructor.ocaml"
605
- },
606
- {
607
- "match": ";;",
608
- "name": "punctuation.terminator.expression.ocaml"
609
- },
610
- {
611
- "match": ";",
612
- "name": "punctuation.separator.ocaml"
613
- },
614
- {
615
- "match": "->",
616
- "name": "punctuation.separator.function-return.ocaml"
617
- },
618
- {
619
- "match": "[=<>@^&+\\-*/$%|][|!$%&*+./:<=>?@^~-]*",
620
- "name": "keyword.operator.infix.ocaml"
621
- },
622
- {
623
- "match": "\\bnot\\b|!|[!\\?~][!$%&*+./:<=>?@^~-]+",
624
- "name": "keyword.operator.prefix.ocaml"
625
- },
626
- {
627
- "captures": {
628
- "1": {
629
- "name": "punctuation.separator.argument-label.ocaml"
630
- }
631
- },
632
- "match": "~[a-z][a-z0-9'_]*(:)?",
633
- "name": "entity.name.tag.label.ocaml"
634
- },
635
- {
636
- "begin": "\\b(begin)\\b",
637
- "beginCaptures": {
638
- "1": {
639
- "name": "keyword.control.begin-end.ocaml"
640
- }
641
- },
642
- "end": "\\b(end)\\b",
643
- "endCaptures": {
644
- "1": {
645
- "name": "keyword.control.begin-end.ocaml"
646
- }
647
- },
648
- "name": "meta.begin-end-group.ocaml",
649
- "patterns": [
650
- {
651
- "include": "$self"
652
- }
653
- ]
654
- },
655
- {
656
- "begin": "\\b(for)\\b",
657
- "beginCaptures": {
658
- "1": {
659
- "name": "keyword.control.for-loop.ocaml"
660
- }
661
- },
662
- "end": "\\b(done)\\b",
663
- "endCaptures": {
664
- "1": {
665
- "name": "keyword.control.for-loop.ocaml"
666
- }
667
- },
668
- "name": "meta.for-loop.ocaml",
669
- "patterns": [
670
- {
671
- "match": "\\bdo\\b",
672
- "name": "keyword.control.loop.ocaml"
673
- },
674
- {
675
- "include": "$self"
676
- }
677
- ]
678
- },
679
- {
680
- "begin": "\\b(while)\\b",
681
- "beginCaptures": {
682
- "1": {
683
- "name": "keyword.control.while-loop.ocaml"
684
- }
685
- },
686
- "end": "\\b(done)\\b",
687
- "endCaptures": {
688
- "1": {
689
- "name": "keyword.control.while-loop.ocaml"
690
- }
691
- },
692
- "name": "meta.while-loop.ocaml",
693
- "patterns": [
694
- {
695
- "match": "\\bdo\\b",
696
- "name": "keyword.control.loop.ocaml"
697
- },
698
- {
699
- "include": "$self"
700
- }
701
- ]
702
- },
703
- {
704
- "begin": "\\(",
705
- "end": "\\)",
706
- "name": "meta.paren-group.ocaml",
707
- "patterns": [
708
- {
709
- "include": "$self"
710
- }
711
- ]
712
- },
713
- {
714
- "match": "\\b(and|land|lor|lsl|lsr|lxor|mod|or)\\b",
715
- "name": "keyword.operator.ocaml"
716
- },
717
- {
718
- "match": "\\b(downto|if|else|match|then|to|when|with|try)\\b",
719
- "name": "keyword.control.ocaml"
720
- },
721
- {
722
- "match": "\\b(as|assert|class|constraint|exception|functor|in|include|inherit|initializer|lazy|let|mod|module|mutable|new|object|open|private|rec|sig|struct|type|virtual)\\b",
723
- "name": "keyword.other.ocaml"
724
- },
725
- {
726
- "include": "#module-signature"
727
- },
728
- {
729
- "match": "(\u2019|\u2018|\u201c|\u201d)",
730
- "name": "invalid.illegal.unrecognized-character.ocaml"
731
- }
732
- ],
733
- "repository": {
734
- "arrays": {
735
- "patterns": [
736
- {
737
- "begin": "(\\[\\|)",
738
- "beginCaptures": {
739
- "1": {
740
- "name": "punctuation.definition.array.begin.ocaml"
741
- }
742
- },
743
- "end": "(\\|])",
744
- "endCaptures": {
745
- "1": {
746
- "name": "punctuation.definition.array.end.ocaml"
747
- }
748
- },
749
- "name": "meta.array.ocaml",
750
- "patterns": [
751
- {
752
- "include": "#arrays"
753
- },
754
- {
755
- "include": "$self"
756
- }
757
- ]
758
- }
759
- ]
760
- },
761
- "comments": {
762
- "patterns": [
763
- {
764
- "captures": {
765
- "1": {
766
- "name": "comment.block.empty.ocaml"
767
- }
768
- },
769
- "match": "\\(\\*+(\\*)\\)",
770
- "name": "comment.block.ocaml"
771
- },
772
- {
773
- "begin": "\\(\\*",
774
- "end": "\\*\\)",
775
- "name": "comment.block.ocaml",
776
- "patterns": [
777
- {
778
- "include": "#comments"
779
- }
780
- ]
781
- },
782
- {
783
- "begin": "(?=[^\\\\])(\")",
784
- "end": "\"",
785
- "name": "comment.block.string.quoted.double.ocaml",
786
- "patterns": [
787
- {
788
- "match": "\\\\(x[a-fA-F0-9][a-fA-F0-9]|[0-2]\\d\\d|[bnrt'\"\\\\])",
789
- "name": "comment.block.string.constant.character.escape.ocaml"
790
- }
791
- ]
792
- }
793
- ]
794
- },
795
- "constants": {
796
- "patterns": [
797
- {
798
- "captures": {
799
- "1": {
800
- "name": "meta.empty-typing-pair.ocaml"
801
- },
802
- "2": {
803
- "name": "meta.empty-typing-pair.parens.ocaml"
804
- },
805
- "3": {
806
- "name": "meta.empty-typing-pair.ocaml"
807
- }
808
- },
809
- "match": "(?:\\[\\s*(\\])|\\((\\))|\\(\\s*(\\)))",
810
- "name": "constant.language.pseudo-variable.ocaml"
811
- },
812
- {
813
- "match": "\\b(true|false)\\b",
814
- "name": "constant.language.boolean.ocaml"
815
- },
816
- {
817
- "match": "\\b-?[0-9][0-9_]*((\\.([0-9][0-9_]*([eE][+-]??[0-9][0-9_]*)?)?)|([eE][+-]??[0-9][0-9_]*))",
818
- "name": "constant.numeric.floating-point.ocaml"
819
- },
820
- {
821
- "match": "\\b(-?((0(x|X)[0-9a-fA-F][0-9a-fA-F_]*)|(0(o|O)[0-7][0-7_]*)|(0(b|B)[01][01_]*)|([0-9][0-9_]*)))n",
822
- "name": "constant.numeric.integer.nativeint.ocaml"
823
- },
824
- {
825
- "match": "\\b(-?((0(x|X)[0-9a-fA-F][0-9a-fA-F_]*)|(0(o|O)[0-7][0-7_]*)|(0(b|B)[01][01_]*)|([0-9][0-9_]*)))L",
826
- "name": "constant.numeric.integer.int64.ocaml"
827
- },
828
- {
829
- "match": "\\b(-?((0(x|X)[0-9a-fA-F][0-9a-fA-F_]*)|(0(o|O)[0-7][0-7_]*)|(0(b|B)[01][01_]*)|([0-9][0-9_]*)))l",
830
- "name": "constant.numeric.integer.int32.ocaml"
831
- },
832
- {
833
- "match": "\\b(-?((0(x|X)[0-9a-fA-F][0-9a-fA-F_]*)|(0(o|O)[0-7][0-7_]*)|(0(b|B)[01][01_]*)|([0-9][0-9_]*)))",
834
- "name": "constant.numeric.integer.ocaml"
835
- },
836
- {
837
- "match": "'(.|\\\\(x[a-fA-F0-9][a-fA-F0-9]|[0-2]\\d\\d|[bnrt'\"\\\\]))'",
838
- "name": "constant.character.ocaml"
839
- }
840
- ]
841
- },
842
- "definite_storagetypes": {
843
- "patterns": [
844
- {
845
- "include": "#storagetypes"
846
- },
847
- {
848
- "match": "\\b[a-zA-Z0-9'_]+\\b",
849
- "name": "storage.type.ocaml"
850
- }
851
- ]
852
- },
853
- "lists": {
854
- "patterns": [
855
- {
856
- "begin": "(\\[)(?!\\||<|>)",
857
- "beginCaptures": {
858
- "1": {
859
- "name": "punctuation.definition.list.begin.ocaml"
860
- }
861
- },
862
- "end": "(?<!\\||>)(])",
863
- "endCaptures": {
864
- "1": {
865
- "name": "punctuation.definition.list.end.ocaml"
866
- }
867
- },
868
- "name": "meta.list.ocaml",
869
- "patterns": [
870
- {
871
- "include": "#lists"
872
- },
873
- {
874
- "include": "$self"
875
- }
876
- ]
877
- }
878
- ]
879
- },
880
- "matchpatterns": {
881
- "patterns": [
882
- {
883
- "match": "\\b_\\b",
884
- "name": "constant.language.universal-match.ocaml"
885
- },
886
- {
887
- "match": "\\|(?=\\s*\\S)",
888
- "name": "punctuation.separator.match-pattern.ocaml"
889
- },
890
- {
891
- "begin": "(\\()(?=(?!=.*?->).*?\\|)",
892
- "beginCaptures": {
893
- "1": {
894
- "name": "punctuation.definition.match-option.ocaml"
895
- }
896
- },
897
- "end": "(\\))",
898
- "endCaptures": {
899
- "1": {
900
- "name": "punctuation.definition.match-option.ocaml"
901
- }
902
- },
903
- "name": "meta.match-option.ocaml",
904
- "patterns": [
905
- {
906
- "match": "\\|",
907
- "name": "punctuation.separator.match-option.ocaml"
908
- },
909
- {
910
- "include": "#matchpatterns"
911
- }
912
- ]
913
- },
914
- {
915
- "include": "#moduleref"
916
- },
917
- {
918
- "include": "#constants"
919
- },
920
- {
921
- "include": "#variables"
922
- },
923
- {
924
- "include": "$self"
925
- }
926
- ]
927
- },
928
- "module-signature": {
929
- "patterns": [
930
- {
931
- "begin": "(val)\\s+([a-z_][a-zA-Z0-9_']*)\\s*(:)",
932
- "beginCaptures": {
933
- "1": {
934
- "name": "keyword.other.ocaml"
935
- },
936
- "2": {
937
- "name": "entity.name.type.value-signature.ocaml"
938
- },
939
- "3": {
940
- "name": "punctuation.separator.type-constraint.ocaml"
941
- }
942
- },
943
- "end": "(?=\\b(type|val|external|class|module|end)\\b)|^\\s*$",
944
- "name": "meta.module.signature.val.ocaml",
945
- "patterns": [
946
- {
947
- "captures": {
948
- "1": {
949
- "name": "punctuation.definition.optional-parameter.ocaml"
950
- },
951
- "2": {
952
- "name": "entity.name.tag.label.optional.ocaml"
953
- },
954
- "3": {
955
- "name": "punctuation.separator.optional-parameter.ocaml"
956
- }
957
- },
958
- "match": "(\\?)([a-z][a-zA-Z0-9_]*)\\s*(:)",
959
- "name": "variable.parameter.ameter.optional.ocaml"
960
- },
961
- {
962
- "begin": "([a-z][a-zA-Z0-9'_]*)\\s*(:)\\s*",
963
- "beginCaptures": {
964
- "1": {
965
- "name": "entity.name.tag.label.ocaml"
966
- },
967
- "2": {
968
- "name": "punctuation.separator.label.ocaml"
969
- },
970
- "3": {
971
- "name": "storage.type.ocaml"
972
- }
973
- },
974
- "end": "\\s",
975
- "name": "variable.parameter.labeled.ocaml",
976
- "patterns": [
977
- {
978
- "include": "#definite_storagetypes"
979
- }
980
- ]
981
- },
982
- {
983
- "include": "#typedefs"
984
- }
985
- ]
986
- },
987
- {
988
- "begin": "(external)\\s+([a-z_][a-zA-Z0-9_']*)\\s*(:)",
989
- "beginCaptures": {
990
- "1": {
991
- "name": "keyword.other.ocaml"
992
- },
993
- "2": {
994
- "name": "entity.name.type.external-signature.ocaml"
995
- },
996
- "3": {
997
- "name": "punctuation.separator.type-constraint.ocaml"
998
- }
999
- },
1000
- "end": "(?=\\b(type|val|external|class|module|let|end)\\b)|^\\s*$",
1001
- "name": "meta.module.signature.external.ocaml",
1002
- "patterns": [
1003
- {
1004
- "captures": {
1005
- "1": {
1006
- "name": "punctuation.definition.optional-parameter.ocaml"
1007
- },
1008
- "2": {
1009
- "name": "entity.name.tag.label.optional.ocaml"
1010
- },
1011
- "3": {
1012
- "name": "punctuation.separator.optional-parameter.ocaml"
1013
- }
1014
- },
1015
- "match": "(\\?)([a-z][a-zA-Z0-9_]*)\\s*(:)",
1016
- "name": "variable.parameter.optional.ocaml"
1017
- },
1018
- {
1019
- "begin": "(~)([a-z][a-zA-Z0-9'_]*)\\s*(:)\\s*",
1020
- "beginCaptures": {
1021
- "1": {
1022
- "name": "punctuation.definition.labeled-parameter.ocaml"
1023
- },
1024
- "2": {
1025
- "name": "entity.name.tag.label.ocaml"
1026
- },
1027
- "3": {
1028
- "name": "punctuation.separator.label.ocaml"
1029
- }
1030
- },
1031
- "end": "\\s",
1032
- "name": "variable.parameter.labeled.ocaml",
1033
- "patterns": [
1034
- {
1035
- "include": "#variables"
1036
- }
1037
- ]
1038
- },
1039
- {
1040
- "include": "#strings"
1041
- },
1042
- {
1043
- "include": "#typedefs"
1044
- }
1045
- ]
1046
- }
1047
- ]
1048
- },
1049
- "moduleref": {
1050
- "patterns": [
1051
- {
1052
- "beginCaptures": {
1053
- "1": {
1054
- "name": "support.other.module.ocaml"
1055
- },
1056
- "2": {
1057
- "name": "punctuation.separator.module-reference.ocaml"
1058
- }
1059
- },
1060
- "match": "\\b([A-Z][a-zA-Z0-9'_]*)(\\.)",
1061
- "name": "meta.module-reference.ocaml"
1062
- }
1063
- ]
1064
- },
1065
- "storagetypes": {
1066
- "patterns": [
1067
- {
1068
- "match": "\\b(int|char|float|string|list|array|bool|unit|exn|option|int32|int64|nativeint|format4|lazy_t)\\b",
1069
- "name": "storage.type.ocaml"
1070
- },
1071
- {
1072
- "match": "#[a-z_][a-zA-Z0-9_]*",
1073
- "name": "storage.type.variant.polymorphic.ocaml"
1074
- }
1075
- ]
1076
- },
1077
- "strings": {
1078
- "patterns": [
1079
- {
1080
- "begin": "(?=[^\\\\])(\")",
1081
- "beginCaptures": {
1082
- "1": {
1083
- "name": "punctuation.definition.string.begin.ocaml"
1084
- }
1085
- },
1086
- "end": "(\")",
1087
- "endCaptures": {
1088
- "1": {
1089
- "name": "punctuation.definition.string.end.ocaml"
1090
- }
1091
- },
1092
- "name": "string.quoted.double.ocaml",
1093
- "patterns": [
1094
- {
1095
- "match": "\\\\$[ \\t]*",
1096
- "name": "punctuation.separator.string.ignore-eol.ocaml"
1097
- },
1098
- {
1099
- "match": "\\\\(x[a-fA-F0-9][a-fA-F0-9]|[0-2]\\d\\d|[bnrt'\"\\\\])",
1100
- "name": "constant.character.string.escape.ocaml"
1101
- },
1102
- {
1103
- "match": "\\\\[\\|\\(\\)1-9$^.*+?\\[\\]]",
1104
- "name": "constant.character.regexp.escape.ocaml"
1105
- },
1106
- {
1107
- "match": "\\\\(?!(x[a-fA-F0-9][a-fA-F0-9]|[0-2]\\d\\d|[bnrt'\"\\\\]|[\\|\\(\\)1-9$^.*+?\\[\\]]|$[ \\t]*))(?:.)",
1108
- "name": "invalid.illegal.character.string.escape"
1109
- }
1110
- ]
1111
- }
1112
- ]
1113
- },
1114
- "typedefs": {
1115
- "patterns": [
1116
- {
1117
- "match": "\\|",
1118
- "name": "punctuation.separator.variant-definition.ocaml"
1119
- },
1120
- {
1121
- "include": "#comments"
1122
- },
1123
- {
1124
- "begin": "\\(",
1125
- "end": "\\)",
1126
- "name": "meta.paren-group.ocaml",
1127
- "patterns": [
1128
- {
1129
- "include": "#typedefs"
1130
- }
1131
- ]
1132
- },
1133
- {
1134
- "match": "\\bof\\b",
1135
- "name": "keyword.other.ocaml"
1136
- },
1137
- {
1138
- "include": "#storagetypes"
1139
- },
1140
- {
1141
- "match": "(?<=\\s|\\()['a-z_][a-zA-Z0-9_]*\\b",
1142
- "name": "storage.type.ocaml"
1143
- },
1144
- {
1145
- "captures": {
1146
- "1": {
1147
- "name": "support.other.module.ocaml"
1148
- },
1149
- "2": {
1150
- "name": "storage.type.module.ocaml"
1151
- }
1152
- },
1153
- "match": "\\b((?:[A-Z][a-zA-Z0-9'_]*)(?:\\.[A-Z][a-zA-Z0-9'_]+)*)(\\.[a-zA-Z0-9'_]+)",
1154
- "name": "meta.module.type.ocaml"
1155
- },
1156
- {
1157
- "begin": "(\\[(>|<)?)",
1158
- "beginCaptures": {
1159
- "1": {
1160
- "name": "punctuation.definition.polymorphic-variant.ocaml"
1161
- }
1162
- },
1163
- "end": "(\\])",
1164
- "endCaptures": {
1165
- "1": {
1166
- "name": "punctuation.definition.polymorphic-variant.ocaml"
1167
- }
1168
- },
1169
- "name": "meta.polymorphic-variant.definition.ocaml",
1170
- "patterns": [
1171
- {
1172
- "include": "#typedefs"
1173
- }
1174
- ]
1175
- },
1176
- {
1177
- "include": "$self"
1178
- },
1179
- {
1180
- "match": "\\|",
1181
- "name": "punctuation.separator.algebraic-type.ocaml"
1182
- }
1183
- ]
1184
- },
1185
- "variables": {
1186
- "patterns": [
1187
- {
1188
- "match": "\\(\\)",
1189
- "name": "variable.parameter.unit.ocaml"
1190
- },
1191
- {
1192
- "include": "#constants"
1193
- },
1194
- {
1195
- "include": "#moduleref"
1196
- },
1197
- {
1198
- "begin": "(~)([a-z][a-zA-Z0-9'_]*)(\\s*:\\s*)?",
1199
- "beginCaptures": {
1200
- "1": {
1201
- "name": "punctuation.definition.labeled-parameter.ocaml"
1202
- },
1203
- "2": {
1204
- "name": "entity.name.tag.label.ocaml"
1205
- },
1206
- "3": {
1207
- "name": "punctuation.separator.label.ocaml"
1208
- }
1209
- },
1210
- "end": "(?=(->|\\s))",
1211
- "name": "variable.parameter.labeled.ocaml",
1212
- "patterns": [
1213
- {
1214
- "include": "#variables"
1215
- }
1216
- ]
1217
- },
1218
- {
1219
- "captures": {
1220
- "1": {
1221
- "name": "punctuation.definition.optional-parameter.ocaml"
1222
- },
1223
- "2": {
1224
- "name": "entity.name.tag.label.optional.ocaml"
1225
- }
1226
- },
1227
- "match": "(\\?)([a-z][a-zA-Z0-9_]*)",
1228
- "name": "variable.parameter.optional.ocaml"
1229
- },
1230
- {
1231
- "begin": "(\\?)(\\()([a-z_][a-zA-Z0-9'_]*)\\s*(=)",
1232
- "beginCaptures": {
1233
- "1": {
1234
- "name": "punctuation.definition.optional-parameter.ocaml"
1235
- },
1236
- "2": {
1237
- "name": "punctuation.definition.optional-parameter.ocaml"
1238
- },
1239
- "3": {
1240
- "name": "entity.name.tag.label.optional.ocaml"
1241
- },
1242
- "4": {
1243
- "name": "punctuation.separator.optional-parameter-assignment.ocaml"
1244
- }
1245
- },
1246
- "end": "(\\))",
1247
- "endCaptures": {
1248
- "1": {
1249
- "name": "punctuation.definition.optional-parameter.ocaml"
1250
- }
1251
- },
1252
- "name": "variable.parameter.optional.ocaml",
1253
- "patterns": [
1254
- {
1255
- "include": "$self"
1256
- }
1257
- ]
1258
- },
1259
- {
1260
- "begin": "(\\()(?=(~[a-z][a-zA-Z0-9_]*:|(\"(\\\\\"|[^\"])*\")|[^\\(\\)~\"])+(?<!:)(:>|:(?![:=])))",
1261
- "beginCaptures": {
1262
- "1": {
1263
- "name": "punctuation.section.type-constraint.ocaml"
1264
- }
1265
- },
1266
- "end": "(\\))",
1267
- "endCaptures": {
1268
- "1": {
1269
- "name": "punctuation.section.type-constraint.ocaml"
1270
- }
1271
- },
1272
- "name": "meta.parameter.type-constrained.ocaml",
1273
- "patterns": [
1274
- {
1275
- "begin": "(?<!:)(:>|:(?![:=]))",
1276
- "beginCaptures": {
1277
- "1": {
1278
- "name": "punctuation.separator.type-constraint.ocaml"
1279
- }
1280
- },
1281
- "end": "(?=\\))",
1282
- "name": "storage.type.ocaml",
1283
- "patterns": [
1284
- {
1285
- "begin": "\\(",
1286
- "end": "\\)",
1287
- "name": "meta.paren.group"
1288
- }
1289
- ]
1290
- },
1291
- {
1292
- "include": "#variables"
1293
- }
1294
- ]
1295
- },
1296
- {
1297
- "include": "#comments"
1298
- },
1299
- {
1300
- "begin": "\\(",
1301
- "end": "\\)",
1302
- "name": "meta.paren-group.ocaml",
1303
- "patterns": [
1304
- {
1305
- "include": "#variables"
1306
- }
1307
- ]
1308
- },
1309
- {
1310
- "begin": "(\\()",
1311
- "beginCaptures": {
1312
- "1": {
1313
- "name": "punctuation.definition.tuple.ocaml"
1314
- }
1315
- },
1316
- "end": "(\\))",
1317
- "endCaptures": {
1318
- "1": {
1319
- "name": "punctuation.definition.tuple.ocaml"
1320
- }
1321
- },
1322
- "name": "variable.parameter.tuple.ocaml",
1323
- "patterns": [
1324
- {
1325
- "include": "#matchpatterns"
1326
- },
1327
- {
1328
- "include": "#variables"
1329
- },
1330
- {
1331
- "match": ",",
1332
- "name": "punctuation.separator.tuple.ocaml"
1333
- }
1334
- ]
1335
- },
1336
- {
1337
- "begin": "(\\{)",
1338
- "beginCaptures": {
1339
- "1": {
1340
- "name": "punctuation.definition.record.ocaml"
1341
- }
1342
- },
1343
- "end": "(\\})",
1344
- "endCaptures": {
1345
- "1": {
1346
- "name": "punctuation.definition.record.ocaml"
1347
- }
1348
- },
1349
- "name": "variable.parameter.record.ocaml",
1350
- "patterns": [
1351
- {
1352
- "include": "#moduleref"
1353
- },
1354
- {
1355
- "begin": "\\b([a-z][a-zA-Z0-9'_]*)\\s*(=)",
1356
- "beginCaptures": {
1357
- "1": {
1358
- "name": "entity.name.tag.record.ocaml"
1359
- },
1360
- "2": {
1361
- "name": "punctuation.separator.record.field-assignment.ocaml"
1362
- }
1363
- },
1364
- "end": "(;)|(?=\\})",
1365
- "endCaptures": {
1366
- "1": {
1367
- "name": "punctuation.separator.record.ocaml"
1368
- }
1369
- },
1370
- "name": "meta.recordfield.match.ocaml",
1371
- "patterns": [
1372
- {
1373
- "include": "#matchpatterns"
1374
- }
1375
- ]
1376
- }
1377
- ]
1378
- },
1379
- {
1380
- "include": "#storagetypes"
1381
- },
1382
- {
1383
- "match": "\\b[a-z_][a-zA-Z0-9'_]*",
1384
- "name": "variable.parameter.ocaml"
1385
- }
1386
- ]
1387
- }
1388
- },
1389
- "scopeName": "source.ocaml",
1390
- "uuid": "F816FA69-6EE8-11D9-BF2D-000D93589AF6"
1391
- }