ver 2009.10.14 → 2009.11.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (318) hide show
  1. data/CHANGELOG +1094 -0
  2. data/MANIFEST +227 -25
  3. data/README.textile +185 -0
  4. data/bin/ver +96 -12
  5. data/config/detect.rb +73 -21
  6. data/config/keymap/emacs.rb +66 -0
  7. data/config/keymap/vim.rb +250 -140
  8. data/config/preferences/ANTLR.json +10 -0
  9. data/config/preferences/ASP vb.NET.json +3 -0
  10. data/config/preferences/ASP.json +15 -0
  11. data/config/preferences/ActionScript.json +755 -0
  12. data/config/preferences/Active4D.json +89 -0
  13. data/config/preferences/Ada.json +23 -0
  14. data/config/preferences/Ant.json +356 -0
  15. data/config/preferences/Apache.json +644 -0
  16. data/config/preferences/AppleScript.json +92 -0
  17. data/config/preferences/Bison.json +3 -0
  18. data/config/preferences/Blogging.json +3 -0
  19. data/config/preferences/C.json +127 -0
  20. data/config/preferences/CMake.json +41 -0
  21. data/config/preferences/CSS.json +461 -0
  22. data/config/preferences/CTags.json +3 -0
  23. data/config/preferences/CVS.json +3 -0
  24. data/config/preferences/ColdFusion.json +32 -0
  25. data/config/preferences/D.json +58 -0
  26. data/config/preferences/Darcs.json +3 -0
  27. data/config/preferences/Diff.json +67 -0
  28. data/config/preferences/DokuWiki.json +19 -0
  29. data/config/preferences/Doxygen.json +3 -0
  30. data/config/preferences/Dylan.json +3 -0
  31. data/config/preferences/Eiffel.json +59 -0
  32. data/config/preferences/Erlang.json +72 -0
  33. data/config/preferences/Experimental.json +1356 -0
  34. data/config/preferences/F-Script.json +87 -0
  35. data/config/preferences/FXScript.json +78 -0
  36. data/config/preferences/FileMerge.json +3 -0
  37. data/config/preferences/Fortran.json +158 -0
  38. data/config/preferences/GTD2.json +11 -0
  39. data/config/preferences/GTDAlt.json +20 -0
  40. data/config/preferences/GetBundle.json +3 -0
  41. data/config/preferences/Gettext.json +24 -0
  42. data/config/preferences/Graphviz.json +42 -0
  43. data/config/preferences/Greasemonkey.json +3 -0
  44. data/config/preferences/Gri.json +34 -0
  45. data/config/preferences/HTML.json +492 -0
  46. data/config/preferences/Haskell.json +72 -0
  47. data/config/preferences/Hotkey.json +3 -0
  48. data/config/preferences/ImageBrowser.json +3 -0
  49. data/config/preferences/Inform.json +3 -0
  50. data/config/preferences/Ini.json +60 -0
  51. data/config/preferences/Installer.json +3 -0
  52. data/config/preferences/Io.json +64 -0
  53. data/config/preferences/JSON.json +3 -0
  54. data/config/preferences/Java.json +86 -0
  55. data/config/preferences/JavaDoc.json +3 -0
  56. data/config/preferences/JavaScript.json +76 -0
  57. data/config/preferences/LaTeX.json +267 -0
  58. data/config/preferences/Lex/Flex.json +3 -0
  59. data/config/preferences/Lighttpd.json +3 -0
  60. data/config/preferences/LilyPond.json +77 -0
  61. data/config/preferences/Lisp.json +63 -0
  62. data/config/preferences/Logo.json +58 -0
  63. data/config/preferences/Logtalk.json +236 -0
  64. data/config/preferences/Lua.json +24 -0
  65. data/config/preferences/MEL.json +19 -0
  66. data/config/preferences/MIPS Assembler.json +26 -0
  67. data/config/preferences/MacPorts.json +3 -0
  68. data/config/preferences/Mail.json +3 -0
  69. data/config/preferences/Make.json +16 -0
  70. data/config/preferences/Markdown.json +102 -0
  71. data/config/preferences/Math.json +3 -0
  72. data/config/preferences/Matlab.json +128 -0
  73. data/config/preferences/Maven.json +308 -0
  74. data/config/preferences/Mediawiki.json +73 -0
  75. data/config/preferences/Mercurial.json +3 -0
  76. data/config/preferences/Modula.json +37 -0
  77. data/config/preferences/MoinMoin.json +52 -0
  78. data/config/preferences/Navigation.json +3 -0
  79. data/config/preferences/Nemerle.json +3 -0
  80. data/config/preferences/OCaml Code Completion.json +3 -0
  81. data/config/preferences/OCaml.json +163 -0
  82. data/config/preferences/ODCompletion.json +3 -0
  83. data/config/preferences/Objective-C.json +84 -0
  84. data/config/preferences/OpenGL.json +3331 -0
  85. data/config/preferences/Outlines.json +3 -0
  86. data/config/preferences/Pascal.json +60 -0
  87. data/config/preferences/Perforce.json +3 -0
  88. data/config/preferences/Perl.json +15 -0
  89. data/config/preferences/PmWiki.json +27 -0
  90. data/config/preferences/Postscript.json +15 -0
  91. data/config/preferences/Processing.json +32 -0
  92. data/config/preferences/Prolog.json +3 -0
  93. data/config/preferences/Propel.json +3 -0
  94. data/config/preferences/Python.json +38 -0
  95. data/config/preferences/Quake.json +15 -0
  96. data/config/preferences/R.json +33 -0
  97. data/config/preferences/Ragel.json +15 -0
  98. data/config/preferences/Regular Expressions.json +3 -0
  99. data/config/preferences/Remind.json +15 -0
  100. data/config/preferences/Rez.json +46 -0
  101. data/config/preferences/Ruby.json +98 -0
  102. data/config/preferences/S5 Slide Show.json +20 -0
  103. data/config/preferences/SCons.json +3 -0
  104. data/config/preferences/SQL.json +32 -0
  105. data/config/preferences/SSH Config.json +15 -0
  106. data/config/preferences/SVK.json +3 -0
  107. data/config/preferences/SWIG.json +3 -0
  108. data/config/preferences/SWeave.json +32 -0
  109. data/config/preferences/Scheme.json +35 -0
  110. data/config/preferences/Scilab.json +15 -0
  111. data/config/preferences/Setext.json +3 -0
  112. data/config/preferences/Shell Script.json +25 -0
  113. data/config/preferences/Slate.json +113 -0
  114. data/config/preferences/Source.json +132 -0
  115. data/config/preferences/Subversion.json +10 -0
  116. data/config/preferences/TODO.json +3 -0
  117. data/config/preferences/Tabular.json +3 -0
  118. data/config/preferences/Tcl.json +82 -0
  119. data/config/preferences/TerminalMate.json +112 -0
  120. data/config/preferences/Text.json +89 -0
  121. data/config/preferences/TextMate.json +38 -0
  122. data/config/preferences/Textile.json +76 -0
  123. data/config/preferences/Thrift.json +56 -0
  124. data/config/preferences/Transmit.json +3 -0
  125. data/config/preferences/Twiki.json +51 -0
  126. data/config/preferences/Txt2tags.json +81 -0
  127. data/config/preferences/Vectorscript.json +1280 -0
  128. data/config/preferences/XML.json +60 -0
  129. data/config/preferences/Xcode.json +3 -0
  130. data/config/preferences/YAML.json +24 -0
  131. data/config/preferences/iCalendar.json +10 -0
  132. data/config/preferences/iTerm.json +36 -0
  133. data/config/preferences/reStructuredText.json +48 -0
  134. data/config/rc.rb +49 -0
  135. data/config/syntax/ANTLR.json +5 -5
  136. data/config/syntax/{ASP VB.net.json → ASP vb.NET.json } +3 -3
  137. data/config/syntax/ASP.json +1 -1
  138. data/config/syntax/ActionScript.json +6 -6
  139. data/config/syntax/Active4D Config.json +86 -0
  140. data/config/syntax/Active4D Library.json +20 -0
  141. data/config/syntax/Active4D.json +418 -0
  142. data/config/syntax/Ada.json +3 -3
  143. data/config/syntax/Ant.json +196 -0
  144. data/config/syntax/Apache.json +7 -7
  145. data/config/syntax/AppleScript.json +3 -3
  146. data/config/syntax/{Bibtex.json → BibTeX.json} +1 -1
  147. data/config/syntax/Bison.json +59 -0
  148. data/config/syntax/{Blog (HTML).json → Blog - HTML.json } +2 -2
  149. data/config/syntax/{Blog (Markdown).json → Blog - Markdown.json } +2 -2
  150. data/config/syntax/Blog (Text).json b/data/config/syntax/Blog - → Text.json +0 -0
  151. data/config/syntax/Blog (Textile).json b/data/config/syntax/Blog - → Textile.json +0 -0
  152. data/config/syntax/C++.json +3 -3
  153. data/config/syntax/C.json +13 -13
  154. data/config/syntax/CMake Listfile.json +171 -0
  155. data/config/syntax/CSS.json +6 -6
  156. data/config/syntax/CSV.json +108 -0
  157. data/config/syntax/ColdFusion.json +204 -0
  158. data/config/syntax/D.json +560 -0
  159. data/config/syntax/Diff.json +1 -1
  160. data/config/syntax/DokuWiki.json +412 -0
  161. data/config/syntax/Doxygen.json +80 -0
  162. data/config/syntax/Dylan.json +4 -4
  163. data/config/syntax/Erlang.json +5 -5
  164. data/config/syntax/F-Script.json +1 -1
  165. data/config/syntax/FXScript.json +5 -5
  166. data/config/syntax/Fortran - Modern.json +221 -0
  167. data/config/syntax/Fortran - Punchcard.json +468 -0
  168. data/config/syntax/GTD.json +39 -0
  169. data/config/syntax/GTDalt.json +233 -0
  170. data/config/syntax/Gettext.json +118 -0
  171. data/config/syntax/Go.json +555 -0
  172. data/config/syntax/{DOT.json → Graphviz (DOT).json } +3 -3
  173. data/config/syntax/Greasemonkey.json +56 -0
  174. data/config/syntax/Gri.json +4 -4
  175. data/config/syntax/{HTML-ASP.json → HTML (ASP).json } +1 -1
  176. data/config/syntax/{HTML for ASP.net.json → HTML (ASP.net).json } +19 -19
  177. data/config/syntax/HTML (Active4D).json +540 -0
  178. data/config/syntax/HTML (Erlang).json +31 -0
  179. data/config/syntax/HTML (Tcl).json +1 -1
  180. data/config/syntax/HTML.json +20 -20
  181. data/config/syntax/Haskell.json +3 -3
  182. data/config/syntax/Installer Distribution Script.json +135 -0
  183. data/config/syntax/Io.json +6 -6
  184. data/config/syntax/JSON.json +151 -0
  185. data/config/syntax/{JavaProperties.json → Java Properties.json } +2 -2
  186. data/config/syntax/Java Server Page (JSP).json +163 -0
  187. data/config/syntax/Java.json +7 -7
  188. data/config/syntax/JavaDoc.json +435 -0
  189. data/config/syntax/JavaScript.json +8 -8
  190. data/config/syntax/LaTeX Log.json +3 -3
  191. data/config/syntax/LaTeX Memoir.json +101 -0
  192. data/config/syntax/LaTeX.json +2 -2
  193. data/config/syntax/Lex-Flex.json +396 -0
  194. data/config/syntax/LilyPond.json +608 -0
  195. data/config/syntax/Logo.json +48 -0
  196. data/config/syntax/Logtalk.json +6 -6
  197. data/config/syntax/Lua.json +1 -1
  198. data/config/syntax/{M.json → MATLAB.json} +3 -3
  199. data/config/syntax/MEL.json +7 -7
  200. data/config/syntax/MIPS.json b/data/config/syntax/MIPS → Assembler.json +0 -0
  201. data/config/syntax/MacPorts Portfile.json +298 -0
  202. data/config/syntax/Mail.json +1 -1
  203. data/config/syntax/Markdown.json +6 -6
  204. data/config/syntax/Maven POM.json +774 -0
  205. data/config/syntax/Mediawiki.json +736 -0
  206. data/config/syntax/MoinMoin.json +335 -0
  207. data/config/syntax/MultiMarkdown.json +41 -0
  208. data/config/syntax/Nemerle.json +128 -0
  209. data/config/syntax/OCaml.json +4 -4
  210. data/config/syntax/OCamllex.json +307 -0
  211. data/config/syntax/OCamlyacc.json +346 -0
  212. data/config/syntax/Objective-C++.json +2 -2
  213. data/config/syntax/Objective-C.json +979 -0
  214. data/config/syntax/Octave.json +417 -0
  215. data/config/syntax/PHP.json +32 -32
  216. data/config/syntax/Pascal.json +1 -1
  217. data/config/syntax/Perl.json +8 -8
  218. data/config/syntax/{Plain text.json → Plain Text.json } +1 -1
  219. data/config/syntax/PmWiki.json +241 -0
  220. data/config/syntax/Postscript.json +206 -0
  221. data/config/syntax/Processing.json +8 -8
  222. data/config/syntax/Prolog.json +70 -0
  223. data/config/syntax/Python.json +1934 -0
  224. data/config/syntax/{Quake3 Config.json → Quake Style .cfg.json } +1 -1
  225. data/config/syntax/R.json +2 -2
  226. data/config/syntax/Ragel.json +362 -0
  227. data/config/syntax/Rd (R Documentation).json +119 -0
  228. data/config/syntax/Regular Expressions (Oniguruma).json +186 -0
  229. data/config/syntax/Regular Expressions (Python).json +188 -0
  230. data/config/syntax/Release Notes.json +78 -0
  231. data/config/syntax/Remind.json +461 -0
  232. data/config/syntax/Rez.json +5 -5
  233. data/config/syntax/Ruby Sass.json +497 -0
  234. data/config/syntax/Ruby.json +13 -13
  235. data/config/syntax/S5 Slide Show.json +85 -0
  236. data/config/syntax/SQL.json +11 -11
  237. data/config/syntax/SSH Config.json +55 -0
  238. data/config/syntax/SWIG.json +2 -2
  239. data/config/syntax/SWeave.json +139 -0
  240. data/config/syntax/Scheme.json +8 -8
  241. data/config/syntax/Scilab.json +69 -0
  242. data/config/syntax/Setext.json +247 -0
  243. data/config/syntax/{Shell-Unix-Generic.json → Shell Script (Bash).json } +4 -4
  244. data/config/syntax/Slate.json +5 -5
  245. data/config/syntax/Strings File.json +53 -0
  246. data/config/syntax/TSV.json +83 -0
  247. data/config/syntax/Tcl.json +1 -1
  248. data/config/syntax/TeX Math.json +2 -2
  249. data/config/syntax/TeX.json +2 -2
  250. data/config/syntax/Textile.json +9 -9
  251. data/config/syntax/Thrift.json +641 -0
  252. data/config/syntax/Twiki.json +1 -1
  253. data/config/syntax/Txt2tags.json +154 -0
  254. data/config/syntax/XML strict.json +4 -4
  255. data/config/syntax/XML.json +6 -6
  256. data/config/syntax/XSL.json +2 -2
  257. data/config/syntax/camlp4.json +63 -0
  258. data/config/syntax/mod_perl.json +72 -0
  259. data/config/syntax/reStructuredText.json +1 -1
  260. data/config/syntax/{Subversion commit message.json → svn-commit.tmp.json} +0 -0
  261. data/config/tutorial +23 -19
  262. data/config/welcome +3 -3
  263. data/lib/ver.rb +273 -62
  264. data/lib/ver/entry.rb +142 -26
  265. data/lib/ver/font.rb +51 -0
  266. data/lib/ver/help.rb +16 -0
  267. data/lib/ver/help/describe_key.rb +82 -0
  268. data/lib/ver/help/help_for_help.rb +39 -0
  269. data/lib/ver/hover_completion.rb +129 -0
  270. data/lib/ver/keymap.rb +95 -24
  271. data/lib/ver/layout.rb +107 -43
  272. data/lib/ver/methods.rb +24 -8
  273. data/lib/ver/methods/clipboard.rb +91 -0
  274. data/lib/ver/methods/completion.rb +146 -71
  275. data/lib/ver/methods/control.rb +203 -222
  276. data/lib/ver/methods/ctags.rb +55 -0
  277. data/lib/ver/methods/delete.rb +30 -0
  278. data/lib/ver/methods/help.rb +7 -0
  279. data/lib/ver/methods/insert.rb +233 -1
  280. data/lib/ver/methods/move.rb +181 -32
  281. data/lib/ver/methods/open.rb +208 -0
  282. data/lib/ver/methods/preview.rb +14 -0
  283. data/lib/ver/methods/save.rb +111 -0
  284. data/lib/ver/methods/search.rb +57 -7
  285. data/lib/ver/methods/select.rb +97 -17
  286. data/lib/ver/methods/shortcuts.rb +21 -0
  287. data/lib/ver/methods/views.rb +56 -1
  288. data/lib/ver/mode.rb +60 -14
  289. data/lib/ver/status.rb +97 -19
  290. data/lib/ver/syntax.rb +14 -6
  291. data/lib/ver/syntax/detector.rb +16 -5
  292. data/lib/ver/syntax/processor.rb +9 -3
  293. data/lib/ver/text.rb +258 -199
  294. data/lib/ver/text/index.rb +103 -0
  295. data/lib/ver/theme.rb +27 -16
  296. data/lib/ver/tooltip.rb +59 -0
  297. data/lib/ver/vendor/binary_search.rb +61 -0
  298. data/lib/ver/vendor/levenshtein.rb +57 -0
  299. data/lib/ver/{textpow.rb → vendor/textpow.rb} +31 -29
  300. data/lib/ver/view.rb +65 -41
  301. data/lib/ver/view/console.rb +171 -0
  302. data/lib/ver/view/entry.rb +9 -5
  303. data/lib/ver/view/list.rb +44 -29
  304. data/lib/ver/view/list/ex.rb +71 -0
  305. data/lib/ver/view/list/grep.rb +42 -0
  306. data/lib/ver/view/list/methods.rb +159 -0
  307. data/lib/ver/view/term.rb +249 -0
  308. data/tasks/syntax_list.rake +3 -2
  309. data/ver.gemspec +4 -4
  310. metadata +230 -28
  311. data/config/syntax/Bulletin Board.json +0 -428
  312. data/config/syntax/HTML (Mason).json +0 -207
  313. data/config/syntax/HTML (Rails).json +0 -52
  314. data/config/syntax/Movable Type.json +0 -348
  315. data/config/syntax/Ruby on Rails.json +0 -170
  316. data/config/syntax/SQL (Rails).json +0 -31
  317. data/config/syntax/Smarty.json +0 -110
  318. data/config/syntax/Standard ML.json +0 -322
@@ -0,0 +1,39 @@
1
+ {
2
+ "fileTypes": [
3
+ "gtd"
4
+ ],
5
+ "keyEquivalent": "^~G",
6
+ "name": "GTD",
7
+ "patterns": [
8
+ {
9
+ "match": "[A-Z][a-z]+([A-Z][a-z]*)+",
10
+ "name": "markup.other.pagename"
11
+ },
12
+ {
13
+ "match": "^-\\s{2}\\S+\\s",
14
+ "name": "string.unquoted.gtd"
15
+ },
16
+ {
17
+ "match": "^<-\\s\\S+\\s",
18
+ "name": "entity.name.tag.gtd"
19
+ },
20
+ {
21
+ "match": "^->\\s\\S+\\s",
22
+ "name": "constant.language.gtd"
23
+ },
24
+ {
25
+ "match": "^\\+\\s{2}\\S+\\s",
26
+ "name": "variable.language.gtd"
27
+ },
28
+ {
29
+ "match": "^\\^\\s{2}\\S+\\s",
30
+ "name": "comment.line.gtd"
31
+ },
32
+ {
33
+ "match": "^\\!\\s{2}\\S+\\s",
34
+ "name": "support.class.exception.gtd"
35
+ }
36
+ ],
37
+ "scopeName": "text.html.markdown.wiki.gtd",
38
+ "uuid": "A984336E-2C65-4152-8FC0-34D2E73721DA"
39
+ }
@@ -0,0 +1,233 @@
1
+ {
2
+ "fileTypes": [
3
+ "gtd",
4
+ "gtdlog"
5
+ ],
6
+ "foldingStartMarker": "^\\s*project",
7
+ "foldingStopMarker": "^\\s*end\\s*$",
8
+ "keyEquivalent": "^~G",
9
+ "name": "GTDalt",
10
+ "patterns": [
11
+ {
12
+ "begin": "^\\s*(project)\\s+(.*)(\\n)",
13
+ "beginCaptures": {
14
+ "0": {
15
+ "name": "meta.line.project.begin.gtdalt"
16
+ },
17
+ "1": {
18
+ "name": "keyword.control.project.begin.gtdalt"
19
+ },
20
+ "2": {
21
+ "name": "entity.name.section.project.title.gtdalt"
22
+ },
23
+ "3": {
24
+ "name": "meta.project.newline.gtdalt"
25
+ }
26
+ },
27
+ "end": "^\\s*(end)\\s*",
28
+ "endCaptures": {
29
+ "0": {
30
+ "name": "meta.line.project.end.gtdalt"
31
+ },
32
+ "1": {
33
+ "name": "keyword.control.project.end.gtdalt"
34
+ }
35
+ },
36
+ "name": "meta.project.begin.gtdalt",
37
+ "patterns": [
38
+ {
39
+ "include": "$self"
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "captures": {
45
+ "1": {
46
+ "name": "storage.type.context.action.gtdalt"
47
+ },
48
+ "2": {
49
+ "name": "punctuation.definition.context.action.gtdalt"
50
+ }
51
+ },
52
+ "match": "^\\s*((@)\\S++\\n)",
53
+ "name": "meta.action.only-context.gtdalt"
54
+ },
55
+ {
56
+ "begin": "^\\s*((@)\\S++\\s)",
57
+ "beginCaptures": {
58
+ "1": {
59
+ "name": "storage.type.context.action.gtdalt"
60
+ },
61
+ "2": {
62
+ "name": "punctuation.definition.context.action.gtdalt"
63
+ }
64
+ },
65
+ "end": "\\n|$",
66
+ "name": "meta.action.gtdalt",
67
+ "patterns": [
68
+ {
69
+ "include": "#note"
70
+ },
71
+ {
72
+ "include": "#date"
73
+ },
74
+ {
75
+ "include": "#title"
76
+ }
77
+ ]
78
+ },
79
+ {
80
+ "captures": {
81
+ "0": {
82
+ "name": "comment.line.number-sign.action.completed.gtdalt"
83
+ },
84
+ "2": {
85
+ "name": "punctuation.definition.completed.gtdalt"
86
+ },
87
+ "3": {
88
+ "name": "punctuation.definition.completed.gtdalt"
89
+ },
90
+ "4": {
91
+ "name": "string.quoted.other.timestamp.action.completed.gtdalt"
92
+ },
93
+ "5": {
94
+ "name": "punctuation.definition.date.gtdalt"
95
+ },
96
+ "6": {
97
+ "name": "punctuation.definition.date.gtdalt"
98
+ }
99
+ },
100
+ "match": "^((#)completed(:))((\\[)\\d{4}-\\d{2}-\\d{2}(\\]))\\s*(.*)",
101
+ "name": "meta.action.completed.gtdalt"
102
+ },
103
+ {
104
+ "begin": "^((\\[)\\d+(\\]))",
105
+ "beginCaptures": {
106
+ "1": {
107
+ "name": "support.other.note.gtdalt"
108
+ },
109
+ "2": {
110
+ "name": "punctuation.definition.note.note.gtdalt"
111
+ },
112
+ "3": {
113
+ "name": "punctuation.definition.note.note.gtdalt"
114
+ }
115
+ },
116
+ "end": "\\n|$",
117
+ "name": "meta.note.gtdalt",
118
+ "patterns": [
119
+ {
120
+ "include": "#link"
121
+ }
122
+ ]
123
+ },
124
+ {
125
+ "captures": {
126
+ "1": {
127
+ "name": "punctuation.separator.archived.gtdalt"
128
+ },
129
+ "2": {
130
+ "name": "string.quoted.other.timestamp.action.archived.gtdalt"
131
+ },
132
+ "3": {
133
+ "name": "punctuation.separator.archived.gtdalt"
134
+ },
135
+ "4": {
136
+ "name": "support.other.project.action.archived.gtdalt"
137
+ },
138
+ "5": {
139
+ "name": "punctuation.separator.archived.gtdalt"
140
+ },
141
+ "6": {
142
+ "name": "storage.type.context.action.archived.gtdalt"
143
+ },
144
+ "7": {
145
+ "name": "comment.line.slash.action.archived.gtdalt"
146
+ }
147
+ },
148
+ "match": "^(\\/)(\\d{4}-\\d{2}-\\d{2})(\\/)([^\\/]+)(\\/)(@\\S+)\\s++(.*)$",
149
+ "name": "meta.action.archived.gtdalt"
150
+ },
151
+ {
152
+ "captures": {
153
+ "1": {
154
+ "name": "punctuation.separator.archived.gtdalt"
155
+ },
156
+ "2": {
157
+ "name": "string.quoted.other.timestamp.project.archived.gtdalt"
158
+ },
159
+ "3": {
160
+ "name": "punctuation.separator.archived.gtdalt"
161
+ },
162
+ "4": {
163
+ "name": "support.other.project.archived.gtdalt"
164
+ }
165
+ },
166
+ "match": "^(\\/)(\\d{4}-\\d{2}-\\d{2})(\\/)([^\\/]+)$",
167
+ "name": "meta.project.archived.gtdalt"
168
+ },
169
+ {
170
+ "captures": {
171
+ "1": {
172
+ "name": "punctuation.definition.comment.gtdalt"
173
+ }
174
+ },
175
+ "match": "^(#)\\s+.*$",
176
+ "name": "comment.line.number-sign.generic.gtdalt"
177
+ }
178
+ ],
179
+ "repository": {
180
+ "date": {
181
+ "captures": {
182
+ "1": {
183
+ "name": "keyword.operator.due.gtdalt"
184
+ },
185
+ "2": {
186
+ "name": "punctuation.separator.key-value.due.gtdalt"
187
+ },
188
+ "3": {
189
+ "name": "string.quoted.other.timestamp.due.gtdalt"
190
+ },
191
+ "4": {
192
+ "name": "punctuation.definition.due.gtdalt"
193
+ },
194
+ "5": {
195
+ "name": "punctuation.definition.due.gtdalt"
196
+ }
197
+ },
198
+ "match": "((?:due|at|from)(:))((\\[)\\d{4}-\\d{2}-\\d{2}(\\]))"
199
+ },
200
+ "link": {
201
+ "captures": {
202
+ "1": {
203
+ "name": "punctuation.definition.link.gtdalt"
204
+ },
205
+ "2": {
206
+ "name": "markup.underline.link.gtdalt"
207
+ },
208
+ "3": {
209
+ "name": "punctuation.definition.link.gtdalt"
210
+ }
211
+ },
212
+ "match": "(<)([^>]*)(>)"
213
+ },
214
+ "note": {
215
+ "captures": {
216
+ "1": {
217
+ "name": "punctuation.definition.note.gtdalt"
218
+ },
219
+ "2": {
220
+ "name": "punctuation.definition.note.gtdalt"
221
+ }
222
+ },
223
+ "match": "(\\[)\\d+(\\])",
224
+ "name": "support.other.note.gtdalt"
225
+ },
226
+ "title": {
227
+ "match": "\\S+(?:\\s+\\S+)*?(?=\\s*(?:\\[\\d+\\]|(?:due|at|from):|$))",
228
+ "name": "constant.other.title.gtdalt"
229
+ }
230
+ },
231
+ "scopeName": "text.gtdalt",
232
+ "uuid": "C36472BD-A8CD-4613-A595-CEFB052E6181"
233
+ }
@@ -0,0 +1,118 @@
1
+ {
2
+ "comment": "\nTODO: Command for copy original to untranslated, label as fuzzy, remove fuzzy, next fuzzy etc\nCreate meta scope for each entry\n",
3
+ "fileTypes": [
4
+ "po",
5
+ "potx"
6
+ ],
7
+ "foldingStartMarker": "#[ \\.:,|]",
8
+ "foldingStopMarker": "^\\s*$",
9
+ "keyEquivalent": "^~G",
10
+ "name": "Gettext",
11
+ "patterns": [
12
+ {
13
+ "begin": "msgid\\s+\"\"",
14
+ "end": "^$",
15
+ "name": "entity.name.section.header.po"
16
+ },
17
+ {
18
+ "captures": {
19
+ "1": {
20
+ "name": "constant.character.double-quote.po"
21
+ },
22
+ "2": {
23
+ "name": "string.quoted.double.po"
24
+ },
25
+ "3": {
26
+ "name": "constant.character.double-quote.po"
27
+ }
28
+ },
29
+ "match": "^msgid(?:_plural)?\\s+(\")(.*)(\")\\s*$",
30
+ "name": "keyword.control.msgid.po"
31
+ },
32
+ {
33
+ "captures": {
34
+ "1": {
35
+ "name": "constant.character.double-quote.po"
36
+ },
37
+ "2": {
38
+ "name": "string.quoted.double.po"
39
+ },
40
+ "3": {
41
+ "name": "constant.character.double-quote.po"
42
+ }
43
+ },
44
+ "match": "^msgstr(?:\\[\\d?\\])?\\s+(\")(.*)(\")\\s*$",
45
+ "name": "keyword.control.msgstr.po"
46
+ },
47
+ {
48
+ "captures": {
49
+ "1": {
50
+ "name": "constant.character.double-quote.po"
51
+ },
52
+ "2": {
53
+ "name": "string.quoted.double.po"
54
+ },
55
+ "3": {
56
+ "name": "constant.character.double-quote.po"
57
+ }
58
+ },
59
+ "match": "^msgctxt(?:\\[\\d?\\])?\\s+(\")(.*)(\")\\s*$",
60
+ "name": "keyword.control.msgctxt.po"
61
+ },
62
+ {
63
+ "captures": {
64
+ "1": {
65
+ "name": "constant.character.double-quote.po"
66
+ },
67
+ "2": {
68
+ "name": "string.quoted.double.po"
69
+ },
70
+ "3": {
71
+ "name": "constant.character.double-quote.po"
72
+ }
73
+ },
74
+ "match": "^(\")(.+)(\")\\s*$",
75
+ "name": "string.quoted.double.po"
76
+ },
77
+ {
78
+ "match": "^#\\s+(.*)\\s*$",
79
+ "name": "comment.line.number-sign.po"
80
+ },
81
+ {
82
+ "captures": {
83
+ "1": {
84
+ "name": "keyword.other.flag.po"
85
+ }
86
+ },
87
+ "match": "^#,\\s+((?:(?:fuzzy)|(?:no-)?(?:c|objc|sh|lisp|elisp|librep|scheme|smalltalk|java|csharp|awk|object-pascal|ycp|tcl|perl|perl-brace|php|gcc-internal|qt|boost)-format)(?:,\\s*(?:(?:fuzzy)|(?:no-)?(?:c|objc|sh|lisp|elisp|librep|scheme|smalltalk|java|csharp|awk|object-pascal|ycp|tcl|perl|perl-brace|php|gcc-internal|qt|boost)-format))*)\\s*$",
88
+ "name": "comment.line.number-sign.flag.po"
89
+ },
90
+ {
91
+ "match": "^#\\.\\s+(.*)\\s*$",
92
+ "name": "comment.line.number-sign.extracted.po"
93
+ },
94
+ {
95
+ "captures": {
96
+ "1": {
97
+ "name": "constant.character.sourceref.po"
98
+ },
99
+ "3": {
100
+ "name": "constant.numeric.linenumber.po"
101
+ }
102
+ },
103
+ "match": "^#:\\s+((.*))(:([\\d;]*))\\s*$",
104
+ "name": "comment.line.number-sign.reference.po"
105
+ },
106
+ {
107
+ "match": "^#|\\s+(msgid|msgctxt)\\s+(\".*\")\\s*$",
108
+ "name": "comment.line.number-sign.previous.po"
109
+ },
110
+ {
111
+ "comment": "a line that does not begin with # or \". Could improve this regexp",
112
+ "match": "^[^#\"].*$",
113
+ "name": "invalid.illegal.po"
114
+ }
115
+ ],
116
+ "scopeName": "source.po",
117
+ "uuid": "F07730BD-59BC-41D0-AC3F-4AB2DCB6C54A"
118
+ }
@@ -0,0 +1,555 @@
1
+ {
2
+ "comment": "Go language",
3
+ "fileTypes": [
4
+ "go"
5
+ ],
6
+ "foldingStartMarker": "(?x)/\\*\\*(?!\\*)|^(?![^{]*?//|[^{]*?/\\*(?!.*?\\*/.*?\\{)).*?\\{\\s*($|//|/\\*(?!.*?\\*/.*\\S))",
7
+ "foldingStopMarker": "(?<!\\*)\\*\\*/|^\\s*\\}",
8
+ "keyEquivalent": "^~G",
9
+ "name": "Go",
10
+ "patterns": [
11
+ {
12
+ "captures": {
13
+ "0": {
14
+ "name": "punctuation.definition.comment.go"
15
+ }
16
+ },
17
+ "match": "/\\*\\*/",
18
+ "name": "comment.block.empty.go"
19
+ },
20
+ {
21
+ "include": "text.html.javadoc"
22
+ },
23
+ {
24
+ "begin": "(?x)^\\s*\n\t\t\t\t\t((?:\\b(public|private|protected|static|final|native|synchronized|abstract|export)\\b\\s*)*) # modifier\n\t\t\t\t\t(class|interface)\\s+\n\t\t\t\t\t(\\w+)\\s* # identifier\n\t\t\t\t\t(?:\\(\\s*([^\\)]+)\\s*\\)|)\\s* # Template type\n\t\t\t\t\t(?:\n\t\t\t\t\t \\s*(:)\\s*\n\t\t\t\t\t (\\w+)\n\t\t\t\t\t (?:\\s*,\\s*(\\w+))?\n\t\t\t\t\t (?:\\s*,\\s*(\\w+))?\n\t\t\t\t\t (?:\\s*,\\s*(\\w+))?\n\t\t\t\t\t (?:\\s*,\\s*(\\w+))?\n\t\t\t\t\t (?:\\s*,\\s*(\\w+))?\n\t\t\t\t\t (?:\\s*,\\s*(\\w+))?\n\t\t\t\t\t)? # super class\n\t\t\t\t\t",
25
+ "beginCaptures": {
26
+ "1": {
27
+ "name": "storage.modifier.go"
28
+ },
29
+ "10": {
30
+ "name": "entity.other.inherited-class.go"
31
+ },
32
+ "11": {
33
+ "name": "entity.other.inherited-class.go"
34
+ },
35
+ "12": {
36
+ "name": "entity.other.inherited-class.go"
37
+ },
38
+ "13": {
39
+ "name": "entity.other.inherited-class.go"
40
+ },
41
+ "3": {
42
+ "name": "storage.type.structure.go"
43
+ },
44
+ "4": {
45
+ "name": "entity.name.type.class.go"
46
+ },
47
+ "5": {
48
+ "name": "storage.type.template.go"
49
+ },
50
+ "6": {
51
+ "name": "punctuation.separator.inheritance.go"
52
+ },
53
+ "7": {
54
+ "name": "entity.other.inherited-class.go"
55
+ },
56
+ "8": {
57
+ "name": "entity.other.inherited-class.go"
58
+ },
59
+ "9": {
60
+ "name": "entity.other.inherited-class.go"
61
+ }
62
+ },
63
+ "end": "(?={)",
64
+ "name": "meta.definition.class.go",
65
+ "patterns": [
66
+ {
67
+ "begin": "\\b(_|:)\\b",
68
+ "captures": {
69
+ "1": {
70
+ "name": "storage.modifier.go"
71
+ }
72
+ },
73
+ "end": "(?={)",
74
+ "name": "meta.definition.class.extends.go",
75
+ "patterns": [
76
+ {
77
+ "include": "#all-types"
78
+ }
79
+ ]
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "begin": "(?x)^\\s*\n\t\t\t\t\t((?:\\b(public|private|protected|static|final|native|synchronized|abstract|export)\\b\\s*)*) # modifier\n\t\t\t\t\t(struct)\\s+\n\t\t\t\t\t(\\w+)\\s* # identifier\n\t\t\t\t\t(?:\\(\\s*([^\\)]+)\\s*\\)|)\\s* # Template type\n\t\t\t\t\t",
85
+ "beginCaptures": {
86
+ "1": {
87
+ "name": "storage.modifier.go"
88
+ },
89
+ "3": {
90
+ "name": "storage.type.structure.go"
91
+ },
92
+ "4": {
93
+ "name": "entity.name.type.struct.go"
94
+ },
95
+ "5": {
96
+ "name": "storage.type.template.go"
97
+ }
98
+ },
99
+ "end": "(?={)",
100
+ "name": "meta.definition.struct.go",
101
+ "patterns": [
102
+ {
103
+ "begin": "\\b(_|:)\\b",
104
+ "captures": {
105
+ "1": {
106
+ "name": "storage.modifier.go"
107
+ }
108
+ },
109
+ "end": "(?={)",
110
+ "name": "meta.definition.class.extends.go",
111
+ "patterns": [
112
+ {
113
+ "include": "#all-types"
114
+ }
115
+ ]
116
+ }
117
+ ]
118
+ },
119
+ {
120
+ "begin": "(?x)^\\s*\n\t\t\t\t\t((?:\\b(public|private|protected|static|final|native|synchronized|abstract|threadsafe|transient|export)\\b\\s*)*) # modifier\n\t\t\t\t\t(\\b(this))\\s* # identifier\n\t\t\t\t\t(?!.*;) # abort if line has a ;\n\t\t\t\t\t(?=\\()",
121
+ "captures": {
122
+ "1": {
123
+ "name": "storage.modifier.go"
124
+ },
125
+ "3": {
126
+ "name": "entity.name.function.constructor.go"
127
+ }
128
+ },
129
+ "end": "(?={)",
130
+ "name": "meta.definition.constructor.go",
131
+ "patterns": [
132
+ {
133
+ "include": "$base"
134
+ }
135
+ ]
136
+ },
137
+ {
138
+ "begin": "(?x)\n \t\t\t\t(?: ^ # begin-of-line\n \t\t\t\t | (?: (?<!else|new|=) ) # or word + space before name\n \t\t\t\t)\n\t\t\t\t\t((?:\\b(?:public|private|protected|static|final|native|synchronized|abstract|threadsafe|transient|export)\\b\\s*)*) # modifier\n \t\t\t\t(~this) # actual name\n \t\t\t\t \\s*(\\() # start bracket or end-of-line\n \t\t\t",
139
+ "captures": {
140
+ "1": {
141
+ "name": "storage.modifier.go"
142
+ },
143
+ "2": {
144
+ "name": "entity.name.function.destructor.go"
145
+ }
146
+ },
147
+ "end": "\\)",
148
+ "endCaptures": {
149
+ "0": {
150
+ "name": "punctuation.definition.parameters.go"
151
+ }
152
+ },
153
+ "name": "meta.definition.destructor.go",
154
+ "patterns": [
155
+ {
156
+ "include": "$base"
157
+ }
158
+ ]
159
+ },
160
+ {
161
+ "begin": "(?x)^\\s*\n\t\t\t\t\t((?:\\b(?:public|private|protected|static|final|native|lazy|synchronized|abstract|threadsafe|transient|export)\\b\\s*)*) # modifier\n\t\t\t\t\t(\\b(?:void|boolean|byte|char|short|int|float|long|double|[\\w_]+[\\w0-9_]*|(?:\\w+\\.)*[A-Z]\\w+)\\b(?:<(?:(?:(?:\\w+\\.)*[A-Z]\\w+)(?:\\s*,\\s*)?)+>|(?:\\[\\s*\\])*)?)\\s* # type\n\t\t\t\t\t(\\w+)\\s* # identifier\n\t\t\t\t\t(?!.*;) # abort if line has a ;\n\t\t\t\t\t(?=\\()",
162
+ "beginCaptures": {
163
+ "1": {
164
+ "name": "storage.modifier.go"
165
+ },
166
+ "2": {
167
+ "name": "storage.type.structure.go"
168
+ },
169
+ "3": {
170
+ "name": "entity.name.function.go"
171
+ }
172
+ },
173
+ "end": "(?={)",
174
+ "name": "meta.definition.method.go",
175
+ "patterns": [
176
+ {
177
+ "include": "$base"
178
+ }
179
+ ]
180
+ },
181
+ {
182
+ "match": "\\b([A-Z][A-Z0-9_]+)\\b",
183
+ "name": "constant.other.go"
184
+ },
185
+ {
186
+ "include": "#comments"
187
+ },
188
+ {
189
+ "include": "#all-types"
190
+ },
191
+ {
192
+ "match": "<-",
193
+ "name": "constant.language.chsendrecv.go"
194
+ },
195
+ {
196
+ "match": "\\b(private|protected|public|export)\\b",
197
+ "name": "storage.modifier.access-control.go"
198
+ },
199
+ {
200
+ "match": "\\b(auto|static|override|final|const|abstract|volatile|synchronized|lazy|map|seq|gen)\\b",
201
+ "name": "storage.modifier.go"
202
+ },
203
+ {
204
+ "match": "\\b(template|interface|class|enum|struct|union|range)\\b",
205
+ "name": "storage.type.structure.go"
206
+ },
207
+ {
208
+ "match": "\\b(var|ushort|int|uint|long|ulong|float|void|byte|ubyte|double|bit|char|wchar|ucent|cent|short|bool|dchar|real|ireal|ifloat|idouble|creal|cfloat|cdouble|lazy)\\b",
209
+ "name": "storage.type.go"
210
+ },
211
+ {
212
+ "match": "\\b(try|catch|finally|throw)\\b",
213
+ "name": "keyword.control.exception.go"
214
+ },
215
+ {
216
+ "match": "\\b(return|break|select|case|continue|default|do|while|for|switch|if|else)\\b",
217
+ "name": "keyword.control.go"
218
+ },
219
+ {
220
+ "match": "\\b(if|else|switch|iftype)\\b",
221
+ "name": "keyword.control.conditional.go"
222
+ },
223
+ {
224
+ "match": "\\b(goto|break|continue|go)\\b",
225
+ "name": "keyword.control.branch.go"
226
+ },
227
+ {
228
+ "match": "\\b(while|for|do|foreach(_reverse)?)\\b",
229
+ "name": "keyword.control.repeat.go"
230
+ },
231
+ {
232
+ "match": "\\b(version|return|with|invariant|body|scope|in|ta|chan|out|inout|asm|mixin|delegate|type|func)\\b",
233
+ "name": "keyword.control.statement.go"
234
+ },
235
+ {
236
+ "match": "\\b(pragma)\\b",
237
+ "name": "keyword.control.pragma.go"
238
+ },
239
+ {
240
+ "match": "\\b(alias|typedef)\\b",
241
+ "name": "keyword.control.alias.go"
242
+ },
243
+ {
244
+ "match": "\\b(import)\\b",
245
+ "name": "keyword.control.import.go"
246
+ },
247
+ {
248
+ "captures": {
249
+ "1": {
250
+ "name": "keyword.control.module.go"
251
+ },
252
+ "2": {
253
+ "name": "entity.name.function.package.go"
254
+ }
255
+ },
256
+ "match": "^\\s*(module)\\s+([^ ;]+?);",
257
+ "name": "meta.module.go"
258
+ },
259
+ {
260
+ "match": "\\b(true|false)\\b",
261
+ "name": "constant.language.boolean.go"
262
+ },
263
+ {
264
+ "match": "\\b(__FILE__|__LINE__|__DATE__|__TIME__|__TIMESTAMP__|nil|_)\\b",
265
+ "name": "constant.language.go"
266
+ },
267
+ {
268
+ "match": "\\b(this|super)\\b",
269
+ "name": "variable.language.go"
270
+ },
271
+ {
272
+ "match": "\\b((0(x|X)[0-9a-fA-F]*)|(([0-9]+\\.?[0-9]*)|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)([LlFfUuDd]|UL|ul)?\\b",
273
+ "name": "constant.numeric.go"
274
+ },
275
+ {
276
+ "include": "#string_escaped_char"
277
+ },
278
+ {
279
+ "include": "#strings"
280
+ },
281
+ {
282
+ "match": "(==|!=|<=|>=|<>|<|>)",
283
+ "name": "keyword.operator.comparison.go"
284
+ },
285
+ {
286
+ "match": "(\\-\\-|\\+\\+)",
287
+ "name": "keyword.operator.increment-decrement.go"
288
+ },
289
+ {
290
+ "match": "(\\-|\\+|\\*|\\/|~|%)",
291
+ "name": "keyword.operator.arithmetic.go"
292
+ },
293
+ {
294
+ "match": "(!|&&|\\|\\|)",
295
+ "name": "keyword.operator.logical.go"
296
+ },
297
+ {
298
+ "match": "\\b(opNeg|opCom|opPostInc|opPostDec|opCast|opAdd|opSub|opSub_r|opMul|opDiv|opDiv_r|opMod|opMod_r|opAnd|opOr|opXor|opShl|opShl_r|opShr|opShr_r|opUShr|opUShr_r|opCat|opCat_r|opEquals|opEquals|opCmp|opCmp|opCmp|opCmp|opAddAssign|opSubAssign|opMulAssign|opDivAssign|opModAssign|opAndAssign|opOrAssign|opXorAssign|opShlAssign|opShrAssign|opUShrAssign|opCatAssign|opIndex|opIndexAssign|opCall|opSlice|opSliceAssign|opPos|opAdd_r|opMul_r|opAnd_r|opOr_r|opXor_r)\\b",
299
+ "name": "keyword.operator.overload.go"
300
+ },
301
+ {
302
+ "match": "\\b(new|delete|typeof|typeid|cast|align|is|make|expect)\\b",
303
+ "name": "keyword.operator.go"
304
+ },
305
+ {
306
+ "match": "\\b(new|throws)\\b",
307
+ "name": "keyword.other.class-fns.go"
308
+ },
309
+ {
310
+ "match": "\\b(package|extern)\\b",
311
+ "name": "keyword.other.external.go"
312
+ },
313
+ {
314
+ "match": "\\b(deprecated|unittest|debug)\\b",
315
+ "name": "keyword.other.debug.go"
316
+ },
317
+ {
318
+ "match": "\\b(u_char|u_short|u_int|u_long|ushort|uint|u_quad_t|quad_t|qaddr_t|caddr_t|daddr_t|dev_t|fixpt_t|blkcnt_t|blksize_t|gid_t|in_addr_t|in_port_t|ino_t|key_t|mode_t|nlink_t|id_t|pid_t|off_t|segsz_t|swblk_t|uid_t|id_t|clock_t|size_t|ssize_t|time_t|useconds_t|suseconds_t)\\b",
319
+ "name": "support.type.sys-types.c"
320
+ },
321
+ {
322
+ "match": "\\b(pthread_attr_t|pthread_cond_t|pthread_condattr_t|pthread_mutex_t|pthread_mutexattr_t|pthread_once_t|pthread_rwlock_t|pthread_rwlockattr_t|pthread_t|pthread_key_t)\\b",
323
+ "name": "support.type.pthread.c"
324
+ },
325
+ {
326
+ "match": "\\b(int8|int16|int32|int64|uint8|uint16|uint32|uint64|int_least8|int_least16|int_least32|int_least64|uint_least8|uint_least16|uint_least32|uint_least64|int_fast8|int_fast16|int_fast32|int_fast64|uint_fast8|uint_fast16|uint_fast32|uint_fast64|intptr|uintptr|intmax|intmax|uintmax|uintmax|float64|float32)\\b",
327
+ "name": "support.type.stdint.c"
328
+ }
329
+ ],
330
+ "repository": {
331
+ "all-types": {
332
+ "patterns": [
333
+ {
334
+ "include": "#support-type-built-ins-d"
335
+ },
336
+ {
337
+ "include": "#storage-type-d"
338
+ }
339
+ ]
340
+ },
341
+ "comments": {
342
+ "patterns": [
343
+ {
344
+ "begin": "/\\*",
345
+ "captures": {
346
+ "0": {
347
+ "name": "punctuation.definition.comment.go"
348
+ }
349
+ },
350
+ "end": "\\*/",
351
+ "name": "comment.block.go"
352
+ },
353
+ {
354
+ "begin": "/\\+",
355
+ "captures": {
356
+ "0": {
357
+ "name": "punctuation.definition.comment.go"
358
+ }
359
+ },
360
+ "end": "\\+/",
361
+ "name": "comment.block.nested.go"
362
+ },
363
+ {
364
+ "captures": {
365
+ "1": {
366
+ "name": "punctuation.definition.comment.go"
367
+ }
368
+ },
369
+ "match": "(//).*$\\n?",
370
+ "name": "comment.line.double-slash.go"
371
+ }
372
+ ]
373
+ },
374
+ "constant_placeholder": {
375
+ "match": "(?i:%(\\([a-z_]+\\))?#?0?\\-?[ ]?\\+?([0-9]*|\\*)(\\.([0-9]*|\\*))?[hL]?[a-z%])",
376
+ "name": "constant.other.placeholder.go"
377
+ },
378
+ "regular_expressions": {
379
+ "comment": "Change disabled to 1 to turn off syntax highlighting in \u201cr\u201d strings.",
380
+ "disabled": 1,
381
+ "patterns": [
382
+ {
383
+ "include": "source.regexp.python"
384
+ }
385
+ ]
386
+ },
387
+ "statement-remainder": {
388
+ "patterns": [
389
+ {
390
+ "begin": "\\(",
391
+ "end": "(?=\\))",
392
+ "name": "meta.definition.param-list.go",
393
+ "patterns": [
394
+ {
395
+ "include": "#all-types"
396
+ }
397
+ ]
398
+ },
399
+ {
400
+ "begin": "(throws)",
401
+ "captures": {
402
+ "1": {
403
+ "name": "keyword.other.class-fns.go"
404
+ }
405
+ },
406
+ "end": "(?={)",
407
+ "name": "meta.definition.throws.go",
408
+ "patterns": [
409
+ {
410
+ "include": "#all-types"
411
+ }
412
+ ]
413
+ }
414
+ ]
415
+ },
416
+ "storage-type-d": {
417
+ "match": "\\b(void|byte|short|char|int|long|float|string|double|boolean|([a-z]\\w+\\.)*[A-Z]\\w+)\\b",
418
+ "name": "storage.type.go"
419
+ },
420
+ "string_escaped_char": {
421
+ "patterns": [
422
+ {
423
+ "match": "\\\\(\\\\|[abefnprtv'\"?]|[0-3]\\d{,2}|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8}|&\\w+;)",
424
+ "name": "constant.character.escape.go"
425
+ },
426
+ {
427
+ "match": "\\\\.",
428
+ "name": "invalid.illegal.unknown-escape.go"
429
+ }
430
+ ]
431
+ },
432
+ "strings": {
433
+ "patterns": [
434
+ {
435
+ "begin": "\"",
436
+ "beginCaptures": {
437
+ "0": {
438
+ "name": "punctuation.definition.string.begin.go"
439
+ }
440
+ },
441
+ "end": "\"",
442
+ "endCaptures": {
443
+ "0": {
444
+ "name": "punctuation.definition.string.end.go"
445
+ }
446
+ },
447
+ "name": "string.quoted.double.go",
448
+ "patterns": [
449
+ {
450
+ "include": "#string_escaped_char"
451
+ }
452
+ ]
453
+ },
454
+ {
455
+ "begin": "(r)(\")",
456
+ "beginCaptures": {
457
+ "1": {
458
+ "name": "storage.type.string.go"
459
+ },
460
+ "2": {
461
+ "name": "punctuation.definition.string.begin.go"
462
+ }
463
+ },
464
+ "end": "((?<=\")(\")|\")",
465
+ "endCaptures": {
466
+ "1": {
467
+ "name": "punctuation.definition.string.end.go"
468
+ },
469
+ "2": {
470
+ "name": "meta.empty-string.double.go"
471
+ }
472
+ },
473
+ "name": "string.quoted.double.raw.go",
474
+ "patterns": [
475
+ {
476
+ "include": "#regular_expressions"
477
+ }
478
+ ]
479
+ },
480
+ {
481
+ "begin": "`",
482
+ "beginCaptures": {
483
+ "0": {
484
+ "name": "punctuation.definition.string.begin.go"
485
+ }
486
+ },
487
+ "end": "((?<=`)(`)|`)",
488
+ "endCaptures": {
489
+ "1": {
490
+ "name": "punctuation.definition.string.end.go"
491
+ },
492
+ "2": {
493
+ "name": "meta.empty-string.double.go"
494
+ }
495
+ },
496
+ "name": "string.quoted.double.raw.backtick.go"
497
+ },
498
+ {
499
+ "begin": "'",
500
+ "beginCaptures": {
501
+ "0": {
502
+ "name": "punctuation.definition.string.begin.go"
503
+ }
504
+ },
505
+ "end": "'",
506
+ "endCaptures": {
507
+ "0": {
508
+ "name": "punctuation.definition.string.end.go"
509
+ }
510
+ },
511
+ "name": "string.quoted.single.go",
512
+ "patterns": [
513
+ {
514
+ "include": "#string_escaped_char"
515
+ }
516
+ ]
517
+ }
518
+ ]
519
+ },
520
+ "support-type-built-ins-classes-d": {
521
+ "match": "\\b(print|println|assert|panic|panicln)\\b",
522
+ "name": "support.type.built-ins.functions.go"
523
+ },
524
+ "support-type-built-ins-d": {
525
+ "patterns": [
526
+ {
527
+ "include": "#support-type-built-ins-exceptions-d"
528
+ },
529
+ {
530
+ "include": "#support-type-built-ins-classes-d"
531
+ },
532
+ {
533
+ "include": "#support-type-built-ins-interfaces-d"
534
+ },
535
+ {
536
+ "include": "#support-type-built-ins-structs-d"
537
+ }
538
+ ]
539
+ },
540
+ "support-type-built-ins-exceptions-d": {
541
+ "match": "\\b(__todo__)\\b",
542
+ "name": "support.type.built-ins.exceptions.go"
543
+ },
544
+ "support-type-built-ins-interfaces-d": {
545
+ "match": "\\b(__todo__)\\b",
546
+ "name": "support.type.built-ins.interfaces.go"
547
+ },
548
+ "support-type-built-ins-structs-d": {
549
+ "match": "\\b(__todo__)\\b",
550
+ "name": "support.type.built-ins.structs.go"
551
+ }
552
+ },
553
+ "scopeName": "source.go",
554
+ "uuid": "B64C47C0-FDE6-434B-A547-B6D05DC2CC90"
555
+ }