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,188 +0,0 @@
1
- {
2
- "fileTypes": [
3
- "pde"
4
- ],
5
- "foldingStartMarker": "(/\\*\\*|\\{\\s*$)",
6
- "foldingStopMarker": "(\\*\\*/|^\\s*\\})",
7
- "keyEquivalent": "^~P",
8
- "name": "Processing",
9
- "patterns": [
10
- {
11
- "match": "\\b(abs|acos|alpha|alpha|ambient|ambientLight|append|applyMatrix|arc|asin|atan2|atan|background|beginCamera|beginShape|bezier|bezierDetail|bezierPoint|bezierTangent|bezierVertex|binary|blend|blend|blue|boolean|box|brightness|byte|cache|camera|ceil|char|charAt|color|colorMode|concat|constrain|contract|copy|copy|cos|createFont|cursor|curve|curveDetail|curvePoint|curveSegments|curveTightness|curveVertex|day|degrees|delay|directionalLight|dist|duration|ellipse|ellipseMode|emissive|endCamera|endShape|equals|exp|expand|fill|filter|filter|float|floor|frameRate|frustum|get|get|green|hex|hint|hour|hue|image|imageMode|indexOf|int|join|keyPressed|keyReleased|length|lerp|lightFalloff|lightSpecular|lights|line|link|list|loadBytes|loadFont|loadImage|loadPixels|loadSound|loadStrings|log|lookat|loop|loop|mag|mask|max|millis|min|minute|modelX|modelY|modelZ|month|mouseDragged|mouseMoved|mousePressed|mouseReleased|nf|nfc|nfp|nfs|noCursor|noFill|noLoop|noLoop|noSmooth|noStroke|noTint|noise|noiseDetail|noiseSeed|normal|open|openStream|ortho|param|pause|perspective|play|point|pointLight|popMatrix|pow|print|printCamera|printMatrix|printProjection|println|pushMatrix|quad|radians|random|randomSeed|rect|rectMode|red|redraw|resetMatrix|reverse|rotate|rotateX|rotateY|rotateZ|round|saturation|save|saveBytes|saveFrame|saveStrings|scale|screenX|screenY|screenZ|second|set|set|shininess|shorten|sin|size|smooth|sort|specular|sphere|sphereDetail|splice|split|spotLight|sq|sqrt|status|stop|str|stroke|strokeCap|strokeJoin|strokeWeight|subset|substring|switch|tan|text|textAlign|textAscent|textDescent|textFont|textLeading|textMode|textSize|textWidth|texture|textureMode|time|tint|toLowerCase|toUpperCase|translate|triangle|trim|unHint|unbinary|unhex|updatePixels|vertex|volume|year|draw|setup)\\b",
12
- "name": "support.function.processing"
13
- },
14
- {
15
- "captures": {
16
- "0": {
17
- "name": "punctuation.definition.comment.processing"
18
- }
19
- },
20
- "match": "/\\*\\*/",
21
- "name": "comment.block.empty.processing"
22
- },
23
- {
24
- "begin": "/\\*",
25
- "captures": {
26
- "0": {
27
- "name": "punctuation.definition.comment.processing"
28
- }
29
- },
30
- "end": "\\*/",
31
- "name": "comment.block.processing"
32
- },
33
- {
34
- "begin": "/\\*\\*",
35
- "captures": {
36
- "0": {
37
- "name": "punctuation.definition.comment.processing"
38
- }
39
- },
40
- "end": "\\*/",
41
- "name": "comment.block.documentation.processing",
42
- "patterns": [
43
- {
44
- "captures": {
45
- "1": {
46
- "name": "keyword.other.documentation.params.processing"
47
- },
48
- "2": {
49
- "name": "keyword.other.documentation.value.processing"
50
- }
51
- },
52
- "match": "\\*\\s*@(param)\\s*([a-z][a-zA-Z0-9_]+)\\s*"
53
- },
54
- {
55
- "captures": {
56
- "1": {
57
- "name": "keyword.other.embedded-docs.params.processing"
58
- }
59
- },
60
- "match": "\\*\\s*@([a-zA-Z0-9_-]+)\\s*"
61
- }
62
- ]
63
- },
64
- {
65
- "captures": {
66
- "1": {
67
- "name": "punctuation.definition.comment.processing"
68
- }
69
- },
70
- "match": "(//).*$\\n?",
71
- "name": "comment.line.double-slash.processing"
72
- },
73
- {
74
- "match": "\\b(class|interface|void|color|string|byte|short|char|int|long|float|double|boolean|[A-Z][A-Za-z0-9]+)\\b",
75
- "name": "storage.type.processing"
76
- },
77
- {
78
- "match": "\\b(private|protected|public)\\b",
79
- "name": "storage.modifier.access-control.processing"
80
- },
81
- {
82
- "match": "\\b(abstract|final|native|static|transient|synchronized|volatile|strictfp|extends|implements)\\b",
83
- "name": "storage.modifier.processing"
84
- },
85
- {
86
- "match": "\\b(try|catch|finally|throw)\\b",
87
- "name": "keyword.control.catch-exception.processing"
88
- },
89
- {
90
- "match": "\\b(return|break|case|continue|default|do|while|for|switch|if|else)\\b",
91
- "name": "keyword.control.processing"
92
- },
93
- {
94
- "match": "\\b(import|new|package|throws)\\b",
95
- "name": "keyword.other.class-fns.processing"
96
- },
97
- {
98
- "match": "\\b(instanceof)\\b",
99
- "name": "keyword.operator.processing"
100
- },
101
- {
102
- "match": "\\b(false|null|true)\\b",
103
- "name": "constant.language.processing"
104
- },
105
- {
106
- "match": "\\b(focused|frameCount|frameRate|height|height|key|keyCode|keyPressed|mouseButton|mousePressed|mouseX|mouseY|online|pixels|pmouseX|pmouseY|screen|width)\\b",
107
- "name": "constant.other.processing"
108
- },
109
- {
110
- "match": "\\b(ADD|ALIGN_CENTER|ALIGN_LEFT|ALIGN_RIGHT|ALPHA|ALPHA_MASK|ALT|AMBIENT|ARGB|ARROW|BACKSPACE|BEVEL|BLEND|BLEND|BLUE_MASK|BLUR|CENTER|CENTER_RADIUS|CHATTER|CODED|COMPLAINT|COMPONENT|COMPOSITE|CONCAVE_POLYGON|CONTROL|CONVEX_POLYGON|CORNER|CORNERS|CROSS|CUSTOM|DARKEST|DEGREES|DEG_TO_RAD|DELETE|DIFFERENCE|DIFFUSE|DISABLED|DISABLE_TEXT_SMOOTH|DOWN|ENTER|EPSILON|ESC|GIF|GREEN_MASK|GREY|HALF|HALF_PI|HALF_PI|HAND|HARD_LIGHT|HSB|IMAGE|INVERT|JAVA2D|JPEG|LEFT|LIGHTEST|LINES|LINE_LOOP|LINE_STRIP|MAX_FLOAT|MITER|MODEL|MOVE|MULTIPLY|NORMALIZED|NO_DEPTH_TEST|NTSC|ONE|OPAQUE|OPENGL|ORTHOGRAPHIC|OVERLAY|P2D|P3D|PAL|PERSPECTIVE|PI|PI|PIXEL_CENTER|POINTS|POLYGON|POSTERIZE|PROBLEM|PROJECT|QUADS|QUAD_STRIP|QUARTER_PI|RADIANS|RAD_TO_DEG|RED_MASK|REPLACE|RETURN|RGB|RIGHT|ROUND|SCREEN|SECAM|SHIFT|SOFT_LIGHT|SPECULAR|SQUARE|SUBTRACT|SVIDEO|TAB|TARGA|TEXT|TFF|THIRD_PI|THRESHOLD|TIFF|TRIANGLES|TRIANGLE_FAN|TRIANGLE_STRIP|TUNER|TWO|TWO_PI|TWO_PI|UP|WAIT|WHITESPACE)\\b",
111
- "name": "support.constant.processing"
112
- },
113
- {
114
- "match": "\\b(Array|Character|Integer|Math|Object|PFont|PImage|PSound|StringBuffer|Thread)\\b",
115
- "name": "support.class.processing"
116
- },
117
- {
118
- "match": "\\b(this|super)\\b",
119
- "name": "variable.language.processing"
120
- },
121
- {
122
- "match": "\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)([LlFfUuDd]|UL|ul)?\\b",
123
- "name": "constant.numeric.processing"
124
- },
125
- {
126
- "begin": "\"",
127
- "beginCaptures": {
128
- "0": {
129
- "name": "punctuation.definition.string.begin.processing"
130
- }
131
- },
132
- "end": "\"",
133
- "endCaptures": {
134
- "0": {
135
- "name": "punctuation.definition.string.end.processing"
136
- }
137
- },
138
- "name": "string.quoted.double.processing",
139
- "patterns": [
140
- {
141
- "match": "\\\\.",
142
- "name": "constant.character.escape.processing"
143
- }
144
- ]
145
- },
146
- {
147
- "begin": "'",
148
- "beginCaptures": {
149
- "0": {
150
- "name": "punctuation.definition.string.begin.processing"
151
- }
152
- },
153
- "end": "'",
154
- "endCaptures": {
155
- "0": {
156
- "name": "punctuation.definition.string.end.processing"
157
- }
158
- },
159
- "name": "string.quoted.single.processing",
160
- "patterns": [
161
- {
162
- "match": "\\\\.",
163
- "name": "constant.character.escape.processing"
164
- }
165
- ]
166
- },
167
- {
168
- "captures": {
169
- "1": {
170
- "name": "storage.type.class.processing"
171
- },
172
- "2": {
173
- "name": "entity.name.type.class.processing"
174
- },
175
- "3": {
176
- "name": "storage.modifier.extends.processing"
177
- },
178
- "4": {
179
- "name": "entity.other.inherited-class.processing"
180
- }
181
- },
182
- "match": "\\b(class)\\s+([a-zA-Z_](?:\\w|\\.)*)(?:\\s+(extends)\\s+([a-zA-Z_](?:\\w|\\.)*))?",
183
- "name": "meta.class.processing"
184
- }
185
- ],
186
- "scopeName": "source.processing",
187
- "uuid": "EF0D256C-2FCB-4A87-9250-0F5F82A366B9"
188
- }
@@ -1,70 +0,0 @@
1
- {
2
- "fileTypes": [
3
-
4
- ],
5
- "foldingStartMarker": "%\\s*region \\w*",
6
- "foldingStopMarker": "%\\s*end(\\s*region)?",
7
- "keyEquivalent": "^~P",
8
- "name": "Prolog",
9
- "patterns": [
10
- {
11
- "begin": "'",
12
- "beginCaptures": {
13
- "0": {
14
- "name": "punctuation.definition.string.begin.prolog"
15
- }
16
- },
17
- "end": "'",
18
- "endCaptures": {
19
- "0": {
20
- "name": "punctuation.definition.string.end.prolog"
21
- }
22
- },
23
- "name": "string.quoted.single.prolog",
24
- "patterns": [
25
- {
26
- "match": "\\\\.",
27
- "name": "constant.character.escape.prolog"
28
- },
29
- {
30
- "match": "''",
31
- "name": "constant.character.escape.quote.prolog"
32
- }
33
- ]
34
- },
35
- {
36
- "begin": "/\\*",
37
- "captures": {
38
- "0": {
39
- "name": "punctuation.definition.comment.prolog"
40
- }
41
- },
42
- "end": "\\*/",
43
- "name": "comment.block.prolog"
44
- },
45
- {
46
- "captures": {
47
- "1": {
48
- "name": "punctuation.definition.comment.prolog"
49
- }
50
- },
51
- "match": "(%).*$\\n?",
52
- "name": "comment.line.percentage.prolog"
53
- },
54
- {
55
- "match": ":-",
56
- "name": "keyword.operator.definition.prolog"
57
- },
58
- {
59
- "match": "\\b[A-Z][a-zA-Z0-9_]*\\b",
60
- "name": "variable.other.prolog"
61
- },
62
- {
63
- "comment": "\n\t\t\tI changed this from entity to storage.type, but have no idea what it is -- Allan\n\t\t\tAnd I changed this to constant.other.symbol after glancing over the docs,\n\t\t\t might still be wrong. -- Infininight\n\t\t\t",
64
- "match": "\\b[a-z][a-zA-Z0-9_]*\\b",
65
- "name": "constant.other.symbol.prolog"
66
- }
67
- ],
68
- "scopeName": "source.prolog",
69
- "uuid": "C0E2ADB0-1706-4A28-8DB7-263BDC8B5C5C"
70
- }
@@ -1,1934 +0,0 @@
1
- {
2
- "bundleUUID": "E3BADC20-6B0E-11D9-9DC9-000D93589AF6",
3
- "comment": "\n\ttodo:\n\t\tlist comprehension / generator comprehension scope.\n\t\t\n\t",
4
- "fileTypes": [
5
- "py",
6
- "rpy",
7
- "pyw",
8
- "cpy",
9
- "SConstruct",
10
- "Sconstruct",
11
- "sconstruct",
12
- "SConscript"
13
- ],
14
- "firstLineMatch": "^#!/.*\\bpython\\b",
15
- "foldingStartMarker": "^\\s*(def|class)\\s+([.a-zA-Z0-9_ <]+)\\s*(\\((.*)\\))?\\s*:|\\{\\s*$|\\(\\s*$|\\[\\s*$|^\\s*\"\"\"(?=.)(?!.*\"\"\")",
16
- "foldingStopMarker": "^\\s*$|^\\s*\\}|^\\s*\\]|^\\s*\\)|^\\s*\"\"\"\\s*$",
17
- "keyEquivalent": "^~P",
18
- "name": "Python",
19
- "patterns": [
20
- {
21
- "captures": {
22
- "1": {
23
- "name": "punctuation.definition.comment.python"
24
- }
25
- },
26
- "match": "(#).*$\\n?",
27
- "name": "comment.line.number-sign.python"
28
- },
29
- {
30
- "match": "\\b(?i:(0x\\h*)L)",
31
- "name": "constant.numeric.integer.long.hexadecimal.python"
32
- },
33
- {
34
- "match": "\\b(?i:(0x\\h*))",
35
- "name": "constant.numeric.integer.hexadecimal.python"
36
- },
37
- {
38
- "match": "\\b(?i:(0[0-7]+)L)",
39
- "name": "constant.numeric.integer.long.octal.python"
40
- },
41
- {
42
- "match": "\\b(0[0-7]+)",
43
- "name": "constant.numeric.integer.octal.python"
44
- },
45
- {
46
- "match": "\\b(?i:(((\\d+(\\.(?=[^a-zA-Z_])\\d*)?|(?<=[^0-9a-zA-Z_])\\.\\d+)(e[\\-\\+]?\\d+)?))J)",
47
- "name": "constant.numeric.complex.python"
48
- },
49
- {
50
- "match": "\\b(?i:(\\d+\\.\\d*(e[\\-\\+]?\\d+)?))(?=[^a-zA-Z_])",
51
- "name": "constant.numeric.float.python"
52
- },
53
- {
54
- "match": "(?<=[^0-9a-zA-Z_])(?i:(\\.\\d+(e[\\-\\+]?\\d+)?))",
55
- "name": "constant.numeric.float.python"
56
- },
57
- {
58
- "match": "\\b(?i:(\\d+e[\\-\\+]?\\d+))",
59
- "name": "constant.numeric.float.python"
60
- },
61
- {
62
- "match": "\\b(?i:([1-9]+[0-9]*|0)L)",
63
- "name": "constant.numeric.integer.long.decimal.python"
64
- },
65
- {
66
- "match": "\\b([1-9]+[0-9]*|0)",
67
- "name": "constant.numeric.integer.decimal.python"
68
- },
69
- {
70
- "captures": {
71
- "1": {
72
- "name": "storage.modifier.global.python"
73
- }
74
- },
75
- "match": "\\b(global)\\b"
76
- },
77
- {
78
- "captures": {
79
- "1": {
80
- "name": "keyword.control.import.python"
81
- },
82
- "2": {
83
- "name": "keyword.control.import.from.python"
84
- }
85
- },
86
- "match": "\\b(?:(import)|(from))\\b"
87
- },
88
- {
89
- "comment": "keywords that delimit flow blocks",
90
- "match": "\\b(elif|else|except|finally|for|if|try|while|with)\\b",
91
- "name": "keyword.control.flow.python"
92
- },
93
- {
94
- "comment": "keywords that alter flow from within a block",
95
- "match": "\\b(break|continue|pass|raise|return|yield)\\b",
96
- "name": "keyword.control.flow.python"
97
- },
98
- {
99
- "comment": "keyword operators that evaluate to True or False",
100
- "match": "\\b(and|in|is|not|or)\\b",
101
- "name": "keyword.operator.logical.python"
102
- },
103
- {
104
- "captures": {
105
- "1": {
106
- "name": "keyword.other.python"
107
- }
108
- },
109
- "comment": "keywords that haven't fit into other groups (yet).",
110
- "match": "\\b(as|assert|del|exec|print)\\b"
111
- },
112
- {
113
- "match": "<\\=|>\\=|\\=\\=|<|>|<>",
114
- "name": "keyword.operator.comparison.python"
115
- },
116
- {
117
- "match": "\\+\\=|-\\=|\\*\\=|/\\=|//\\=|%\\=|&\\=|\\|\\=|\\^\\=|>>\\=|<<\\=|\\*\\*\\=",
118
- "name": "keyword.operator.assignment.augmented.python"
119
- },
120
- {
121
- "match": "\\+|\\-|\\*|\\*\\*|/|//|%|<<|>>|&|\\||\\^|~",
122
- "name": "keyword.operator.arithmetic.python"
123
- },
124
- {
125
- "match": "\\=",
126
- "name": "keyword.operator.assignment.python"
127
- },
128
- {
129
- "begin": "^\\s*(class)\\s+(?=[a-zA-Z_][a-zA-Z_0-9]*\\s*\\:)",
130
- "beginCaptures": {
131
- "1": {
132
- "name": "storage.type.class.python"
133
- }
134
- },
135
- "contentName": "entity.name.type.class.python",
136
- "end": "\\s*(:)",
137
- "endCaptures": {
138
- "1": {
139
- "name": "punctuation.section.class.begin.python"
140
- }
141
- },
142
- "name": "meta.class.old-style.python",
143
- "patterns": [
144
- {
145
- "include": "#entity_name_class"
146
- }
147
- ]
148
- },
149
- {
150
- "begin": "^\\s*(class)\\s+(?=[a-zA-Z_][a-zA-Z_0-9]*\\s*\\()",
151
- "beginCaptures": {
152
- "1": {
153
- "name": "storage.type.class.python"
154
- }
155
- },
156
- "end": "(\\))\\s*(?:(\\:)|(.*$\\n?))",
157
- "endCaptures": {
158
- "1": {
159
- "name": "punctuation.definition.inheritance.end.python"
160
- },
161
- "2": {
162
- "name": "punctuation.section.class.begin.python"
163
- },
164
- "3": {
165
- "name": "invalid.illegal.missing-section-begin.python"
166
- }
167
- },
168
- "name": "meta.class.python",
169
- "patterns": [
170
- {
171
- "begin": "(?=[A-Za-z_][A-Za-z0-9_]*)",
172
- "contentName": "entity.name.type.class.python",
173
- "end": "(?![A-Za-z0-9_])",
174
- "patterns": [
175
- {
176
- "include": "#entity_name_class"
177
- }
178
- ]
179
- },
180
- {
181
- "begin": "(\\()",
182
- "beginCaptures": {
183
- "1": {
184
- "name": "punctuation.definition.inheritance.begin.python"
185
- }
186
- },
187
- "contentName": "meta.class.inheritance.python",
188
- "end": "(?=\\)|:)",
189
- "patterns": [
190
- {
191
- "begin": "(?<=\\(|,)\\s*",
192
- "contentName": "entity.other.inherited-class.python",
193
- "end": "\\s*(?:(,)|(?=\\)))",
194
- "endCaptures": {
195
- "1": {
196
- "name": "punctuation.separator.inheritance.python"
197
- }
198
- },
199
- "patterns": [
200
- {
201
- "include": "$self"
202
- }
203
- ]
204
- }
205
- ]
206
- }
207
- ]
208
- },
209
- {
210
- "begin": "^\\s*(class)\\s+(?=[a-zA-Z_][a-zA-Z_0-9])",
211
- "beginCaptures": {
212
- "1": {
213
- "name": "storage.type.class.python"
214
- }
215
- },
216
- "end": "(\\()|\\s*($\\n?|#.*$\\n?)",
217
- "endCaptures": {
218
- "1": {
219
- "name": "punctuation.definition.inheritance.begin.python"
220
- },
221
- "2": {
222
- "name": "invalid.illegal.missing-inheritance.python"
223
- }
224
- },
225
- "name": "meta.class.python",
226
- "patterns": [
227
- {
228
- "begin": "(?=[A-Za-z_][A-Za-z0-9_]*)",
229
- "contentName": "entity.name.type.class.python",
230
- "end": "(?![A-Za-z0-9_])",
231
- "patterns": [
232
- {
233
- "include": "#entity_name_function"
234
- }
235
- ]
236
- }
237
- ]
238
- },
239
- {
240
- "begin": "^\\s*(def)\\s+(?=[A-Za-z_][A-Za-z0-9_]*\\s*\\()",
241
- "beginCaptures": {
242
- "1": {
243
- "name": "storage.type.function.python"
244
- }
245
- },
246
- "end": "(\\))\\s*(?:(\\:)|(.*$\\n?))",
247
- "endCaptures": {
248
- "1": {
249
- "name": "punctuation.definition.parameters.end.python"
250
- },
251
- "2": {
252
- "name": "punctuation.section.function.begin.python"
253
- },
254
- "3": {
255
- "name": "invalid.illegal.missing-section-begin.python"
256
- }
257
- },
258
- "name": "meta.function.python",
259
- "patterns": [
260
- {
261
- "begin": "(?=[A-Za-z_][A-Za-z0-9_]*)",
262
- "contentName": "entity.name.function.python",
263
- "end": "(?![A-Za-z0-9_])",
264
- "patterns": [
265
- {
266
- "include": "#entity_name_function"
267
- }
268
- ]
269
- },
270
- {
271
- "begin": "(\\()",
272
- "beginCaptures": {
273
- "1": {
274
- "name": "punctuation.definition.parameters.begin.python"
275
- }
276
- },
277
- "contentName": "meta.function.parameters.python",
278
- "end": "(?=\\)\\s*\\:)",
279
- "patterns": [
280
- {
281
- "include": "#keyword_arguments"
282
- },
283
- {
284
- "captures": {
285
- "1": {
286
- "name": "variable.parameter.function.python"
287
- },
288
- "2": {
289
- "name": "punctuation.separator.parameters.python"
290
- }
291
- },
292
- "match": "\\b([a-zA-Z_][a-zA-Z_0-9]*)\\s*(?:(,)|(?=[\\n\\)]))"
293
- }
294
- ]
295
- }
296
- ]
297
- },
298
- {
299
- "begin": "^\\s*(def)\\s+(?=[A-Za-z_][A-Za-z0-9_]*)",
300
- "beginCaptures": {
301
- "1": {
302
- "name": "storage.type.function.python"
303
- }
304
- },
305
- "end": "(\\()|\\s*($\\n?|#.*$\\n?)",
306
- "endCaptures": {
307
- "1": {
308
- "name": "punctuation.definition.parameters.begin.python"
309
- },
310
- "2": {
311
- "name": "invalid.illegal.missing-parameters.python"
312
- }
313
- },
314
- "name": "meta.function.python",
315
- "patterns": [
316
- {
317
- "begin": "(?=[A-Za-z_][A-Za-z0-9_]*)",
318
- "contentName": "entity.name.function.python",
319
- "end": "(?![A-Za-z0-9_])",
320
- "patterns": [
321
- {
322
- "include": "#entity_name_function"
323
- }
324
- ]
325
- }
326
- ]
327
- },
328
- {
329
- "begin": "(lambda)(?=\\s+)",
330
- "beginCaptures": {
331
- "1": {
332
- "name": "storage.type.function.inline.python"
333
- }
334
- },
335
- "end": "(\\:)",
336
- "endCaptures": {
337
- "1": {
338
- "name": "punctuation.definition.parameters.end.python"
339
- },
340
- "2": {
341
- "name": "punctuation.section.function.begin.python"
342
- },
343
- "3": {
344
- "name": "invalid.illegal.missing-section-begin.python"
345
- }
346
- },
347
- "name": "meta.function.inline.python",
348
- "patterns": [
349
- {
350
- "begin": "\\s+",
351
- "contentName": "meta.function.inline.parameters.python",
352
- "end": "(?=\\:)",
353
- "patterns": [
354
- {
355
- "include": "#keyword_arguments"
356
- },
357
- {
358
- "captures": {
359
- "1": {
360
- "name": "variable.parameter.function.python"
361
- },
362
- "2": {
363
- "name": "punctuation.separator.parameters.python"
364
- }
365
- },
366
- "match": "\\b([a-zA-Z_][a-zA-Z_0-9]*)\\s*(?:(,)|(?=[\\n\\)\\:]))"
367
- }
368
- ]
369
- }
370
- ]
371
- },
372
- {
373
- "begin": "^\\s*(?=@\\s*[A-Za-z_][A-Za-z0-9_]*(?:\\.[a-zA-Z_][a-zA-Z_0-9]*)*\\s*\\()",
374
- "comment": "a decorator may be a function call which returns a decorator.",
375
- "end": "(\\))",
376
- "endCaptures": {
377
- "1": {
378
- "name": "punctuation.definition.arguments.end.python"
379
- }
380
- },
381
- "name": "meta.function.decorator.python",
382
- "patterns": [
383
- {
384
- "begin": "(?=(@)\\s*[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*\\s*\\()",
385
- "beginCaptures": {
386
- "1": {
387
- "name": "punctuation.definition.decorator.python"
388
- }
389
- },
390
- "contentName": "entity.name.function.decorator.python",
391
- "end": "(?=\\s*\\()",
392
- "patterns": [
393
- {
394
- "include": "#dotted_name"
395
- }
396
- ]
397
- },
398
- {
399
- "begin": "(\\()",
400
- "beginCaptures": {
401
- "1": {
402
- "name": "punctuation.definition.arguments.begin.python"
403
- }
404
- },
405
- "contentName": "meta.function.decorator.arguments.python",
406
- "end": "(?=\\))",
407
- "patterns": [
408
- {
409
- "include": "#keyword_arguments"
410
- },
411
- {
412
- "include": "$self"
413
- }
414
- ]
415
- }
416
- ]
417
- },
418
- {
419
- "begin": "^\\s*(?=@\\s*[A-Za-z_][A-Za-z0-9_]*(?:\\.[a-zA-Z_][a-zA-Z_0-9]*)*)",
420
- "contentName": "entity.name.function.decorator.python",
421
- "end": "(?=\\s|$\\n?|#)",
422
- "name": "meta.function.decorator.python",
423
- "patterns": [
424
- {
425
- "begin": "(?=(@)\\s*[A-Za-z_][A-Za-z0-9_]*(\\.[A-Za-z_][A-Za-z0-9_]*)*)",
426
- "beginCaptures": {
427
- "1": {
428
- "name": "punctuation.definition.decorator.python"
429
- }
430
- },
431
- "end": "(?=\\s|$\\n?|#)",
432
- "patterns": [
433
- {
434
- "include": "#dotted_name"
435
- }
436
- ]
437
- }
438
- ]
439
- },
440
- {
441
- "begin": "(?<=\\)|\\])\\s*(\\()",
442
- "beginCaptures": {
443
- "1": {
444
- "name": "punctuation.definition.arguments.begin.python"
445
- }
446
- },
447
- "contentName": "meta.function-call.arguments.python",
448
- "end": "(\\))",
449
- "endCaptures": {
450
- "1": {
451
- "name": "punctuation.definition.arguments.end.python"
452
- }
453
- },
454
- "name": "meta.function-call.python",
455
- "patterns": [
456
- {
457
- "include": "#keyword_arguments"
458
- },
459
- {
460
- "include": "$self"
461
- }
462
- ]
463
- },
464
- {
465
- "begin": "(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[a-zA-Z_][a-zA-Z_0-9]*)*\\s*\\()",
466
- "end": "(\\))",
467
- "endCaptures": {
468
- "1": {
469
- "name": "punctuation.definition.arguments.end.python"
470
- }
471
- },
472
- "name": "meta.function-call.python",
473
- "patterns": [
474
- {
475
- "begin": "(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*\\s*\\()",
476
- "end": "(?=\\s*\\()",
477
- "patterns": [
478
- {
479
- "include": "#dotted_name"
480
- }
481
- ]
482
- },
483
- {
484
- "begin": "(\\()",
485
- "beginCaptures": {
486
- "1": {
487
- "name": "punctuation.definition.arguments.begin.python"
488
- }
489
- },
490
- "contentName": "meta.function-call.arguments.python",
491
- "end": "(?=\\))",
492
- "patterns": [
493
- {
494
- "include": "#keyword_arguments"
495
- },
496
- {
497
- "include": "$self"
498
- }
499
- ]
500
- }
501
- ]
502
- },
503
- {
504
- "begin": "(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[a-zA-Z_][a-zA-Z_0-9]*)*\\s*\\[)",
505
- "end": "(\\])",
506
- "endCaptures": {
507
- "1": {
508
- "name": "punctuation.definition.arguments.end.python"
509
- }
510
- },
511
- "name": "meta.item-access.python",
512
- "patterns": [
513
- {
514
- "begin": "(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*\\s*\\[)",
515
- "end": "(?=\\s*\\[)",
516
- "patterns": [
517
- {
518
- "include": "#dotted_name"
519
- }
520
- ]
521
- },
522
- {
523
- "begin": "(\\[)",
524
- "beginCaptures": {
525
- "1": {
526
- "name": "punctuation.definition.arguments.begin.python"
527
- }
528
- },
529
- "contentName": "meta.item-access.arguments.python",
530
- "end": "(?=\\])",
531
- "patterns": [
532
- {
533
- "include": "$self"
534
- }
535
- ]
536
- }
537
- ]
538
- },
539
- {
540
- "begin": "(?<=\\)|\\])\\s*(\\[)",
541
- "beginCaptures": {
542
- "1": {
543
- "name": "punctuation.definition.arguments.begin.python"
544
- }
545
- },
546
- "contentName": "meta.item-access.arguments.python",
547
- "end": "(\\])",
548
- "endCaptures": {
549
- "1": {
550
- "name": "punctuation.definition.arguments.end.python"
551
- }
552
- },
553
- "name": "meta.item-access.python",
554
- "patterns": [
555
- {
556
- "include": "$self"
557
- }
558
- ]
559
- },
560
- {
561
- "captures": {
562
- "1": {
563
- "name": "storage.type.function.python"
564
- }
565
- },
566
- "match": "\\b(def|lambda)\\b"
567
- },
568
- {
569
- "captures": {
570
- "1": {
571
- "name": "storage.type.class.python"
572
- }
573
- },
574
- "match": "\\b(class)\\b"
575
- },
576
- {
577
- "include": "#line_continuation"
578
- },
579
- {
580
- "include": "#language_variables"
581
- },
582
- {
583
- "match": "\\b(None|True|False|Ellipsis|NotImplemented)\\b",
584
- "name": "constant.language.python"
585
- },
586
- {
587
- "include": "#string_quoted_single"
588
- },
589
- {
590
- "include": "#string_quoted_double"
591
- },
592
- {
593
- "include": "#dotted_name"
594
- },
595
- {
596
- "begin": "(\\()",
597
- "end": "(\\))",
598
- "patterns": [
599
- {
600
- "include": "$self"
601
- }
602
- ]
603
- },
604
- {
605
- "captures": {
606
- "1": {
607
- "name": "punctuation.definition.list.begin.python"
608
- },
609
- "2": {
610
- "name": "meta.empty-list.python"
611
- },
612
- "3": {
613
- "name": "punctuation.definition.list.end.python"
614
- }
615
- },
616
- "match": "(\\[)(\\s*(\\]))\\b"
617
- },
618
- {
619
- "begin": "(\\[)",
620
- "beginCaptures": {
621
- "1": {
622
- "name": "punctuation.definition.list.begin.python"
623
- }
624
- },
625
- "end": "(\\])",
626
- "endCaptures": {
627
- "1": {
628
- "name": "punctuation.definition.list.end.python"
629
- }
630
- },
631
- "name": "meta.structure.list.python",
632
- "patterns": [
633
- {
634
- "begin": "(?<=\\[|\\,)\\s*(?![\\],])",
635
- "contentName": "meta.structure.list.item.python",
636
- "end": "\\s*(?:(,)|(?=\\]))",
637
- "endCaptures": {
638
- "1": {
639
- "name": "punctuation.separator.list.python"
640
- }
641
- },
642
- "patterns": [
643
- {
644
- "include": "$self"
645
- }
646
- ]
647
- }
648
- ]
649
- },
650
- {
651
- "captures": {
652
- "1": {
653
- "name": "punctuation.definition.tuple.begin.python"
654
- },
655
- "2": {
656
- "name": "meta.empty-tuple.python"
657
- },
658
- "3": {
659
- "name": "punctuation.definition.tuple.end.python"
660
- }
661
- },
662
- "match": "(\\()(\\s*(\\)))",
663
- "name": "meta.structure.tuple.python"
664
- },
665
- {
666
- "captures": {
667
- "1": {
668
- "name": "punctuation.definition.dictionary.begin.python"
669
- },
670
- "2": {
671
- "name": "meta.empty-dictionary.python"
672
- },
673
- "3": {
674
- "name": "punctuation.definition.dictionary.end.python"
675
- }
676
- },
677
- "match": "(\\{)(\\s*(\\}))",
678
- "name": "meta.structure.dictionary.python"
679
- },
680
- {
681
- "begin": "(\\{)",
682
- "beginCaptures": {
683
- "1": {
684
- "name": "punctuation.definition.dictionary.begin.python"
685
- }
686
- },
687
- "end": "(\\})",
688
- "endCaptures": {
689
- "1": {
690
- "name": "punctuation.definition.dictionary.end.python"
691
- }
692
- },
693
- "name": "meta.structure.dictionary.python",
694
- "patterns": [
695
- {
696
- "begin": "(?<=\\{|\\,|^)\\s*(?![\\},])",
697
- "contentName": "meta.structure.dictionary.key.python",
698
- "end": "\\s*(?:(?=\\})|(\\:))",
699
- "endCaptures": {
700
- "1": {
701
- "name": "punctuation.separator.valuepair.dictionary.python"
702
- }
703
- },
704
- "patterns": [
705
- {
706
- "include": "$self"
707
- }
708
- ]
709
- },
710
- {
711
- "begin": "(?<=\\:|^)\\s*",
712
- "contentName": "meta.structure.dictionary.value.python",
713
- "end": "\\s*(?:(?=\\})|(,))",
714
- "endCaptures": {
715
- "1": {
716
- "name": "punctuation.separator.dictionary.python"
717
- }
718
- },
719
- "patterns": [
720
- {
721
- "include": "$self"
722
- }
723
- ]
724
- }
725
- ]
726
- }
727
- ],
728
- "repository": {
729
- "builtin_exceptions": {
730
- "match": "(?x)\\b((Arithmetic|Assertion|Attribute|EOF|Environment|FloatingPoint|IO|Import|Indentation|Index|Key|Lookup|Memory|Name|OS|Overflow|NotImplemented|Reference|Runtime|Standard|Syntax|System|Tab|Type|UnboundLocal|Unicode(Translate|Encode|Decode)?|Value|ZeroDivision)Error|(Deprecation|Future|Overflow|PendingDeprecation|Runtime|Syntax|User)?Warning|KeyboardInterrupt|NotImplemented|StopIteration|SystemExit|(Base)?Exception)\\b",
731
- "name": "support.type.exception.python"
732
- },
733
- "builtin_functions": {
734
- "match": "(?x)\\b(\n __import__|all|abs|any|apply|callable|chr|cmp|coerce|compile|delattr|dir|\n divmod|eval|execfile|filter|getattr|globals|hasattr|hash|hex|id|\n input|intern|isinstance|issubclass|iter|len|locals|map|max|min|oct|\n ord|pow|range|raw_input|reduce|reload|repr|round|setattr|sorted|\n sum|unichr|vars|zip\n\t\t\t)\\b",
735
- "name": "support.function.builtin.python"
736
- },
737
- "builtin_types": {
738
- "match": "(?x)\\b(\n\t\t\t\tbasestring|bool|buffer|classmethod|complex|dict|enumerate|file|\n\t\t\t\tfloat|frozenset|int|list|long|object|open|property|reversed|set|\n\t\t\t\tslice|staticmethod|str|super|tuple|type|unicode|xrange\n\t\t\t)\\b",
739
- "name": "support.type.python"
740
- },
741
- "constant_placeholder": {
742
- "match": "(?i:%(\\([a-z_]+\\))?#?0?\\-?[ ]?\\+?([0-9]*|\\*)(\\.([0-9]*|\\*))?[hL]?[a-z%])",
743
- "name": "constant.other.placeholder.python"
744
- },
745
- "docstrings": {
746
- "patterns": [
747
- {
748
- "begin": "^\\s*(?=[uU]?[rR]?\"\"\")",
749
- "end": "(?<=\"\"\")",
750
- "name": "comment.block.python",
751
- "patterns": [
752
- {
753
- "include": "#string_quoted_double"
754
- }
755
- ]
756
- },
757
- {
758
- "begin": "^\\s*(?=[uU]?[rR]?''')",
759
- "end": "(?<=''')",
760
- "name": "comment.block.python",
761
- "patterns": [
762
- {
763
- "include": "#string_quoted_single"
764
- }
765
- ]
766
- }
767
- ]
768
- },
769
- "dotted_name": {
770
- "begin": "(?=[A-Za-z_][A-Za-z0-9_]*(?:\\.[A-Za-z_][A-Za-z0-9_]*)*)",
771
- "end": "(?![A-Za-z0-9_\\.])",
772
- "patterns": [
773
- {
774
- "begin": "(\\.)(?=[A-Za-z_][A-Za-z0-9_]*)",
775
- "end": "(?![A-Za-z0-9_])",
776
- "patterns": [
777
- {
778
- "include": "#magic_function_names"
779
- },
780
- {
781
- "include": "#magic_variable_names"
782
- },
783
- {
784
- "include": "#illegal_names"
785
- },
786
- {
787
- "include": "#generic_names"
788
- }
789
- ]
790
- },
791
- {
792
- "begin": "(?<!\\.)(?=[A-Za-z_][A-Za-z0-9_]*)",
793
- "end": "(?![A-Za-z0-9_])",
794
- "patterns": [
795
- {
796
- "include": "#builtin_functions"
797
- },
798
- {
799
- "include": "#builtin_types"
800
- },
801
- {
802
- "include": "#builtin_exceptions"
803
- },
804
- {
805
- "include": "#illegal_names"
806
- },
807
- {
808
- "include": "#magic_function_names"
809
- },
810
- {
811
- "include": "#magic_variable_names"
812
- },
813
- {
814
- "include": "#language_variables"
815
- },
816
- {
817
- "include": "#generic_names"
818
- }
819
- ]
820
- }
821
- ]
822
- },
823
- "entity_name_class": {
824
- "patterns": [
825
- {
826
- "include": "#illegal_names"
827
- },
828
- {
829
- "include": "#generic_names"
830
- }
831
- ]
832
- },
833
- "entity_name_function": {
834
- "patterns": [
835
- {
836
- "include": "#magic_function_names"
837
- },
838
- {
839
- "include": "#illegal_names"
840
- },
841
- {
842
- "include": "#generic_names"
843
- }
844
- ]
845
- },
846
- "escaped_char": {
847
- "captures": {
848
- "1": {
849
- "name": "constant.character.escape.hex.python"
850
- },
851
- "10": {
852
- "name": "constant.character.escape.linefeed.python"
853
- },
854
- "11": {
855
- "name": "constant.character.escape.return.python"
856
- },
857
- "12": {
858
- "name": "constant.character.escape.tab.python"
859
- },
860
- "13": {
861
- "name": "constant.character.escape.vertical-tab.python"
862
- },
863
- "2": {
864
- "name": "constant.character.escape.octal.python"
865
- },
866
- "3": {
867
- "name": "constant.character.escape.newline.python"
868
- },
869
- "4": {
870
- "name": "constant.character.escape.backlash.python"
871
- },
872
- "5": {
873
- "name": "constant.character.escape.double-quote.python"
874
- },
875
- "6": {
876
- "name": "constant.character.escape.single-quote.python"
877
- },
878
- "7": {
879
- "name": "constant.character.escape.bell.python"
880
- },
881
- "8": {
882
- "name": "constant.character.escape.backspace.python"
883
- },
884
- "9": {
885
- "name": "constant.character.escape.formfeed.python"
886
- }
887
- },
888
- "match": "(\\\\x[0-9A-F]{2})|(\\\\[0-7]{3})|(\\\\\\n)|(\\\\\\\\)|(\\\\\\\")|(\\\\')|(\\\\a)|(\\\\b)|(\\\\f)|(\\\\n)|(\\\\r)|(\\\\t)|(\\\\v)"
889
- },
890
- "escaped_unicode_char": {
891
- "captures": {
892
- "1": {
893
- "name": "constant.character.escape.unicode.16-bit-hex.python"
894
- },
895
- "2": {
896
- "name": "constant.character.escape.unicode.32-bit-hex.python"
897
- },
898
- "3": {
899
- "name": "constant.character.escape.unicode.name.python"
900
- }
901
- },
902
- "match": "(\\\\U[0-9A-Fa-f]{8})|(\\\\u[0-9A-Fa-f]{4})|(\\\\N\\{[a-zA-Z ]+\\})"
903
- },
904
- "function_name": {
905
- "patterns": [
906
- {
907
- "include": "#magic_function_names"
908
- },
909
- {
910
- "include": "#magic_variable_names"
911
- },
912
- {
913
- "include": "#builtin_exceptions"
914
- },
915
- {
916
- "include": "#builtin_functions"
917
- },
918
- {
919
- "include": "#builtin_types"
920
- },
921
- {
922
- "include": "#generic_names"
923
- }
924
- ]
925
- },
926
- "generic_names": {
927
- "match": "[A-Za-z_][A-Za-z0-9_]*"
928
- },
929
- "illegal_names": {
930
- "match": "\\b(and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|with|yield)\\b",
931
- "name": "invalid.illegal.name.python"
932
- },
933
- "keyword_arguments": {
934
- "begin": "\\b([a-zA-Z_][a-zA-Z_0-9]*)\\s*(=)(?!=)",
935
- "beginCaptures": {
936
- "1": {
937
- "name": "variable.parameter.function.python"
938
- },
939
- "2": {
940
- "name": "keyword.operator.assignment.python"
941
- }
942
- },
943
- "end": "\\s*(?:(,)|(?=$\\n?|[\\)\\:]))",
944
- "endCaptures": {
945
- "1": {
946
- "name": "punctuation.separator.parameters.python"
947
- }
948
- },
949
- "patterns": [
950
- {
951
- "include": "$self"
952
- }
953
- ]
954
- },
955
- "language_variables": {
956
- "match": "\\b(self|cls)\\b",
957
- "name": "variable.language.python"
958
- },
959
- "line_continuation": {
960
- "captures": {
961
- "1": {
962
- "name": "punctuation.separator.continuation.line.python"
963
- },
964
- "2": {
965
- "name": "invalid.illegal.unexpected-text.python"
966
- }
967
- },
968
- "match": "(\\\\)(.*)$\\n?"
969
- },
970
- "magic_function_names": {
971
- "comment": "these methods have magic interpretation by python and are generally called indirectly through syntactic constructs",
972
- "match": "(?x)\\b(__(?:\n\t\t\t\t\t\tabs|add|and|call|cmp|coerce|complex|contains|del|delattr|\n\t\t\t\t\t\tdelete|delitem|delslice|div|divmod|enter|eq|exit|float|\n\t\t\t\t\t\tfloordiv|ge|get|getattr|getattribute|getitem|getslice|gt|\n\t\t\t\t\t\thash|hex|iadd|iand|idiv|ifloordiv|ilshift|imod|imul|init|\n\t\t\t\t\t\tint|invert|ior|ipow|irshift|isub|iter|itruediv|ixor|le|len|\n\t\t\t\t\t\tlong|lshift|lt|mod|mul|ne|neg|new|nonzero|oct|or|pos|pow|\n\t\t\t\t\t\tradd|rand|rdiv|rdivmod|repr|rfloordiv|rlshift|rmod|rmul|ror|\n\t\t\t\t\t\trpow|rrshift|rshift|rsub|rtruediv|rxor|set|setattr|setitem|\n\t\t\t\t\t\tsetslice|str|sub|truediv|unicode|xor\n\t\t\t\t\t)__)\\b",
973
- "name": "support.function.magic.python"
974
- },
975
- "magic_variable_names": {
976
- "comment": "magic variables which a class/module may have.",
977
- "match": "\\b__(all|bases|class|debug|dict|doc|file|members|metaclass|methods|name|slots|weakref)__\\b",
978
- "name": "support.variable.magic.python"
979
- },
980
- "regular_expressions": {
981
- "comment": "Changed disabled to 1 to turn off syntax highlighting in \u201cr\u201d strings.",
982
- "disabled": 0,
983
- "patterns": [
984
- {
985
- "include": "source.regexp.python"
986
- }
987
- ]
988
- },
989
- "string_quoted_double": {
990
- "patterns": [
991
- {
992
- "begin": "([uU]r)(\"\"\")",
993
- "beginCaptures": {
994
- "1": {
995
- "name": "storage.type.string.python"
996
- },
997
- "2": {
998
- "name": "punctuation.definition.string.begin.python"
999
- }
1000
- },
1001
- "comment": "single quoted unicode-raw string",
1002
- "end": "((?<=\"\"\")(\")\"\"|\"\"\")",
1003
- "endCaptures": {
1004
- "1": {
1005
- "name": "punctuation.definition.string.end.python"
1006
- },
1007
- "2": {
1008
- "name": "meta.empty-string.double.python"
1009
- }
1010
- },
1011
- "name": "string.quoted.double.block.unicode-raw-regex.python",
1012
- "patterns": [
1013
- {
1014
- "include": "#constant_placeholder"
1015
- },
1016
- {
1017
- "include": "#escaped_unicode_char"
1018
- },
1019
- {
1020
- "include": "#escaped_char"
1021
- },
1022
- {
1023
- "include": "#regular_expressions"
1024
- }
1025
- ]
1026
- },
1027
- {
1028
- "begin": "([uU]R)(\"\"\")",
1029
- "beginCaptures": {
1030
- "1": {
1031
- "name": "storage.type.string.python"
1032
- },
1033
- "2": {
1034
- "name": "punctuation.definition.string.begin.python"
1035
- }
1036
- },
1037
- "comment": "single quoted unicode-raw string without regular expression highlighting",
1038
- "end": "((?<=\"\"\")(\")\"\"|\"\"\")",
1039
- "endCaptures": {
1040
- "1": {
1041
- "name": "punctuation.definition.string.end.python"
1042
- },
1043
- "2": {
1044
- "name": "meta.empty-string.double.python"
1045
- }
1046
- },
1047
- "name": "string.quoted.double.block.unicode-raw.python",
1048
- "patterns": [
1049
- {
1050
- "include": "#constant_placeholder"
1051
- },
1052
- {
1053
- "include": "#escaped_unicode_char"
1054
- },
1055
- {
1056
- "include": "#escaped_char"
1057
- }
1058
- ]
1059
- },
1060
- {
1061
- "begin": "(r)(\"\"\")",
1062
- "beginCaptures": {
1063
- "1": {
1064
- "name": "storage.type.string.python"
1065
- },
1066
- "2": {
1067
- "name": "punctuation.definition.string.begin.python"
1068
- }
1069
- },
1070
- "comment": "double quoted raw string",
1071
- "end": "((?<=\"\"\")(\")\"\"|\"\"\")",
1072
- "endCaptures": {
1073
- "1": {
1074
- "name": "punctuation.definition.string.end.python"
1075
- },
1076
- "2": {
1077
- "name": "meta.empty-string.double.python"
1078
- }
1079
- },
1080
- "name": "string.quoted.double.block.raw-regex.python",
1081
- "patterns": [
1082
- {
1083
- "include": "#constant_placeholder"
1084
- },
1085
- {
1086
- "include": "#escaped_char"
1087
- },
1088
- {
1089
- "include": "#regular_expressions"
1090
- }
1091
- ]
1092
- },
1093
- {
1094
- "begin": "(R)(\"\"\")",
1095
- "beginCaptures": {
1096
- "1": {
1097
- "name": "storage.type.string.python"
1098
- },
1099
- "2": {
1100
- "name": "punctuation.definition.string.begin.python"
1101
- }
1102
- },
1103
- "comment": "double quoted raw string",
1104
- "end": "((?<=\"\"\")(\")\"\"|\"\"\")",
1105
- "endCaptures": {
1106
- "1": {
1107
- "name": "punctuation.definition.string.end.python"
1108
- },
1109
- "2": {
1110
- "name": "meta.empty-string.double.python"
1111
- }
1112
- },
1113
- "name": "string.quoted.double.block.raw.python",
1114
- "patterns": [
1115
- {
1116
- "include": "#constant_placeholder"
1117
- },
1118
- {
1119
- "include": "#escaped_char"
1120
- }
1121
- ]
1122
- },
1123
- {
1124
- "begin": "([uU])(\"\"\")",
1125
- "beginCaptures": {
1126
- "1": {
1127
- "name": "storage.type.string.python"
1128
- },
1129
- "2": {
1130
- "name": "punctuation.definition.string.begin.python"
1131
- }
1132
- },
1133
- "comment": "double quoted unicode string",
1134
- "end": "((?<=\"\"\")(\")\"\"|\"\"\")",
1135
- "endCaptures": {
1136
- "1": {
1137
- "name": "punctuation.definition.string.end.python"
1138
- },
1139
- "2": {
1140
- "name": "meta.empty-string.double.python"
1141
- }
1142
- },
1143
- "name": "string.quoted.double.block.unicode.python",
1144
- "patterns": [
1145
- {
1146
- "include": "#constant_placeholder"
1147
- },
1148
- {
1149
- "include": "#escaped_unicode_char"
1150
- },
1151
- {
1152
- "include": "#escaped_char"
1153
- }
1154
- ]
1155
- },
1156
- {
1157
- "begin": "([uU]r)(\")",
1158
- "beginCaptures": {
1159
- "1": {
1160
- "name": "storage.type.string.python"
1161
- },
1162
- "2": {
1163
- "name": "punctuation.definition.string.begin.python"
1164
- }
1165
- },
1166
- "comment": "double-quoted raw string",
1167
- "end": "((?<=\")(\")|\")|(\\n)",
1168
- "endCaptures": {
1169
- "1": {
1170
- "name": "punctuation.definition.string.end.python"
1171
- },
1172
- "2": {
1173
- "name": "meta.empty-string.double.python"
1174
- },
1175
- "3": {
1176
- "name": "invalid.illegal.unclosed-string.python"
1177
- }
1178
- },
1179
- "name": "string.quoted.double.single-line.unicode-raw-regex.python",
1180
- "patterns": [
1181
- {
1182
- "include": "#constant_placeholder"
1183
- },
1184
- {
1185
- "include": "#escaped_unicode_char"
1186
- },
1187
- {
1188
- "include": "#escaped_char"
1189
- },
1190
- {
1191
- "include": "#regular_expressions"
1192
- }
1193
- ]
1194
- },
1195
- {
1196
- "begin": "([uU]R)(\")",
1197
- "beginCaptures": {
1198
- "1": {
1199
- "name": "storage.type.string.python"
1200
- },
1201
- "2": {
1202
- "name": "punctuation.definition.string.begin.python"
1203
- }
1204
- },
1205
- "comment": "double-quoted raw string",
1206
- "end": "((?<=\")(\")|\")|(\\n)",
1207
- "endCaptures": {
1208
- "1": {
1209
- "name": "punctuation.definition.string.end.python"
1210
- },
1211
- "2": {
1212
- "name": "meta.empty-string.double.python"
1213
- },
1214
- "3": {
1215
- "name": "invalid.illegal.unclosed-string.python"
1216
- }
1217
- },
1218
- "name": "string.quoted.double.single-line.unicode-raw.python",
1219
- "patterns": [
1220
- {
1221
- "include": "#constant_placeholder"
1222
- },
1223
- {
1224
- "include": "#escaped_unicode_char"
1225
- },
1226
- {
1227
- "include": "#escaped_char"
1228
- }
1229
- ]
1230
- },
1231
- {
1232
- "begin": "(r)(\")",
1233
- "beginCaptures": {
1234
- "1": {
1235
- "name": "storage.type.string.python"
1236
- },
1237
- "2": {
1238
- "name": "punctuation.definition.string.begin.python"
1239
- }
1240
- },
1241
- "comment": "double-quoted raw string",
1242
- "end": "((?<=\")(\")|\")|(\\n)",
1243
- "endCaptures": {
1244
- "1": {
1245
- "name": "punctuation.definition.string.end.python"
1246
- },
1247
- "2": {
1248
- "name": "meta.empty-string.double.python"
1249
- },
1250
- "3": {
1251
- "name": "invalid.illegal.unclosed-string.python"
1252
- }
1253
- },
1254
- "name": "string.quoted.double.single-line.raw-regex.python",
1255
- "patterns": [
1256
- {
1257
- "include": "#constant_placeholder"
1258
- },
1259
- {
1260
- "include": "#escaped_char"
1261
- },
1262
- {
1263
- "include": "#regular_expressions"
1264
- }
1265
- ]
1266
- },
1267
- {
1268
- "begin": "(R)(\")",
1269
- "beginCaptures": {
1270
- "1": {
1271
- "name": "storage.type.string.python"
1272
- },
1273
- "2": {
1274
- "name": "punctuation.definition.string.begin.python"
1275
- }
1276
- },
1277
- "comment": "double-quoted raw string",
1278
- "end": "((?<=\")(\")|\")|(\\n)",
1279
- "endCaptures": {
1280
- "1": {
1281
- "name": "punctuation.definition.string.end.python"
1282
- },
1283
- "2": {
1284
- "name": "meta.empty-string.double.python"
1285
- },
1286
- "3": {
1287
- "name": "invalid.illegal.unclosed-string.python"
1288
- }
1289
- },
1290
- "name": "string.quoted.double.single-line.raw.python",
1291
- "patterns": [
1292
- {
1293
- "include": "#constant_placeholder"
1294
- },
1295
- {
1296
- "include": "#escaped_char"
1297
- }
1298
- ]
1299
- },
1300
- {
1301
- "begin": "([uU])(\")",
1302
- "beginCaptures": {
1303
- "1": {
1304
- "name": "storage.type.string.python"
1305
- },
1306
- "2": {
1307
- "name": "punctuation.definition.string.begin.python"
1308
- }
1309
- },
1310
- "comment": "double quoted unicode string",
1311
- "end": "((?<=\")(\")|\")|(\\n)",
1312
- "endCaptures": {
1313
- "1": {
1314
- "name": "punctuation.definition.string.end.python"
1315
- },
1316
- "2": {
1317
- "name": "meta.empty-string.double.python"
1318
- },
1319
- "3": {
1320
- "name": "invalid.illegal.unclosed-string.python"
1321
- }
1322
- },
1323
- "name": "string.quoted.double.single-line.unicode.python",
1324
- "patterns": [
1325
- {
1326
- "include": "#constant_placeholder"
1327
- },
1328
- {
1329
- "include": "#escaped_unicode_char"
1330
- },
1331
- {
1332
- "include": "#escaped_char"
1333
- }
1334
- ]
1335
- },
1336
- {
1337
- "begin": "(\"\"\")(?=\\s*(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER))",
1338
- "beginCaptures": {
1339
- "1": {
1340
- "name": "punctuation.definition.string.begin.python"
1341
- }
1342
- },
1343
- "comment": "double quoted string",
1344
- "end": "((?<=\"\"\")(\")\"\"|\"\"\")",
1345
- "endCaptures": {
1346
- "1": {
1347
- "name": "punctuation.definition.string.end.python"
1348
- },
1349
- "2": {
1350
- "name": "meta.empty-string.double.python"
1351
- }
1352
- },
1353
- "name": "string.quoted.double.block.sql.python",
1354
- "patterns": [
1355
- {
1356
- "include": "#constant_placeholder"
1357
- },
1358
- {
1359
- "include": "#escaped_char"
1360
- },
1361
- {
1362
- "include": "source.sql"
1363
- }
1364
- ]
1365
- },
1366
- {
1367
- "begin": "(\")(?=\\s*(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER))",
1368
- "beginCaptures": {
1369
- "1": {
1370
- "name": "punctuation.definition.string.begin.python"
1371
- }
1372
- },
1373
- "comment": "double quoted string",
1374
- "end": "((?<=\")(\")|\")|(\\n)",
1375
- "endCaptures": {
1376
- "1": {
1377
- "name": "punctuation.definition.string.end.python"
1378
- },
1379
- "2": {
1380
- "name": "meta.empty-string.double.python"
1381
- },
1382
- "3": {
1383
- "name": "invalid.illegal.unclosed-string.python"
1384
- }
1385
- },
1386
- "name": "string.quoted.double.single-line.sql.python",
1387
- "patterns": [
1388
- {
1389
- "include": "#constant_placeholder"
1390
- },
1391
- {
1392
- "include": "#escaped_char"
1393
- },
1394
- {
1395
- "include": "source.sql"
1396
- }
1397
- ]
1398
- },
1399
- {
1400
- "begin": "(\"\"\")",
1401
- "beginCaptures": {
1402
- "1": {
1403
- "name": "punctuation.definition.string.begin.python"
1404
- }
1405
- },
1406
- "comment": "double quoted string",
1407
- "end": "((?<=\"\"\")(\")\"\"|\"\"\")",
1408
- "endCaptures": {
1409
- "1": {
1410
- "name": "punctuation.definition.string.end.python"
1411
- },
1412
- "2": {
1413
- "name": "meta.empty-string.double.python"
1414
- }
1415
- },
1416
- "name": "string.quoted.double.block.python",
1417
- "patterns": [
1418
- {
1419
- "include": "#constant_placeholder"
1420
- },
1421
- {
1422
- "include": "#escaped_char"
1423
- }
1424
- ]
1425
- },
1426
- {
1427
- "begin": "(\")",
1428
- "beginCaptures": {
1429
- "1": {
1430
- "name": "punctuation.definition.string.begin.python"
1431
- }
1432
- },
1433
- "comment": "double quoted string",
1434
- "end": "((?<=\")(\")|\")|(\\n)",
1435
- "endCaptures": {
1436
- "1": {
1437
- "name": "punctuation.definition.string.end.python"
1438
- },
1439
- "2": {
1440
- "name": "meta.empty-string.double.python"
1441
- },
1442
- "3": {
1443
- "name": "invalid.illegal.unclosed-string.python"
1444
- }
1445
- },
1446
- "name": "string.quoted.double.single-line.python",
1447
- "patterns": [
1448
- {
1449
- "include": "#constant_placeholder"
1450
- },
1451
- {
1452
- "include": "#escaped_char"
1453
- }
1454
- ]
1455
- }
1456
- ]
1457
- },
1458
- "string_quoted_single": {
1459
- "patterns": [
1460
- {
1461
- "captures": {
1462
- "1": {
1463
- "name": "punctuation.definition.string.begin.python"
1464
- },
1465
- "2": {
1466
- "name": "punctuation.definition.string.end.python"
1467
- },
1468
- "3": {
1469
- "name": "meta.empty-string.single.python"
1470
- }
1471
- },
1472
- "match": "(?<!')(')(('))(?!')",
1473
- "name": "string.quoted.single.single-line.python"
1474
- },
1475
- {
1476
- "begin": "([uU]r)(''')",
1477
- "beginCaptures": {
1478
- "1": {
1479
- "name": "storage.type.string.python"
1480
- },
1481
- "2": {
1482
- "name": "punctuation.definition.string.begin.python"
1483
- }
1484
- },
1485
- "comment": "single quoted unicode-raw string",
1486
- "end": "((?<=''')(')''|''')",
1487
- "endCaptures": {
1488
- "1": {
1489
- "name": "punctuation.definition.string.end.python"
1490
- },
1491
- "2": {
1492
- "name": "meta.empty-string.single.python"
1493
- }
1494
- },
1495
- "name": "string.quoted.single.block.unicode-raw-regex.python",
1496
- "patterns": [
1497
- {
1498
- "include": "#constant_placeholder"
1499
- },
1500
- {
1501
- "include": "#escaped_unicode_char"
1502
- },
1503
- {
1504
- "include": "#escaped_char"
1505
- },
1506
- {
1507
- "include": "#regular_expressions"
1508
- }
1509
- ]
1510
- },
1511
- {
1512
- "begin": "([uU]R)(''')",
1513
- "beginCaptures": {
1514
- "1": {
1515
- "name": "storage.type.string.python"
1516
- },
1517
- "2": {
1518
- "name": "punctuation.definition.string.begin.python"
1519
- }
1520
- },
1521
- "comment": "single quoted unicode-raw string",
1522
- "end": "((?<=''')(')''|''')",
1523
- "endCaptures": {
1524
- "1": {
1525
- "name": "punctuation.definition.string.end.python"
1526
- },
1527
- "2": {
1528
- "name": "meta.empty-string.single.python"
1529
- }
1530
- },
1531
- "name": "string.quoted.single.block.unicode-raw.python",
1532
- "patterns": [
1533
- {
1534
- "include": "#constant_placeholder"
1535
- },
1536
- {
1537
- "include": "#escaped_unicode_char"
1538
- },
1539
- {
1540
- "include": "#escaped_char"
1541
- }
1542
- ]
1543
- },
1544
- {
1545
- "begin": "(r)(''')",
1546
- "beginCaptures": {
1547
- "1": {
1548
- "name": "storage.type.string.python"
1549
- },
1550
- "2": {
1551
- "name": "punctuation.definition.string.begin.python"
1552
- }
1553
- },
1554
- "comment": "single quoted raw string",
1555
- "end": "((?<=''')(')''|''')",
1556
- "endCaptures": {
1557
- "1": {
1558
- "name": "punctuation.definition.string.end.python"
1559
- },
1560
- "2": {
1561
- "name": "meta.empty-string.single.python"
1562
- }
1563
- },
1564
- "name": "string.quoted.single.block.raw-regex.python",
1565
- "patterns": [
1566
- {
1567
- "include": "#constant_placeholder"
1568
- },
1569
- {
1570
- "include": "#escaped_char"
1571
- },
1572
- {
1573
- "include": "#regular_expressions"
1574
- }
1575
- ]
1576
- },
1577
- {
1578
- "begin": "(R)(''')",
1579
- "beginCaptures": {
1580
- "1": {
1581
- "name": "storage.type.string.python"
1582
- },
1583
- "2": {
1584
- "name": "punctuation.definition.string.begin.python"
1585
- }
1586
- },
1587
- "comment": "single quoted raw string",
1588
- "end": "((?<=''')(')''|''')",
1589
- "endCaptures": {
1590
- "1": {
1591
- "name": "punctuation.definition.string.end.python"
1592
- },
1593
- "2": {
1594
- "name": "meta.empty-string.single.python"
1595
- }
1596
- },
1597
- "name": "string.quoted.single.block.raw.python",
1598
- "patterns": [
1599
- {
1600
- "include": "#constant_placeholder"
1601
- },
1602
- {
1603
- "include": "#escaped_char"
1604
- }
1605
- ]
1606
- },
1607
- {
1608
- "begin": "([uU])(''')",
1609
- "beginCaptures": {
1610
- "1": {
1611
- "name": "storage.type.string.python"
1612
- },
1613
- "2": {
1614
- "name": "punctuation.definition.string.begin.python"
1615
- }
1616
- },
1617
- "comment": "single quoted unicode string",
1618
- "end": "((?<=''')(')''|''')",
1619
- "endCaptures": {
1620
- "1": {
1621
- "name": "punctuation.definition.string.end.python"
1622
- },
1623
- "2": {
1624
- "name": "meta.empty-string.single.python"
1625
- }
1626
- },
1627
- "name": "string.quoted.single.block.unicode.python",
1628
- "patterns": [
1629
- {
1630
- "include": "#constant_placeholder"
1631
- },
1632
- {
1633
- "include": "#escaped_unicode_char"
1634
- },
1635
- {
1636
- "include": "#escaped_char"
1637
- }
1638
- ]
1639
- },
1640
- {
1641
- "begin": "([uU]r)(')",
1642
- "beginCaptures": {
1643
- "1": {
1644
- "name": "storage.type.string.python"
1645
- },
1646
- "2": {
1647
- "name": "punctuation.definition.string.begin.python"
1648
- }
1649
- },
1650
- "comment": "single quoted raw string",
1651
- "end": "(')|(\\n)",
1652
- "endCaptures": {
1653
- "1": {
1654
- "name": "punctuation.definition.string.end.python"
1655
- },
1656
- "2": {
1657
- "name": "invalid.illegal.unclosed-string.python"
1658
- }
1659
- },
1660
- "name": "string.quoted.single.single-line.unicode-raw-regex.python",
1661
- "patterns": [
1662
- {
1663
- "include": "#constant_placeholder"
1664
- },
1665
- {
1666
- "include": "#escaped_unicode_char"
1667
- },
1668
- {
1669
- "include": "#escaped_char"
1670
- },
1671
- {
1672
- "include": "#regular_expressions"
1673
- }
1674
- ]
1675
- },
1676
- {
1677
- "begin": "([uU]R)(')",
1678
- "beginCaptures": {
1679
- "1": {
1680
- "name": "storage.type.string.python"
1681
- },
1682
- "2": {
1683
- "name": "punctuation.definition.string.begin.python"
1684
- }
1685
- },
1686
- "comment": "single quoted raw string",
1687
- "end": "(')|(\\n)",
1688
- "endCaptures": {
1689
- "1": {
1690
- "name": "punctuation.definition.string.end.python"
1691
- },
1692
- "2": {
1693
- "name": "invalid.illegal.unclosed-string.python"
1694
- }
1695
- },
1696
- "name": "string.quoted.single.single-line.unicode-raw.python",
1697
- "patterns": [
1698
- {
1699
- "include": "#constant_placeholder"
1700
- },
1701
- {
1702
- "include": "#escaped_unicode_char"
1703
- },
1704
- {
1705
- "include": "#escaped_char"
1706
- }
1707
- ]
1708
- },
1709
- {
1710
- "begin": "(r)(')",
1711
- "beginCaptures": {
1712
- "1": {
1713
- "name": "storage.type.string.python"
1714
- },
1715
- "2": {
1716
- "name": "punctuation.definition.string.begin.python"
1717
- }
1718
- },
1719
- "comment": "single quoted raw string",
1720
- "end": "(')|(\\n)",
1721
- "endCaptures": {
1722
- "1": {
1723
- "name": "punctuation.definition.string.end.python"
1724
- },
1725
- "2": {
1726
- "name": "invalid.illegal.unclosed-string.python"
1727
- }
1728
- },
1729
- "name": "string.quoted.single.single-line.raw-regex.python",
1730
- "patterns": [
1731
- {
1732
- "include": "#constant_placeholder"
1733
- },
1734
- {
1735
- "include": "#escaped_char"
1736
- },
1737
- {
1738
- "include": "#regular_expressions"
1739
- }
1740
- ]
1741
- },
1742
- {
1743
- "begin": "(R)(')",
1744
- "beginCaptures": {
1745
- "1": {
1746
- "name": "storage.type.string.python"
1747
- },
1748
- "2": {
1749
- "name": "punctuation.definition.string.begin.python"
1750
- }
1751
- },
1752
- "comment": "single quoted raw string",
1753
- "end": "(')|(\\n)",
1754
- "endCaptures": {
1755
- "1": {
1756
- "name": "punctuation.definition.string.end.python"
1757
- },
1758
- "2": {
1759
- "name": "invalid.illegal.unclosed-string.python"
1760
- }
1761
- },
1762
- "name": "string.quoted.single.single-line.raw.python",
1763
- "patterns": [
1764
- {
1765
- "include": "#constant_placeholder"
1766
- },
1767
- {
1768
- "include": "#escaped_char"
1769
- }
1770
- ]
1771
- },
1772
- {
1773
- "begin": "([uU])(')",
1774
- "beginCaptures": {
1775
- "1": {
1776
- "name": "storage.type.string.python"
1777
- },
1778
- "2": {
1779
- "name": "punctuation.definition.string.begin.python"
1780
- }
1781
- },
1782
- "comment": "single quoted unicode string",
1783
- "end": "(')|(\\n)",
1784
- "endCaptures": {
1785
- "1": {
1786
- "name": "punctuation.definition.string.end.python"
1787
- },
1788
- "2": {
1789
- "name": "invalid.illegal.unclosed-string.python"
1790
- }
1791
- },
1792
- "name": "string.quoted.single.single-line.unicode.python",
1793
- "patterns": [
1794
- {
1795
- "include": "#constant_placeholder"
1796
- },
1797
- {
1798
- "include": "#escaped_unicode_char"
1799
- },
1800
- {
1801
- "include": "#escaped_char"
1802
- }
1803
- ]
1804
- },
1805
- {
1806
- "begin": "(''')(?=\\s*(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER))",
1807
- "beginCaptures": {
1808
- "1": {
1809
- "name": "punctuation.definition.string.begin.python"
1810
- }
1811
- },
1812
- "comment": "single quoted string",
1813
- "end": "((?<=''')(')''|''')",
1814
- "endCaptures": {
1815
- "1": {
1816
- "name": "punctuation.definition.string.end.python"
1817
- },
1818
- "2": {
1819
- "name": "meta.empty-string.single.python"
1820
- }
1821
- },
1822
- "name": "string.quoted.single.block.python",
1823
- "patterns": [
1824
- {
1825
- "include": "#constant_placeholder"
1826
- },
1827
- {
1828
- "include": "#escaped_char"
1829
- },
1830
- {
1831
- "include": "source.sql"
1832
- }
1833
- ]
1834
- },
1835
- {
1836
- "begin": "(')(?=\\s*(SELECT|INSERT|UPDATE|DELETE|CREATE|REPLACE|ALTER))",
1837
- "beginCaptures": {
1838
- "1": {
1839
- "name": "punctuation.definition.string.begin.python"
1840
- }
1841
- },
1842
- "comment": "single quoted string",
1843
- "end": "(')|(\\n)",
1844
- "endCaptures": {
1845
- "1": {
1846
- "name": "punctuation.definition.string.end.python"
1847
- },
1848
- "2": {
1849
- "name": "invalid.illegal.unclosed-string.python"
1850
- }
1851
- },
1852
- "name": "string.quoted.single.single-line.python",
1853
- "patterns": [
1854
- {
1855
- "include": "#constant_placeholder"
1856
- },
1857
- {
1858
- "include": "#escaped_char"
1859
- },
1860
- {
1861
- "include": "source.sql"
1862
- }
1863
- ]
1864
- },
1865
- {
1866
- "begin": "(''')",
1867
- "beginCaptures": {
1868
- "1": {
1869
- "name": "punctuation.definition.string.begin.python"
1870
- }
1871
- },
1872
- "comment": "single quoted string",
1873
- "end": "((?<=''')(')''|''')",
1874
- "endCaptures": {
1875
- "1": {
1876
- "name": "punctuation.definition.string.end.python"
1877
- },
1878
- "2": {
1879
- "name": "meta.empty-string.single.python"
1880
- }
1881
- },
1882
- "name": "string.quoted.single.block.python",
1883
- "patterns": [
1884
- {
1885
- "include": "#constant_placeholder"
1886
- },
1887
- {
1888
- "include": "#escaped_char"
1889
- }
1890
- ]
1891
- },
1892
- {
1893
- "begin": "(')",
1894
- "beginCaptures": {
1895
- "1": {
1896
- "name": "punctuation.definition.string.begin.python"
1897
- }
1898
- },
1899
- "comment": "single quoted string",
1900
- "end": "(')|(\\n)",
1901
- "endCaptures": {
1902
- "1": {
1903
- "name": "punctuation.definition.string.end.python"
1904
- },
1905
- "2": {
1906
- "name": "invalid.illegal.unclosed-string.python"
1907
- }
1908
- },
1909
- "name": "string.quoted.single.single-line.python",
1910
- "patterns": [
1911
- {
1912
- "include": "#constant_placeholder"
1913
- },
1914
- {
1915
- "include": "#escaped_char"
1916
- }
1917
- ]
1918
- }
1919
- ]
1920
- },
1921
- "strings": {
1922
- "patterns": [
1923
- {
1924
- "include": "#string_quoted_double"
1925
- },
1926
- {
1927
- "include": "#string_quoted_single"
1928
- }
1929
- ]
1930
- }
1931
- },
1932
- "scopeName": "source.python",
1933
- "uuid": "F23DB5B2-7D08-11D9-A709-000D93B6E43C"
1934
- }