github-linguist 5.3.3 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (460) hide show
  1. checksums.yaml +4 -4
  2. data/bin/git-linguist +5 -2
  3. data/ext/linguist/linguist.c +18 -7
  4. data/grammars/annotation.liquidhaskell.haskell.json +969 -862
  5. data/grammars/config.xcompose.json +22 -25
  6. data/grammars/file.lasso.json +296 -309
  7. data/grammars/hint.haskell.json +867 -766
  8. data/grammars/hint.message.haskell.json +867 -766
  9. data/grammars/hint.type.haskell.json +867 -766
  10. data/grammars/objdump.x86asm.json +20 -24
  11. data/grammars/source.Kotlin.json +220 -225
  12. data/grammars/source.LS.json +36 -55
  13. data/grammars/source.MCPOST.json +24 -38
  14. data/grammars/source.MOD.json +26 -41
  15. data/grammars/source.SASLog.json +9 -16
  16. data/grammars/source.abap.json +48 -56
  17. data/grammars/source.abl.json +8 -14
  18. data/grammars/source.abnf.json +88 -98
  19. data/grammars/source.actionscript.3.json +398 -429
  20. data/grammars/source.acucobol.json +5 -8
  21. data/grammars/source.ada.json +46 -53
  22. data/grammars/source.afm.json +548 -554
  23. data/grammars/source.agc.json +34 -37
  24. data/grammars/source.agda.json +79 -91
  25. data/grammars/source.ahk.json +62 -66
  26. data/grammars/source.alloy.json +16 -20
  27. data/grammars/source.ampl.json +41 -47
  28. data/grammars/source.angelscript.json +71 -80
  29. data/grammars/source.antlr.json +131 -136
  30. data/grammars/source.apache-config.json +93 -99
  31. data/grammars/source.apache-config.mod_perl.json +19 -24
  32. data/grammars/source.apl.json +1038 -1029
  33. data/grammars/source.applescript.json +501 -523
  34. data/grammars/source.apt.json +9 -16
  35. data/grammars/source.asn.json +27 -31
  36. data/grammars/source.asp.json +61 -67
  37. data/grammars/source.aspectj.json +385 -391
  38. data/grammars/source.assembly.json +49 -55
  39. data/grammars/source.ats.json +45 -121
  40. data/grammars/source.autoit.json +64 -69
  41. data/grammars/source.awk.json +172 -176
  42. data/grammars/source.ballerina.json +48 -395
  43. data/grammars/source.batchfile.json +269 -269
  44. data/grammars/source.befunge.json +17 -21
  45. data/grammars/source.bf.json +5 -11
  46. data/grammars/source.bison.json +10 -14
  47. data/grammars/source.blitzmax.json +300 -305
  48. data/grammars/source.boo.json +189 -193
  49. data/grammars/source.brightauthorproject.json +8 -13
  50. data/grammars/source.brightscript.json +37 -47
  51. data/grammars/source.bro.json +134 -140
  52. data/grammars/source.bsl.json +152 -193
  53. data/grammars/source.bsv.json +96 -102
  54. data/grammars/source.c++.json +176 -193
  55. data/grammars/source.c++.qt.json +13 -21
  56. data/grammars/source.c.ec.json +15 -21
  57. data/grammars/source.c.json +237 -251
  58. data/grammars/source.c.platform.json +153 -159
  59. data/grammars/source.c2hs.json +3 -6
  60. data/grammars/source.cabal.json +17 -20
  61. data/grammars/source.cache.cmake.json +18 -23
  62. data/grammars/source.cake.json +4 -7
  63. data/grammars/source.camlp4.ocaml.json +24 -27
  64. data/grammars/source.capnp.json +33 -38
  65. data/grammars/source.ceylon.json +44 -50
  66. data/grammars/source.cfscript.cfc.json +78 -86
  67. data/grammars/source.cfscript.json +513 -520
  68. data/grammars/source.changelogs.rpm-spec.json +8 -16
  69. data/grammars/source.chapel.json +109 -87
  70. data/grammars/source.cirru.json +25 -30
  71. data/grammars/source.clarion.json +41 -54
  72. data/grammars/source.clean.json +90 -95
  73. data/grammars/source.click.json +25 -28
  74. data/grammars/source.clips.json +10 -23
  75. data/grammars/source.clojure.json +151 -168
  76. data/grammars/source.cm.json +14 -19
  77. data/grammars/source.cmake.json +53 -61
  78. data/grammars/source.cobol.json +165 -180
  79. data/grammars/source.coffee.json +454 -462
  80. data/grammars/source.cool.json +36 -43
  81. data/grammars/source.coq.json +17 -21
  82. data/grammars/source.crystal.json +889 -983
  83. data/grammars/source.cs.json +739 -740
  84. data/grammars/source.csound-document.json +69 -73
  85. data/grammars/source.csound-score.json +52 -55
  86. data/grammars/source.csound.json +167 -171
  87. data/grammars/source.css.json +683 -688
  88. data/grammars/source.css.less.json +211 -511
  89. data/grammars/source.css.mss.json +94 -101
  90. data/grammars/source.css.postcss.sugarss.json +260 -0
  91. data/grammars/source.csx.json +4 -7
  92. data/grammars/source.cuda-c++.json +47 -81
  93. data/grammars/source.cwl.json +103 -0
  94. data/grammars/source.cython.json +536 -582
  95. data/grammars/source.d.json +243 -252
  96. data/grammars/source.dart.json +161 -166
  97. data/grammars/source.data-weave.json +901 -905
  98. data/grammars/source.desktop.json +29 -33
  99. data/grammars/source.diff.json +43 -52
  100. data/grammars/source.disasm.json +15 -16
  101. data/grammars/source.ditroff.desc.json +73 -84
  102. data/grammars/source.ditroff.json +60 -61
  103. data/grammars/source.dm.json +202 -213
  104. data/grammars/source.dmf.json +44 -47
  105. data/grammars/source.dockerfile.json +29 -34
  106. data/grammars/source.dot.json +46 -55
  107. data/grammars/source.dylan.json +63 -68
  108. data/grammars/source.ebnf.json +55 -62
  109. data/grammars/source.eiffel.json +57 -62
  110. data/grammars/source.elixir.json +321 -366
  111. data/grammars/source.emacs.lisp.json +458 -249
  112. data/grammars/source.erazor.json +49 -57
  113. data/grammars/source.erlang.json +508 -515
  114. data/grammars/source.essl.json +17 -30
  115. data/grammars/source.factor.json +85 -91
  116. data/grammars/source.fan.json +92 -96
  117. data/grammars/source.fancy.json +93 -118
  118. data/grammars/source.fish.json +74 -98
  119. data/grammars/source.fontforge.json +142 -146
  120. data/grammars/source.forth.json +42 -57
  121. data/grammars/source.fortran.json +193 -231
  122. data/grammars/source.fortran.modern.json +77 -103
  123. data/grammars/source.fsharp.fsi.json +1 -6
  124. data/grammars/source.fsharp.fsl.json +1 -6
  125. data/grammars/source.fsharp.fsx.json +1 -6
  126. data/grammars/source.fsharp.json +148 -153
  127. data/grammars/source.gap.json +60 -70
  128. data/grammars/source.gcode.json +9 -16
  129. data/grammars/source.gdb.json +63 -79
  130. data/grammars/source.gdb.session.json +27 -28
  131. data/grammars/source.gdbregs.json +7 -8
  132. data/grammars/source.gdscript.json +92 -96
  133. data/grammars/source.gerber.json +38 -56
  134. data/grammars/source.gfm.json +447 -462
  135. data/grammars/source.glsl.json +58 -83
  136. data/grammars/source.gn.json +188 -193
  137. data/grammars/source.gnuplot.json +104 -120
  138. data/grammars/source.go.json +169 -181
  139. data/grammars/source.golo.json +82 -87
  140. data/grammars/source.gosu.2.json +58 -68
  141. data/grammars/source.grace.json +266 -270
  142. data/grammars/source.graphql.json +586 -596
  143. data/grammars/source.groovy.gradle.json +18 -22
  144. data/grammars/source.groovy.json +422 -433
  145. data/grammars/source.harbour.json +129 -173
  146. data/grammars/source.haskell.json +871 -772
  147. data/grammars/source.haxe.2.json +402 -413
  148. data/grammars/source.hlsl.json +6 -16
  149. data/grammars/source.hsc2hs.json +1 -4
  150. data/grammars/source.hsig.json +871 -770
  151. data/grammars/source.hss.1.json +122 -144
  152. data/grammars/source.httpspec.json +119 -123
  153. data/grammars/source.hxml.json +8 -15
  154. data/grammars/source.ideal.json +125 -125
  155. data/grammars/source.idl-dlm.json +25 -32
  156. data/grammars/source.idl.json +59 -80
  157. data/grammars/source.idris.json +171 -185
  158. data/grammars/source.inform7.json +117 -121
  159. data/grammars/source.ini.json +37 -43
  160. data/grammars/source.io.json +65 -73
  161. data/grammars/source.ioke.json +72 -78
  162. data/grammars/source.isabelle.root.json +26 -30
  163. data/grammars/source.isabelle.theory.json +46 -50
  164. data/grammars/source.j.json +18 -21
  165. data/grammars/source.jasmin.json +45 -50
  166. data/grammars/source.java-properties.json +31 -41
  167. data/grammars/source.java.json +333 -342
  168. data/grammars/source.jcl.json +15 -18
  169. data/grammars/source.jflex.json +166 -172
  170. data/grammars/source.jison.json +331 -334
  171. data/grammars/source.jisonlex-injection.json +1 -2
  172. data/grammars/source.jisonlex.json +148 -151
  173. data/grammars/source.jolie.json +37 -43
  174. data/grammars/source.jq.json +80 -87
  175. data/grammars/source.js.json +798 -818
  176. data/grammars/source.js.jsx.json +2115 -2225
  177. data/grammars/source.js.objj.json +167 -172
  178. data/grammars/source.js.regexp.json +50 -50
  179. data/grammars/source.js.regexp.replacement.json +7 -7
  180. data/grammars/source.jsdoc.json +94 -94
  181. data/grammars/source.json.json +61 -71
  182. data/grammars/source.julia.console.json +5 -6
  183. data/grammars/source.julia.json +237 -234
  184. data/grammars/source.lean.json +55 -67
  185. data/grammars/source.lid.json +6 -10
  186. data/grammars/source.lilypond.json +181 -195
  187. data/grammars/source.lisp.json +40 -50
  188. data/grammars/source.litcoffee.json +169 -183
  189. data/grammars/source.livescript.json +207 -220
  190. data/grammars/source.llvm.json +28 -38
  191. data/grammars/source.logos.json +7 -14
  192. data/grammars/source.logtalk.json +136 -141
  193. data/grammars/source.loomscript.json +77 -83
  194. data/grammars/source.lsl.json +90 -106
  195. data/grammars/source.lua.json +100 -109
  196. data/grammars/source.makefile.json +181 -188
  197. data/grammars/source.makegen.json +3 -7
  198. data/grammars/source.mask.json +260 -265
  199. data/grammars/source.mata.json +38 -46
  200. data/grammars/source.mathematica.json +155 -167
  201. data/grammars/source.matlab.json +407 -684
  202. data/grammars/source.maxscript.json +293 -281
  203. data/grammars/source.mercury.json +179 -184
  204. data/grammars/source.meson.json +52 -58
  205. data/grammars/source.meta-info.json +64 -74
  206. data/grammars/source.ml.json +107 -113
  207. data/grammars/source.modelica.json +51 -59
  208. data/grammars/source.modula2.json +33 -42
  209. data/grammars/source.monkey.json +234 -241
  210. data/grammars/source.moonscript.json +51 -56
  211. data/grammars/source.mql5.json +74 -101
  212. data/grammars/source.mupad.json +30 -72
  213. data/grammars/source.ncl.json +1 -14
  214. data/grammars/source.ne.json +39 -42
  215. data/grammars/source.nemerle.json +58 -63
  216. data/grammars/source.nesc.json +9 -15
  217. data/grammars/source.netlinx.erb.json +13 -25
  218. data/grammars/source.netlinx.json +231 -292
  219. data/grammars/source.nextflow-groovy.json +1360 -0
  220. data/grammars/source.nextflow.json +74 -0
  221. data/grammars/source.nginx.json +274 -287
  222. data/grammars/source.nim.json +442 -483
  223. data/grammars/source.nim_filter.json +6 -26
  224. data/grammars/source.nimcfg.json +38 -51
  225. data/grammars/source.ninja.json +64 -70
  226. data/grammars/source.nit.json +60 -64
  227. data/grammars/source.nix.json +269 -273
  228. data/grammars/source.nmml.json +31 -37
  229. data/grammars/source.nsis.json +66 -72
  230. data/grammars/source.nu.json +129 -139
  231. data/grammars/source.nut.json +129 -133
  232. data/grammars/source.objc++.json +3 -10
  233. data/grammars/source.objc.json +303 -314
  234. data/grammars/source.objc.platform.json +145 -151
  235. data/grammars/source.ocaml.json +506 -514
  236. data/grammars/source.ocamllex.json +108 -115
  237. data/grammars/source.ocamlyacc.json +116 -123
  238. data/grammars/source.ooc.json +148 -155
  239. data/grammars/source.opa.json +39 -49
  240. data/grammars/source.opal.json +84 -89
  241. data/grammars/source.opalsysdefs.json +9 -13
  242. data/grammars/source.opencobol.json +22 -25
  243. data/grammars/source.opentype.json +148 -152
  244. data/grammars/source.ox.json +36 -44
  245. data/grammars/source.oz.json +31 -38
  246. data/grammars/source.p4.json +49 -59
  247. data/grammars/source.pan.json +273 -278
  248. data/grammars/source.papyrus.skyrim.json +705 -781
  249. data/grammars/source.parrot.pir.json +59 -65
  250. data/grammars/source.pascal.json +54 -61
  251. data/grammars/source.pawn.json +835 -849
  252. data/grammars/source.pcb.board.json +153 -158
  253. data/grammars/source.pcb.schematic.json +134 -138
  254. data/grammars/source.pcb.sexp.json +64 -74
  255. data/grammars/source.pep8.json +28 -32
  256. data/grammars/source.perl.6.json +83 -92
  257. data/grammars/source.perl.json +711 -737
  258. data/grammars/source.perl6fe.json +1204 -1218
  259. data/grammars/source.php.zephir.json +80 -89
  260. data/grammars/source.pic.json +137 -142
  261. data/grammars/source.pig_latin.json +76 -80
  262. data/grammars/source.pike.json +23 -36
  263. data/grammars/source.po.json +74 -84
  264. data/grammars/source.pogoscript.json +23 -29
  265. data/grammars/source.pony.json +98 -108
  266. data/grammars/source.postcss.json +370 -0
  267. data/grammars/source.postscript.json +88 -97
  268. data/grammars/source.pov-ray sdl.json +36 -42
  269. data/grammars/source.powershell.json +175 -197
  270. data/grammars/source.processing.json +236 -249
  271. data/grammars/source.prolog.eclipse.json +33 -38
  272. data/grammars/source.prolog.json +66 -72
  273. data/grammars/source.protobuf.json +88 -94
  274. data/grammars/source.puppet.json +144 -151
  275. data/grammars/source.purescript.json +268 -289
  276. data/grammars/source.pyjade.json +256 -281
  277. data/grammars/source.python.django.json +13 -18
  278. data/grammars/source.python.json +3319 -3367
  279. data/grammars/source.python.salt.json +3 -7
  280. data/grammars/source.qmake.json +83 -90
  281. data/grammars/source.qml.json +57 -78
  282. data/grammars/source.quoting.perl6fe.json +666 -669
  283. data/grammars/source.r.json +75 -84
  284. data/grammars/source.racket.json +17 -38
  285. data/grammars/source.rascal.json +77 -80
  286. data/grammars/source.reason.hover.type.json +1 -1
  287. data/grammars/source.reason.json +1025 -1080
  288. data/grammars/source.rebol.json +167 -177
  289. data/grammars/source.red.json +169 -177
  290. data/grammars/source.regexp.babel.json +74 -77
  291. data/grammars/source.regexp.extended.json +4 -5
  292. data/grammars/source.regexp.json +260 -264
  293. data/grammars/source.regexp.perl6fe.json +108 -111
  294. data/grammars/source.regexp.python.json +210 -215
  295. data/grammars/source.regexp.spin.json +63 -72
  296. data/grammars/source.renpy.json +617 -687
  297. data/grammars/source.rexx.json +25 -32
  298. data/grammars/source.ring.json +84 -114
  299. data/grammars/source.rpm-spec.json +392 -401
  300. data/grammars/source.ruby.gemfile.json +9 -12
  301. data/grammars/source.ruby.json +862 -952
  302. data/grammars/source.ruby.rspec.cucumber.steps.json +90 -103
  303. data/grammars/source.rust.json +223 -281
  304. data/grammars/source.sas.json +88 -105
  305. data/grammars/source.sass.json +100 -108
  306. data/grammars/source.sbt.json +16 -23
  307. data/grammars/source.scad.json +60 -67
  308. data/grammars/source.scala.json +215 -228
  309. data/grammars/source.scaml.json +120 -135
  310. data/grammars/source.scheme.json +119 -136
  311. data/grammars/source.scilab.json +40 -47
  312. data/grammars/source.scss.json +369 -403
  313. data/grammars/source.sdbl.json +14 -25
  314. data/grammars/source.shaderlab.json +24 -27
  315. data/grammars/source.shell.json +409 -440
  316. data/grammars/source.shen.json +75 -94
  317. data/grammars/source.smali.json +232 -293
  318. data/grammars/source.smalltalk.json +60 -75
  319. data/grammars/source.smt.json +67 -82
  320. data/grammars/source.solidity.json +35 -54
  321. data/grammars/source.sp.json +40 -45
  322. data/grammars/source.sparql.json +3 -8
  323. data/grammars/source.spin.json +277 -297
  324. data/grammars/source.sqf.json +34 -44
  325. data/grammars/source.sql.json +142 -156
  326. data/grammars/source.stan.json +201 -160
  327. data/grammars/source.stata.json +57 -68
  328. data/grammars/source.strings.json +26 -30
  329. data/grammars/source.stylus.json +558 -565
  330. data/grammars/source.supercollider.json +33 -40
  331. data/grammars/source.swift.json +999 -1077
  332. data/grammars/source.systemverilog.json +351 -365
  333. data/grammars/source.tcl.json +77 -94
  334. data/grammars/source.tea.json +61 -67
  335. data/grammars/source.terra.json +25 -32
  336. data/grammars/source.terraform.json +68 -88
  337. data/grammars/source.thrift.json +300 -306
  338. data/grammars/source.tl.json +112 -117
  339. data/grammars/source.tla.json +65 -69
  340. data/grammars/source.toc.json +21 -25
  341. data/grammars/source.toml.json +117 -122
  342. data/grammars/source.ts.json +2838 -2774
  343. data/grammars/source.tsx.json +180 -184
  344. data/grammars/source.turing.json +970 -974
  345. data/grammars/source.turtle.json +124 -140
  346. data/grammars/source.txl.json +23 -37
  347. data/grammars/source.ucfconstraints.json +16 -21
  348. data/grammars/source.ur.json +15 -27
  349. data/grammars/source.vala.json +221 -235
  350. data/grammars/source.varnish.vcl.json +117 -129
  351. data/grammars/source.vbnet.json +69 -106
  352. data/grammars/source.verilog.json +101 -107
  353. data/grammars/source.vhdl.json +437 -445
  354. data/grammars/source.viml.json +540 -550
  355. data/grammars/source.wavefront.mtl.json +274 -277
  356. data/grammars/source.wavefront.obj.json +781 -784
  357. data/grammars/source.wdl.json +66 -46
  358. data/grammars/source.webassembly.json +97 -102
  359. data/grammars/source.webidl.json +311 -326
  360. data/grammars/source.x10.json +28 -32
  361. data/grammars/source.x86asm.json +21 -26
  362. data/grammars/source.xc.json +164 -172
  363. data/grammars/source.xq.json +81 -92
  364. data/grammars/source.xtend.json +199 -208
  365. data/grammars/source.yaml-ext.json +118 -124
  366. data/grammars/source.yaml.json +155 -174
  367. data/grammars/source.yaml.salt.json +113 -116
  368. data/grammars/source.yang.json +10 -13
  369. data/grammars/source.yara.json +98 -0
  370. data/grammars/text.bibtex.json +95 -100
  371. data/grammars/text.cfml.basic.json +403 -404
  372. data/grammars/text.elixir.json +18 -23
  373. data/grammars/text.error-list.json +15 -16
  374. data/grammars/text.find-refs.json +487 -488
  375. data/grammars/text.gherkin.feature.json +45 -53
  376. data/grammars/text.haml.json +176 -189
  377. data/grammars/text.hamlc.json +82 -88
  378. data/grammars/text.html.abl.json +16 -21
  379. data/grammars/text.html.asciidoc.json +139 -153
  380. data/grammars/text.html.asdoc.json +145 -155
  381. data/grammars/text.html.asp.json +23 -28
  382. data/grammars/text.html.basic.json +323 -338
  383. data/grammars/text.html.cfm.json +316 -325
  384. data/grammars/text.html.creole.json +177 -189
  385. data/grammars/text.html.django.json +27 -33
  386. data/grammars/text.html.ecr.json +21 -25
  387. data/grammars/text.html.elixir.json +3 -9
  388. data/grammars/text.html.erb.json +81 -85
  389. data/grammars/text.html.erlang.yaws.json +24 -29
  390. data/grammars/text.html.factor.json +5 -11
  391. data/grammars/text.html.ftl.json +16 -25
  392. data/grammars/text.html.handlebars.json +579 -598
  393. data/grammars/text.html.javadoc.json +426 -0
  394. data/grammars/text.html.js.json +11 -17
  395. data/grammars/text.html.jsp.json +377 -384
  396. data/grammars/text.html.liquid.json +8 -18
  397. data/grammars/text.html.mako.json +257 -275
  398. data/grammars/text.html.markdown.source.gfm.apib.json +419 -427
  399. data/grammars/text.html.markdown.source.gfm.mson.json +405 -414
  400. data/grammars/text.html.mediawiki.json +318 -344
  401. data/grammars/text.html.php.blade.json +2134 -2140
  402. data/grammars/text.html.php.json +980 -1013
  403. data/grammars/text.html.slash.json +101 -107
  404. data/grammars/text.html.smarty.json +75 -83
  405. data/grammars/text.html.soy.json +250 -253
  406. data/grammars/text.html.ssp.json +18 -24
  407. data/grammars/text.html.tcl.json +17 -24
  408. data/grammars/text.html.twig.json +712 -718
  409. data/grammars/text.idl-idldoc.json +5 -9
  410. data/grammars/text.jade.json +213 -235
  411. data/grammars/text.junit-test-report.json +25 -28
  412. data/grammars/text.log.latex.json +44 -46
  413. data/grammars/text.marko.json +370 -401
  414. data/grammars/text.python.console.json +3 -7
  415. data/grammars/text.python.traceback.json +2 -5
  416. data/grammars/text.rdoc.json +15 -19
  417. data/grammars/text.restructuredtext.clean.json +8 -11
  418. data/grammars/text.restructuredtext.json +886 -873
  419. data/grammars/text.robot.json +26 -36
  420. data/grammars/text.roff.json +2852 -2915
  421. data/grammars/text.runoff.json +56 -69
  422. data/grammars/text.sfd.json +151 -155
  423. data/grammars/text.shell-session.json +5 -8
  424. data/grammars/text.slim.json +184 -210
  425. data/grammars/text.srt.json +54 -57
  426. data/grammars/text.tex.json +98 -105
  427. data/grammars/text.tex.latex.beamer.json +14 -20
  428. data/grammars/text.tex.latex.haskell.json +883 -782
  429. data/grammars/text.tex.latex.json +281 -291
  430. data/grammars/text.tex.latex.memoir.json +39 -46
  431. data/grammars/text.tex.latex.rd.json +32 -38
  432. data/grammars/text.xml.ant.json +62 -69
  433. data/grammars/text.xml.flex-config.json +1009 -1013
  434. data/grammars/text.xml.genshi.json +10 -16
  435. data/grammars/text.xml.json +117 -130
  436. data/grammars/text.xml.pom.json +235 -240
  437. data/grammars/text.xml.xsl.json +31 -37
  438. data/grammars/text.zone_file.json +24 -29
  439. data/lib/linguist/blob.rb +10 -1
  440. data/lib/linguist/blob_helper.rb +4 -1
  441. data/lib/linguist/file_blob.rb +5 -0
  442. data/lib/linguist/generated.rb +16 -0
  443. data/lib/linguist/heuristics.rb +23 -11
  444. data/lib/linguist/language.rb +3 -6
  445. data/lib/linguist/languages.json +1 -1
  446. data/lib/linguist/languages.yml +74 -12
  447. data/lib/linguist/lazy_blob.rb +15 -1
  448. data/lib/linguist/linguist.bundle +0 -0
  449. data/lib/linguist/samples.json +1666 -3381
  450. data/lib/linguist/shebang.rb +2 -0
  451. data/lib/linguist/strategy/modeline.rb +2 -0
  452. data/lib/linguist/vendor.yml +5 -6
  453. data/lib/linguist/version.rb +1 -1
  454. metadata +12 -11
  455. data/grammars/source.elm.json +0 -381
  456. data/grammars/source.nant-build.json +0 -86
  457. data/grammars/source.octave.json +0 -451
  458. data/grammars/text.html.mediawiki.elm-build-output.json +0 -111
  459. data/grammars/text.html.mediawiki.elm-documentation.json +0 -22
  460. data/grammars/text.html.vue.json +0 -936
@@ -1,9 +1,6 @@
1
1
  {
2
- "fileTypes": [
3
- "mson"
4
- ],
5
- "keyEquivalent": "^~M",
6
2
  "name": "MSON",
3
+ "scopeName": "text.html.markdown.source.gfm.mson",
7
4
  "patterns": [
8
5
  {
9
6
  "include": "#mson-field"
@@ -13,165 +10,56 @@
13
10
  }
14
11
  ],
15
12
  "repository": {
16
- "mson-field": {
17
- "patterns": [
18
- {
19
- "comment": "+ name: sample (attributes) - description",
20
- "begin": "^(?=\\s*[-*+].*?:.*?\\(.*?\\).*?(-|$))",
21
- "end": "$",
22
- "patterns": [
23
- {
24
- "include": "#mson-field-name"
25
- },
26
- {
27
- "include": "#mson-example-value"
28
- },
29
- {
30
- "include": "#mson-field-attributes"
31
- },
32
- {
33
- "include": "#mson-field-description"
34
- }
35
- ]
36
- },
37
- {
38
- "comment": "+ name: sample - description",
39
- "begin": "^(?=\\s*[-*+].*?:.*?(-|$))",
40
- "end": "$",
41
- "patterns": [
42
- {
43
- "include": "#mson-field-name"
44
- },
45
- {
46
- "include": "#mson-example-value"
47
- },
48
- {
49
- "include": "#mson-field-description"
50
- }
51
- ]
52
- },
53
- {
54
- "comment": "+ name (attributes) - description",
55
- "begin": "^(?=\\s*[-*+].*?\\(.*?\\).*?(-|$))",
56
- "end": "$",
57
- "patterns": [
58
- {
59
- "include": "#mson-field-name"
60
- },
61
- {
62
- "include": "#mson-field-attributes"
63
- },
64
- {
65
- "include": "#mson-field-description"
66
- }
67
- ]
68
- },
69
- {
70
- "comment": "+ name - description",
71
- "begin": "^(?=\\s*[-*+].*?(-|$))",
72
- "end": "$",
73
- "patterns": [
74
- {
75
- "include": "#mson-field-name"
76
- },
77
- {
78
- "include": "#mson-field-description"
79
- }
80
- ]
81
- }
82
- ]
83
- },
84
- "mson-field-name": {
85
- "name": "mson.field.name",
86
- "match": "^\\s*([-*+]).*?(?= ?(:|\\(|-|$))",
87
- "captures": {
88
- "1": {
89
- "name": "variable.unordered.list.gfm"
90
- }
91
- }
92
- },
93
- "mson-example-value": {
94
- "match": ":\\s(`.*?`|(.*?)(?=\\(|-|$))",
95
- "captures": {
96
- "1": {
97
- "name": "mson.field.example markup.raw.inline"
98
- }
99
- }
100
- },
101
- "mson-field-attributes": {
102
- "name": "mson.field.attributes",
103
- "begin": "(?<=[^\\(])\\((?=.*?\\))",
104
- "end": "\\)",
105
- "patterns": [
106
- {
107
- "name": "keyword",
108
- "match": "(required|optional|variable|fixed(-type)?|sample|default|nullable)"
109
- },
110
- {
111
- "name": "entity.name.class",
112
- "match": "(boolean|string|number|enum|object|array|\\*)"
113
- }
114
- ]
115
- },
116
- "mson-field-description": {
117
- "begin": " (-) ",
118
- "end": "$",
119
- "beginCaptures": {
120
- "1": {
121
- "name": "comment"
122
- }
123
- },
124
- "patterns": [
125
- {
126
- "include": "#gfm"
127
- }
128
- ]
129
- },
130
13
  "gfm": {
131
14
  "patterns": [
132
15
  {
133
- "match": "\\\\.",
134
- "name": "constant.character.escape.gfm"
16
+ "name": "constant.character.escape.gfm",
17
+ "match": "\\\\."
135
18
  },
136
19
  {
137
- "begin": "(?<=^|[^\\w\\d\\*])\\*\\*\\*(?!$|\\*|\\s)",
138
- "end": "(?<!^|\\s)\\*\\*\\**\\*(?=$|[^\\w|\\d])",
139
- "name": "markup.bold.italic.gfm"
20
+ "name": "markup.bold.italic.gfm",
21
+ "begin": "(?\u003c=^|[^\\w\\d\\*])\\*\\*\\*(?!$|\\*|\\s)",
22
+ "end": "(?\u003c!^|\\s)\\*\\*\\**\\*(?=$|[^\\w|\\d])"
140
23
  },
141
24
  {
142
- "begin": "(?<=^|[^\\w\\d_])___(?!$|_|\\s)",
143
- "end": "(?<!^|\\s)___*_(?=$|[^\\w|\\d])",
144
- "name": "markup.bold.italic.gfm"
25
+ "name": "markup.bold.italic.gfm",
26
+ "begin": "(?\u003c=^|[^\\w\\d_])___(?!$|_|\\s)",
27
+ "end": "(?\u003c!^|\\s)___*_(?=$|[^\\w|\\d])"
145
28
  },
146
29
  {
147
- "begin": "(?<=^|[^\\w\\d\\*])\\*\\*(?!$|\\*|\\s)",
148
- "end": "(?<!^|\\s)\\*\\**\\*(?=$|[^\\w|\\d])",
149
- "name": "markup.bold.gfm"
30
+ "name": "markup.bold.gfm",
31
+ "begin": "(?\u003c=^|[^\\w\\d\\*])\\*\\*(?!$|\\*|\\s)",
32
+ "end": "(?\u003c!^|\\s)\\*\\**\\*(?=$|[^\\w|\\d])"
150
33
  },
151
34
  {
152
- "begin": "(?<=^|[^\\w\\d_])__(?!$|_|\\s)",
153
- "end": "(?<!^|\\s)__*_(?=$|[^\\w|\\d])",
154
- "name": "markup.bold.gfm"
35
+ "name": "markup.bold.gfm",
36
+ "begin": "(?\u003c=^|[^\\w\\d_])__(?!$|_|\\s)",
37
+ "end": "(?\u003c!^|\\s)__*_(?=$|[^\\w|\\d])"
155
38
  },
156
39
  {
157
- "begin": "(?<=^|[^\\w\\d\\*])\\*(?!$|\\*|\\s)",
158
- "end": "(?<!^|\\s)\\**\\*(?=$|[^\\w|\\d])",
159
- "name": "markup.italic.gfm"
40
+ "name": "markup.italic.gfm",
41
+ "begin": "(?\u003c=^|[^\\w\\d\\*])\\*(?!$|\\*|\\s)",
42
+ "end": "(?\u003c!^|\\s)\\**\\*(?=$|[^\\w|\\d])"
160
43
  },
161
44
  {
162
- "begin": "(?<=^|[^\\w\\d_\\{\\}])_(?!$|_|\\s)",
163
- "end": "(?<!^|\\s)_*_(?=$|[^\\w|\\d])",
164
- "name": "markup.italic.gfm"
45
+ "name": "markup.italic.gfm",
46
+ "begin": "(?\u003c=^|[^\\w\\d_\\{\\}])_(?!$|_|\\s)",
47
+ "end": "(?\u003c!^|\\s)_*_(?=$|[^\\w|\\d])"
165
48
  },
166
49
  {
167
- "begin": "(?<=^|[^\\w\\d~])~~(?!$|~|\\s)",
168
- "end": "(?<!^|\\s)~~*~(?=$|[^\\w|\\d])",
169
- "name": "markup.strike.gfm"
50
+ "name": "markup.strike.gfm",
51
+ "begin": "(?\u003c=^|[^\\w\\d~])~~(?!$|~|\\s)",
52
+ "end": "(?\u003c!^|\\s)~~*~(?=$|[^\\w|\\d])"
170
53
  },
171
54
  {
55
+ "name": "markup.heading.heading-6.gfm",
172
56
  "begin": "^(#{6})(\\s*)",
173
57
  "end": "$",
174
- "name": "markup.heading.heading-6.gfm",
58
+ "patterns": [
59
+ {
60
+ "include": "$self"
61
+ }
62
+ ],
175
63
  "captures": {
176
64
  "1": {
177
65
  "name": "markup.heading.marker.gfm"
@@ -179,17 +67,17 @@
179
67
  "2": {
180
68
  "name": "markup.heading.space.gfm"
181
69
  }
182
- },
183
- "patterns": [
184
- {
185
- "include": "$self"
186
- }
187
- ]
70
+ }
188
71
  },
189
72
  {
73
+ "name": "markup.heading.heading-5.gfm",
190
74
  "begin": "^(#{5})(\\s*)",
191
75
  "end": "$",
192
- "name": "markup.heading.heading-5.gfm",
76
+ "patterns": [
77
+ {
78
+ "include": "$self"
79
+ }
80
+ ],
193
81
  "captures": {
194
82
  "1": {
195
83
  "name": "markup.heading.marker.gfm"
@@ -197,17 +85,17 @@
197
85
  "2": {
198
86
  "name": "markup.heading.space.gfm"
199
87
  }
200
- },
201
- "patterns": [
202
- {
203
- "include": "$self"
204
- }
205
- ]
88
+ }
206
89
  },
207
90
  {
91
+ "name": "markup.heading.heading-4.gfm",
208
92
  "begin": "^(#{4})(\\s*)",
209
93
  "end": "$",
210
- "name": "markup.heading.heading-4.gfm",
94
+ "patterns": [
95
+ {
96
+ "include": "$self"
97
+ }
98
+ ],
211
99
  "captures": {
212
100
  "1": {
213
101
  "name": "markup.heading.marker.gfm"
@@ -215,17 +103,17 @@
215
103
  "2": {
216
104
  "name": "markup.heading.space.gfm"
217
105
  }
218
- },
219
- "patterns": [
220
- {
221
- "include": "$self"
222
- }
223
- ]
106
+ }
224
107
  },
225
108
  {
109
+ "name": "markup.heading.heading-3.gfm",
226
110
  "begin": "^(#{3})(\\s*)",
227
111
  "end": "$",
228
- "name": "markup.heading.heading-3.gfm",
112
+ "patterns": [
113
+ {
114
+ "include": "$self"
115
+ }
116
+ ],
229
117
  "captures": {
230
118
  "1": {
231
119
  "name": "markup.heading.marker.gfm"
@@ -233,17 +121,17 @@
233
121
  "2": {
234
122
  "name": "markup.heading.space.gfm"
235
123
  }
236
- },
237
- "patterns": [
238
- {
239
- "include": "$self"
240
- }
241
- ]
124
+ }
242
125
  },
243
126
  {
127
+ "name": "markup.heading.heading-2.gfm",
244
128
  "begin": "^(#{2})(\\s*)",
245
129
  "end": "$",
246
- "name": "markup.heading.heading-2.gfm",
130
+ "patterns": [
131
+ {
132
+ "include": "$self"
133
+ }
134
+ ],
247
135
  "captures": {
248
136
  "1": {
249
137
  "name": "markup.heading.marker.gfm"
@@ -251,17 +139,17 @@
251
139
  "2": {
252
140
  "name": "markup.heading.space.gfm"
253
141
  }
254
- },
255
- "patterns": [
256
- {
257
- "include": "$self"
258
- }
259
- ]
142
+ }
260
143
  },
261
144
  {
145
+ "name": "markup.heading.heading-1.gfm",
262
146
  "begin": "^(#{1})(\\s*)",
263
147
  "end": "$",
264
- "name": "markup.heading.heading-1.gfm",
148
+ "patterns": [
149
+ {
150
+ "include": "$self"
151
+ }
152
+ ],
265
153
  "captures": {
266
154
  "1": {
267
155
  "name": "markup.heading.marker.gfm"
@@ -269,16 +157,11 @@
269
157
  "2": {
270
158
  "name": "markup.heading.space.gfm"
271
159
  }
272
- },
273
- "patterns": [
274
- {
275
- "include": "$self"
276
- }
277
- ]
160
+ }
278
161
  },
279
162
  {
280
- "match": "(:)(\\+1|\\-1|100|1234|8ball|a|ab|abc|abcd|accept|aerial_tramway|airplane|alarm_clock|alien|ambulance|anchor|angel|anger|angry|anguished|ant|apple|aquarius|aries|arrow_backward|arrow_double_down|arrow_double_up|arrow_down|arrow_down_small|arrow_forward|arrow_heading_down|arrow_heading_up|arrow_left|arrow_lower_left|arrow_lower_right|arrow_right|arrow_right_hook|arrow_up|arrow_up_down|arrow_up_small|arrow_upper_left|arrow_upper_right|arrows_clockwise|arrows_counterclockwise|art|articulated_lorry|astonished|atm|b|baby|baby_bottle|baby_chick|baby_symbol|back|baggage_claim|balloon|ballot_box_with_check|bamboo|banana|bangbang|bank|bar_chart|barber|baseball|basketball|bath|bathtub|battery|bear|bee|beer|beers|beetle|beginner|bell|bento|bicyclist|bike|bikini|bird|birthday|black_circle|black_joker|black_medium_small_square|black_medium_square|black_nib|black_small_square|black_square|black_square_button|blossom|blowfish|blue_book|blue_car|blue_heart|blush|boar|boat|bomb|book|bookmark|bookmark_tabs|books|boom|boot|bouquet|bow|bowling|bowtie|boy|bread|bride_with_veil|bridge_at_night|briefcase|broken_heart|bug|bulb|bullettrain_front|bullettrain_side|bus|busstop|bust_in_silhouette|busts_in_silhouette|cactus|cake|calendar|calling|camel|camera|cancer|candy|capital_abcd|capricorn|car|card_index|carousel_horse|cat|cat2|cd|chart|chart_with_downwards_trend|chart_with_upwards_trend|checkered_flag|cherries|cherry_blossom|chestnut|chicken|children_crossing|chocolate_bar|christmas_tree|church|cinema|circus_tent|city_sunrise|city_sunset|cl|clap|clapper|clipboard|clock1|clock10|clock1030|clock11|clock1130|clock12|clock1230|clock130|clock2|clock230|clock3|clock330|clock4|clock430|clock5|clock530|clock6|clock630|clock7|clock730|clock8|clock830|clock9|clock930|closed_book|closed_lock_with_key|closed_umbrella|cloud|clubs|cn|cocktail|coffee|cold_sweat|collision|computer|confetti_ball|confounded|confused|congratulations|construction|construction_worker|convenience_store|cookie|cool|cop|copyright|corn|couple|couple_with_heart|couplekiss|cow|cow2|credit_card|crocodile|crossed_flags|crown|cry|crying_cat_face|crystal_ball|cupid|curly_loop|currency_exchange|curry|custard|customs|cyclone|dancer|dancers|dango|dart|dash|date|de|deciduous_tree|department_store|diamond_shape_with_a_dot_inside|diamonds|disappointed|disappointed_relieved|dizzy|dizzy_face|do_not_litter|dog|dog2|dollar|dolls|dolphin|donut|door|doughnut|dragon|dragon_face|dress|dromedary_camel|droplet|dvd|e\\-mail|ear|ear_of_rice|earth_africa|earth_americas|earth_asia|egg|eggplant|eight|eight_pointed_black_star|eight_spoked_asterisk|electric_plug|elephant|email|end|envelope|es|euro|european_castle|european_post_office|evergreen_tree|exclamation|expressionless|eyeglasses|eyes|facepunch|factory|fallen_leaf|family|fast_forward|fax|fearful|feelsgood|feet|ferris_wheel|file_folder|finnadie|fire|fire_engine|fireworks|first_quarter_moon|first_quarter_moon_with_face|fish|fish_cake|fishing_pole_and_fish|fist|five|flags|flashlight|floppy_disk|flower_playing_cards|flushed|foggy|football|fork_and_knife|fountain|four|four_leaf_clover|fr|free|fried_shrimp|fries|frog|frowning|fu|fuelpump|full_moon|full_moon_with_face|game_die|gb|gem|gemini|ghost|gift|gift_heart|girl|globe_with_meridians|goat|goberserk|godmode|golf|grapes|green_apple|green_book|green_heart|grey_exclamation|grey_question|grimacing|grin|grinning|guardsman|guitar|gun|haircut|hamburger|hammer|hamster|hand|handbag|hankey|hash|hatched_chick|hatching_chick|headphones|hear_no_evil|heart|heart_decoration|heart_eyes|heart_eyes_cat|heartbeat|heartpulse|hearts|heavy_check_mark|heavy_division_sign|heavy_dollar_sign|heavy_exclamation_mark|heavy_minus_sign|heavy_multiplication_x|heavy_plus_sign|helicopter|herb|hibiscus|high_brightness|high_heel|hocho|honey_pot|honeybee|horse|horse_racing|hospital|hotel|hotsprings|hourglass|hourglass_flowing_sand|house|house_with_garden|hurtrealbad|hushed|ice_cream|icecream|id|ideograph_advantage|imp|inbox_tray|incoming_envelope|information_desk_person|information_source|innocent|interrobang|iphone|it|izakaya_lantern|jack_o_lantern|japan|japanese_castle|japanese_goblin|japanese_ogre|jeans|joy|joy_cat|jp|key|keycap_ten|kimono|kiss|kissing|kissing_cat|kissing_closed_eyes|kissing_face|kissing_heart|kissing_smiling_eyes|koala|koko|kr|large_blue_circle|large_blue_diamond|large_orange_diamond|last_quarter_moon|last_quarter_moon_with_face|laughing|leaves|ledger|left_luggage|left_right_arrow|leftwards_arrow_with_hook|lemon|leo|leopard|libra|light_rail|link|lips|lipstick|lock|lock_with_ink_pen|lollipop|loop|loudspeaker|love_hotel|love_letter|low_brightness|m|mag|mag_right|mahjong|mailbox|mailbox_closed|mailbox_with_mail|mailbox_with_no_mail|man|man_with_gua_pi_mao|man_with_turban|mans_shoe|maple_leaf|mask|massage|meat_on_bone|mega|melon|memo|mens|metal|metro|microphone|microscope|milky_way|minibus|minidisc|mobile_phone_off|money_with_wings|moneybag|monkey|monkey_face|monorail|moon|mortar_board|mount_fuji|mountain_bicyclist|mountain_cableway|mountain_railway|mouse|mouse2|movie_camera|moyai|muscle|mushroom|musical_keyboard|musical_note|musical_score|mute|nail_care|name_badge|neckbeard|necktie|negative_squared_cross_mark|neutral_face|new|new_moon|new_moon_with_face|newspaper|ng|nine|no_bell|no_bicycles|no_entry|no_entry_sign|no_good|no_mobile_phones|no_mouth|no_pedestrians|no_smoking|non\\-potable_water|nose|notebook|notebook_with_decorative_cover|notes|nut_and_bolt|o|o2|ocean|octocat|octopus|oden|office|ok|ok_hand|ok_woman|older_man|older_woman|on|oncoming_automobile|oncoming_bus|oncoming_police_car|oncoming_taxi|one|open_file_folder|open_hands|open_mouth|ophiuchus|orange_book|outbox_tray|ox|package|page_facing_up|page_with_curl|pager|palm_tree|panda_face|paperclip|parking|part_alternation_mark|partly_sunny|passport_control|paw_prints|peach|pear|pencil|pencil2|penguin|pensive|performing_arts|persevere|person_frowning|person_with_blond_hair|person_with_pouting_face|phone|pig|pig2|pig_nose|pill|pineapple|pisces|pizza|plus1|point_down|point_left|point_right|point_up|point_up_2|police_car|poodle|poop|post_office|postal_horn|postbox|potable_water|pouch|poultry_leg|pound|pouting_cat|pray|princess|punch|purple_heart|purse|pushpin|put_litter_in_its_place|question|rabbit|rabbit2|racehorse|radio|radio_button|rage|rage1|rage2|rage3|rage4|railway_car|rainbow|raised_hand|raised_hands|raising_hand|ram|ramen|rat|recycle|red_car|red_circle|registered|relaxed|relieved|repeat|repeat_one|restroom|revolving_hearts|rewind|ribbon|rice|rice_ball|rice_cracker|rice_scene|ring|rocket|roller_coaster|rooster|rose|rotating_light|round_pushpin|rowboat|ru|rugby_football|runner|running|running_shirt_with_sash|sa|sagittarius|sailboat|sake|sandal|santa|satellite|satisfied|saxophone|school|school_satchel|scissors|scorpius|scream|scream_cat|scroll|seat|secret|see_no_evil|seedling|seven|shaved_ice|sheep|shell|ship|shipit|shirt|shit|shoe|shower|signal_strength|six|six_pointed_star|ski|skull|sleeping|sleepy|slot_machine|small_blue_diamond|small_orange_diamond|small_red_triangle|small_red_triangle_down|smile|smile_cat|smiley|smiley_cat|smiling_imp|smirk|smirk_cat|smoking|snail|snake|snowboarder|snowflake|snowman|sob|soccer|soon|sos|sound|space_invader|spades|spaghetti|sparkle|sparkler|sparkles|sparkling_heart|speak_no_evil|speaker|speech_balloon|speedboat|squirrel|star|star2|stars|station|statue_of_liberty|steam_locomotive|stew|straight_ruler|strawberry|stuck_out_tongue|stuck_out_tongue_closed_eyes|stuck_out_tongue_winking_eye|sun_with_face|sunflower|sunglasses|sunny|sunrise|sunrise_over_mountains|surfer|sushi|suspect|suspension_railway|sweat|sweat_drops|sweat_smile|sweet_potato|swimmer|symbols|syringe|tada|tanabata_tree|tangerine|taurus|taxi|tea|telephone|telephone_receiver|telescope|tennis|tent|thought_balloon|three|thumbsdown|thumbsup|ticket|tiger|tiger2|tired_face|tm|toilet|tokyo_tower|tomato|tongue|top|tophat|tractor|traffic_light|train|train2|tram|triangular_flag_on_post|triangular_ruler|trident|triumph|trolleybus|trollface|trophy|tropical_drink|tropical_fish|truck|trumpet|tshirt|tulip|turtle|tv|twisted_rightwards_arrows|two|two_hearts|two_men_holding_hands|two_women_holding_hands|u5272|u5408|u55b6|u6307|u6708|u6709|u6e80|u7121|u7533|u7981|u7a7a|uk|umbrella|unamused|underage|unlock|up|us|v|vertical_traffic_light|vhs|vibration_mode|video_camera|video_game|violin|virgo|volcano|vs|walking|waning_crescent_moon|waning_gibbous_moon|warning|watch|water_buffalo|watermelon|wave|wavy_dash|waxing_crescent_moon|waxing_gibbous_moon|wc|weary|wedding|whale|whale2|wheelchair|white_check_mark|white_circle|white_flower|white_large_square|white_medium_small_square|white_medium_square|white_small_square|white_square_button|wind_chime|wine_glass|wink|wolf|woman|womans_clothes|womans_hat|womens|worried|wrench|x|yellow_heart|yen|yum|zap|zero|zzz)(:)",
281
163
  "name": "string.emoji.gfm",
164
+ "match": "(:)(\\+1|\\-1|100|1234|8ball|a|ab|abc|abcd|accept|aerial_tramway|airplane|alarm_clock|alien|ambulance|anchor|angel|anger|angry|anguished|ant|apple|aquarius|aries|arrow_backward|arrow_double_down|arrow_double_up|arrow_down|arrow_down_small|arrow_forward|arrow_heading_down|arrow_heading_up|arrow_left|arrow_lower_left|arrow_lower_right|arrow_right|arrow_right_hook|arrow_up|arrow_up_down|arrow_up_small|arrow_upper_left|arrow_upper_right|arrows_clockwise|arrows_counterclockwise|art|articulated_lorry|astonished|atm|b|baby|baby_bottle|baby_chick|baby_symbol|back|baggage_claim|balloon|ballot_box_with_check|bamboo|banana|bangbang|bank|bar_chart|barber|baseball|basketball|bath|bathtub|battery|bear|bee|beer|beers|beetle|beginner|bell|bento|bicyclist|bike|bikini|bird|birthday|black_circle|black_joker|black_medium_small_square|black_medium_square|black_nib|black_small_square|black_square|black_square_button|blossom|blowfish|blue_book|blue_car|blue_heart|blush|boar|boat|bomb|book|bookmark|bookmark_tabs|books|boom|boot|bouquet|bow|bowling|bowtie|boy|bread|bride_with_veil|bridge_at_night|briefcase|broken_heart|bug|bulb|bullettrain_front|bullettrain_side|bus|busstop|bust_in_silhouette|busts_in_silhouette|cactus|cake|calendar|calling|camel|camera|cancer|candy|capital_abcd|capricorn|car|card_index|carousel_horse|cat|cat2|cd|chart|chart_with_downwards_trend|chart_with_upwards_trend|checkered_flag|cherries|cherry_blossom|chestnut|chicken|children_crossing|chocolate_bar|christmas_tree|church|cinema|circus_tent|city_sunrise|city_sunset|cl|clap|clapper|clipboard|clock1|clock10|clock1030|clock11|clock1130|clock12|clock1230|clock130|clock2|clock230|clock3|clock330|clock4|clock430|clock5|clock530|clock6|clock630|clock7|clock730|clock8|clock830|clock9|clock930|closed_book|closed_lock_with_key|closed_umbrella|cloud|clubs|cn|cocktail|coffee|cold_sweat|collision|computer|confetti_ball|confounded|confused|congratulations|construction|construction_worker|convenience_store|cookie|cool|cop|copyright|corn|couple|couple_with_heart|couplekiss|cow|cow2|credit_card|crocodile|crossed_flags|crown|cry|crying_cat_face|crystal_ball|cupid|curly_loop|currency_exchange|curry|custard|customs|cyclone|dancer|dancers|dango|dart|dash|date|de|deciduous_tree|department_store|diamond_shape_with_a_dot_inside|diamonds|disappointed|disappointed_relieved|dizzy|dizzy_face|do_not_litter|dog|dog2|dollar|dolls|dolphin|donut|door|doughnut|dragon|dragon_face|dress|dromedary_camel|droplet|dvd|e\\-mail|ear|ear_of_rice|earth_africa|earth_americas|earth_asia|egg|eggplant|eight|eight_pointed_black_star|eight_spoked_asterisk|electric_plug|elephant|email|end|envelope|es|euro|european_castle|european_post_office|evergreen_tree|exclamation|expressionless|eyeglasses|eyes|facepunch|factory|fallen_leaf|family|fast_forward|fax|fearful|feelsgood|feet|ferris_wheel|file_folder|finnadie|fire|fire_engine|fireworks|first_quarter_moon|first_quarter_moon_with_face|fish|fish_cake|fishing_pole_and_fish|fist|five|flags|flashlight|floppy_disk|flower_playing_cards|flushed|foggy|football|fork_and_knife|fountain|four|four_leaf_clover|fr|free|fried_shrimp|fries|frog|frowning|fu|fuelpump|full_moon|full_moon_with_face|game_die|gb|gem|gemini|ghost|gift|gift_heart|girl|globe_with_meridians|goat|goberserk|godmode|golf|grapes|green_apple|green_book|green_heart|grey_exclamation|grey_question|grimacing|grin|grinning|guardsman|guitar|gun|haircut|hamburger|hammer|hamster|hand|handbag|hankey|hash|hatched_chick|hatching_chick|headphones|hear_no_evil|heart|heart_decoration|heart_eyes|heart_eyes_cat|heartbeat|heartpulse|hearts|heavy_check_mark|heavy_division_sign|heavy_dollar_sign|heavy_exclamation_mark|heavy_minus_sign|heavy_multiplication_x|heavy_plus_sign|helicopter|herb|hibiscus|high_brightness|high_heel|hocho|honey_pot|honeybee|horse|horse_racing|hospital|hotel|hotsprings|hourglass|hourglass_flowing_sand|house|house_with_garden|hurtrealbad|hushed|ice_cream|icecream|id|ideograph_advantage|imp|inbox_tray|incoming_envelope|information_desk_person|information_source|innocent|interrobang|iphone|it|izakaya_lantern|jack_o_lantern|japan|japanese_castle|japanese_goblin|japanese_ogre|jeans|joy|joy_cat|jp|key|keycap_ten|kimono|kiss|kissing|kissing_cat|kissing_closed_eyes|kissing_face|kissing_heart|kissing_smiling_eyes|koala|koko|kr|large_blue_circle|large_blue_diamond|large_orange_diamond|last_quarter_moon|last_quarter_moon_with_face|laughing|leaves|ledger|left_luggage|left_right_arrow|leftwards_arrow_with_hook|lemon|leo|leopard|libra|light_rail|link|lips|lipstick|lock|lock_with_ink_pen|lollipop|loop|loudspeaker|love_hotel|love_letter|low_brightness|m|mag|mag_right|mahjong|mailbox|mailbox_closed|mailbox_with_mail|mailbox_with_no_mail|man|man_with_gua_pi_mao|man_with_turban|mans_shoe|maple_leaf|mask|massage|meat_on_bone|mega|melon|memo|mens|metal|metro|microphone|microscope|milky_way|minibus|minidisc|mobile_phone_off|money_with_wings|moneybag|monkey|monkey_face|monorail|moon|mortar_board|mount_fuji|mountain_bicyclist|mountain_cableway|mountain_railway|mouse|mouse2|movie_camera|moyai|muscle|mushroom|musical_keyboard|musical_note|musical_score|mute|nail_care|name_badge|neckbeard|necktie|negative_squared_cross_mark|neutral_face|new|new_moon|new_moon_with_face|newspaper|ng|nine|no_bell|no_bicycles|no_entry|no_entry_sign|no_good|no_mobile_phones|no_mouth|no_pedestrians|no_smoking|non\\-potable_water|nose|notebook|notebook_with_decorative_cover|notes|nut_and_bolt|o|o2|ocean|octocat|octopus|oden|office|ok|ok_hand|ok_woman|older_man|older_woman|on|oncoming_automobile|oncoming_bus|oncoming_police_car|oncoming_taxi|one|open_file_folder|open_hands|open_mouth|ophiuchus|orange_book|outbox_tray|ox|package|page_facing_up|page_with_curl|pager|palm_tree|panda_face|paperclip|parking|part_alternation_mark|partly_sunny|passport_control|paw_prints|peach|pear|pencil|pencil2|penguin|pensive|performing_arts|persevere|person_frowning|person_with_blond_hair|person_with_pouting_face|phone|pig|pig2|pig_nose|pill|pineapple|pisces|pizza|plus1|point_down|point_left|point_right|point_up|point_up_2|police_car|poodle|poop|post_office|postal_horn|postbox|potable_water|pouch|poultry_leg|pound|pouting_cat|pray|princess|punch|purple_heart|purse|pushpin|put_litter_in_its_place|question|rabbit|rabbit2|racehorse|radio|radio_button|rage|rage1|rage2|rage3|rage4|railway_car|rainbow|raised_hand|raised_hands|raising_hand|ram|ramen|rat|recycle|red_car|red_circle|registered|relaxed|relieved|repeat|repeat_one|restroom|revolving_hearts|rewind|ribbon|rice|rice_ball|rice_cracker|rice_scene|ring|rocket|roller_coaster|rooster|rose|rotating_light|round_pushpin|rowboat|ru|rugby_football|runner|running|running_shirt_with_sash|sa|sagittarius|sailboat|sake|sandal|santa|satellite|satisfied|saxophone|school|school_satchel|scissors|scorpius|scream|scream_cat|scroll|seat|secret|see_no_evil|seedling|seven|shaved_ice|sheep|shell|ship|shipit|shirt|shit|shoe|shower|signal_strength|six|six_pointed_star|ski|skull|sleeping|sleepy|slot_machine|small_blue_diamond|small_orange_diamond|small_red_triangle|small_red_triangle_down|smile|smile_cat|smiley|smiley_cat|smiling_imp|smirk|smirk_cat|smoking|snail|snake|snowboarder|snowflake|snowman|sob|soccer|soon|sos|sound|space_invader|spades|spaghetti|sparkle|sparkler|sparkles|sparkling_heart|speak_no_evil|speaker|speech_balloon|speedboat|squirrel|star|star2|stars|station|statue_of_liberty|steam_locomotive|stew|straight_ruler|strawberry|stuck_out_tongue|stuck_out_tongue_closed_eyes|stuck_out_tongue_winking_eye|sun_with_face|sunflower|sunglasses|sunny|sunrise|sunrise_over_mountains|surfer|sushi|suspect|suspension_railway|sweat|sweat_drops|sweat_smile|sweet_potato|swimmer|symbols|syringe|tada|tanabata_tree|tangerine|taurus|taxi|tea|telephone|telephone_receiver|telescope|tennis|tent|thought_balloon|three|thumbsdown|thumbsup|ticket|tiger|tiger2|tired_face|tm|toilet|tokyo_tower|tomato|tongue|top|tophat|tractor|traffic_light|train|train2|tram|triangular_flag_on_post|triangular_ruler|trident|triumph|trolleybus|trollface|trophy|tropical_drink|tropical_fish|truck|trumpet|tshirt|tulip|turtle|tv|twisted_rightwards_arrows|two|two_hearts|two_men_holding_hands|two_women_holding_hands|u5272|u5408|u55b6|u6307|u6708|u6709|u6e80|u7121|u7533|u7981|u7a7a|uk|umbrella|unamused|underage|unlock|up|us|v|vertical_traffic_light|vhs|vibration_mode|video_camera|video_game|violin|virgo|volcano|vs|walking|waning_crescent_moon|waning_gibbous_moon|warning|watch|water_buffalo|watermelon|wave|wavy_dash|waxing_crescent_moon|waxing_gibbous_moon|wc|weary|wedding|whale|whale2|wheelchair|white_check_mark|white_circle|white_flower|white_large_square|white_medium_small_square|white_medium_square|white_small_square|white_square_button|wind_chime|wine_glass|wink|wolf|woman|womans_clothes|womans_hat|womens|worried|wrench|x|yellow_heart|yen|yum|zap|zero|zzz)(:)",
282
165
  "captures": {
283
166
  "1": {
284
167
  "name": "string.emoji.start.gfm"
@@ -292,8 +175,8 @@
292
175
  }
293
176
  },
294
177
  {
295
- "match": "(&)[a-zA-Z0-9]+(;)",
296
178
  "name": "constant.character.entity.gfm",
179
+ "match": "(\u0026)[a-zA-Z0-9]+(;)",
297
180
  "captures": {
298
181
  "1": {
299
182
  "name": "punctuation.definition.entity.gfm"
@@ -304,8 +187,8 @@
304
187
  }
305
188
  },
306
189
  {
307
- "match": "(&)#[0-9]+(;)",
308
190
  "name": "constant.character.entity.gfm",
191
+ "match": "(\u0026)#[0-9]+(;)",
309
192
  "captures": {
310
193
  "1": {
311
194
  "name": "punctuation.definition.entity.gfm"
@@ -316,8 +199,8 @@
316
199
  }
317
200
  },
318
201
  {
319
- "match": "(&)#x[0-9a-fA-F]+(;)",
320
202
  "name": "constant.character.entity.gfm",
203
+ "match": "(\u0026)#x[0-9a-fA-F]+(;)",
321
204
  "captures": {
322
205
  "1": {
323
206
  "name": "punctuation.definition.entity.gfm"
@@ -328,558 +211,576 @@
328
211
  }
329
212
  },
330
213
  {
214
+ "name": "front-matter.yaml.gfm",
331
215
  "begin": "\\A---$",
332
216
  "end": "^(---|\\.\\.\\.)$",
333
- "captures": {
334
- "0": {
335
- "name": "comment.hr.gfm"
336
- }
337
- },
338
- "name": "front-matter.yaml.gfm",
339
217
  "patterns": [
340
218
  {
341
219
  "include": "source.yaml"
342
220
  }
343
- ]
221
+ ],
222
+ "captures": {
223
+ "0": {
224
+ "name": "comment.hr.gfm"
225
+ }
226
+ }
344
227
  },
345
228
  {
346
- "match": "^\\s*[*]{3,}\\s*$",
347
- "name": "comment.hr.gfm"
229
+ "name": "comment.hr.gfm",
230
+ "match": "^\\s*[*]{3,}\\s*$"
348
231
  },
349
232
  {
350
- "match": "^\\s*[-]{3,}\\s*$",
351
- "name": "comment.hr.gfm"
233
+ "name": "comment.hr.gfm",
234
+ "match": "^\\s*[-]{3,}\\s*$"
352
235
  },
353
236
  {
354
- "begin": "^\\s*[`~]{3,}\\s*coffee-?(script)?\\s*$",
355
- "beginCaptures": {
356
- "0": {
357
- "name": "support.gfm"
358
- }
359
- },
360
- "end": "^\\s*[`~]{3,}$",
361
- "endCaptures": {
362
- "0": {
363
- "name": "support.gfm"
364
- }
365
- },
366
237
  "name": "markup.code.coffee.gfm",
367
238
  "contentName": "source.coffee",
239
+ "begin": "^\\s*[`~]{3,}\\s*coffee-?(script)?\\s*$",
240
+ "end": "^\\s*[`~]{3,}$",
368
241
  "patterns": [
369
242
  {
370
243
  "include": "source.coffee"
371
244
  }
372
- ]
373
- },
374
- {
375
- "begin": "^\\s*([`~]{3,})\\s*(javascript|js)\\s*$",
245
+ ],
376
246
  "beginCaptures": {
377
247
  "0": {
378
248
  "name": "support.gfm"
379
249
  }
380
250
  },
381
- "end": "^\\s*\\1$",
382
251
  "endCaptures": {
383
252
  "0": {
384
253
  "name": "support.gfm"
385
254
  }
386
- },
255
+ }
256
+ },
257
+ {
387
258
  "name": "markup.code.js.gfm",
388
259
  "contentName": "source.js",
260
+ "begin": "^\\s*([`~]{3,})\\s*(javascript|js)\\s*$",
261
+ "end": "^\\s*\\1$",
389
262
  "patterns": [
390
263
  {
391
264
  "include": "source.js"
392
265
  }
393
- ]
394
- },
395
- {
396
- "begin": "^\\s*([`~]{3,})\\s*(markdown|mdown|md)\\s*$",
266
+ ],
397
267
  "beginCaptures": {
398
268
  "0": {
399
269
  "name": "support.gfm"
400
270
  }
401
271
  },
402
- "end": "^\\s*\\1$",
403
272
  "endCaptures": {
404
273
  "0": {
405
274
  "name": "support.gfm"
406
275
  }
407
- },
276
+ }
277
+ },
278
+ {
408
279
  "name": "markup.code.gfm",
280
+ "begin": "^\\s*([`~]{3,})\\s*(markdown|mdown|md)\\s*$",
281
+ "end": "^\\s*\\1$",
409
282
  "patterns": [
410
283
  {
411
284
  "include": "$self"
412
285
  }
413
- ]
414
- },
415
- {
416
- "begin": "^\\s*([`~]{3,})\\s*json\\s*$",
286
+ ],
417
287
  "beginCaptures": {
418
288
  "0": {
419
289
  "name": "support.gfm"
420
290
  }
421
291
  },
422
- "end": "^\\s*\\1$",
423
292
  "endCaptures": {
424
293
  "0": {
425
294
  "name": "support.gfm"
426
295
  }
427
- },
296
+ }
297
+ },
298
+ {
428
299
  "name": "markup.code.json.gfm",
429
300
  "contentName": "source.json",
301
+ "begin": "^\\s*([`~]{3,})\\s*json\\s*$",
302
+ "end": "^\\s*\\1$",
430
303
  "patterns": [
431
304
  {
432
305
  "include": "source.json"
433
306
  }
434
- ]
435
- },
436
- {
437
- "begin": "^\\s*([`~]{3,})\\s*css\\s*$",
307
+ ],
438
308
  "beginCaptures": {
439
309
  "0": {
440
310
  "name": "support.gfm"
441
311
  }
442
312
  },
443
- "end": "^\\s*\\1$",
444
313
  "endCaptures": {
445
314
  "0": {
446
315
  "name": "support.gfm"
447
316
  }
448
- },
317
+ }
318
+ },
319
+ {
449
320
  "name": "markup.code.css.gfm",
450
321
  "contentName": "source.css",
322
+ "begin": "^\\s*([`~]{3,})\\s*css\\s*$",
323
+ "end": "^\\s*\\1$",
451
324
  "patterns": [
452
325
  {
453
326
  "include": "source.css"
454
327
  }
455
- ]
456
- },
457
- {
458
- "begin": "^\\s*([`~]{3,})\\s*less\\s*$",
328
+ ],
459
329
  "beginCaptures": {
460
330
  "0": {
461
331
  "name": "support.gfm"
462
332
  }
463
333
  },
464
- "end": "^\\s*\\1$",
465
334
  "endCaptures": {
466
335
  "0": {
467
336
  "name": "support.gfm"
468
337
  }
469
- },
338
+ }
339
+ },
340
+ {
470
341
  "name": "markup.code.less.gfm",
471
342
  "contentName": "source.css.less",
343
+ "begin": "^\\s*([`~]{3,})\\s*less\\s*$",
344
+ "end": "^\\s*\\1$",
472
345
  "patterns": [
473
346
  {
474
347
  "include": "source.css.less"
475
348
  }
476
- ]
477
- },
478
- {
479
- "begin": "^\\s*([`~]{3,})\\s*xml\\s*$",
349
+ ],
480
350
  "beginCaptures": {
481
351
  "0": {
482
352
  "name": "support.gfm"
483
353
  }
484
354
  },
485
- "end": "^\\s*\\1$",
486
355
  "endCaptures": {
487
356
  "0": {
488
357
  "name": "support.gfm"
489
358
  }
490
- },
359
+ }
360
+ },
361
+ {
491
362
  "name": "markup.code.xml.gfm",
492
363
  "contentName": "text.xml",
364
+ "begin": "^\\s*([`~]{3,})\\s*xml\\s*$",
365
+ "end": "^\\s*\\1$",
493
366
  "patterns": [
494
367
  {
495
368
  "include": "text.xml"
496
369
  }
497
- ]
498
- },
499
- {
500
- "begin": "^\\s*([`~]{3,})\\s*(ruby|rb)\\s*$",
370
+ ],
501
371
  "beginCaptures": {
502
372
  "0": {
503
373
  "name": "support.gfm"
504
374
  }
505
375
  },
506
- "end": "^\\s*\\1$",
507
376
  "endCaptures": {
508
377
  "0": {
509
378
  "name": "support.gfm"
510
379
  }
511
- },
380
+ }
381
+ },
382
+ {
512
383
  "name": "markup.code.ruby.gfm",
513
384
  "contentName": "source.ruby",
385
+ "begin": "^\\s*([`~]{3,})\\s*(ruby|rb)\\s*$",
386
+ "end": "^\\s*\\1$",
514
387
  "patterns": [
515
388
  {
516
389
  "include": "source.ruby"
517
390
  }
518
- ]
519
- },
520
- {
521
- "begin": "^\\s*([`~]{3,})\\s*java\\s*$",
391
+ ],
522
392
  "beginCaptures": {
523
393
  "0": {
524
394
  "name": "support.gfm"
525
395
  }
526
396
  },
527
- "end": "^\\s*\\1$",
528
397
  "endCaptures": {
529
398
  "0": {
530
399
  "name": "support.gfm"
531
400
  }
532
- },
401
+ }
402
+ },
403
+ {
533
404
  "name": "markup.code.java.gfm",
534
405
  "contentName": "source.java",
406
+ "begin": "^\\s*([`~]{3,})\\s*java\\s*$",
407
+ "end": "^\\s*\\1$",
535
408
  "patterns": [
536
409
  {
537
410
  "include": "source.java"
538
411
  }
539
- ]
540
- },
541
- {
542
- "begin": "^\\s*([`~]{3,})\\s*erlang\\s*$",
412
+ ],
543
413
  "beginCaptures": {
544
414
  "0": {
545
415
  "name": "support.gfm"
546
416
  }
547
417
  },
548
- "end": "^\\s*\\1$",
549
418
  "endCaptures": {
550
419
  "0": {
551
420
  "name": "support.gfm"
552
421
  }
553
- },
422
+ }
423
+ },
424
+ {
554
425
  "name": "markup.code.erlang.gfm",
555
426
  "contentName": "source.erlang",
427
+ "begin": "^\\s*([`~]{3,})\\s*erlang\\s*$",
428
+ "end": "^\\s*\\1$",
556
429
  "patterns": [
557
430
  {
558
431
  "include": "source.erlang"
559
432
  }
560
- ]
561
- },
562
- {
563
- "begin": "^\\s*([`~]{3,})\\s*go(lang)?\\s*$",
433
+ ],
564
434
  "beginCaptures": {
565
435
  "0": {
566
436
  "name": "support.gfm"
567
437
  }
568
438
  },
569
- "end": "^\\s*\\1$",
570
439
  "endCaptures": {
571
440
  "0": {
572
441
  "name": "support.gfm"
573
442
  }
574
- },
443
+ }
444
+ },
445
+ {
575
446
  "name": "markup.code.go.gfm",
576
447
  "contentName": "source.go",
448
+ "begin": "^\\s*([`~]{3,})\\s*go(lang)?\\s*$",
449
+ "end": "^\\s*\\1$",
577
450
  "patterns": [
578
451
  {
579
452
  "include": "source.go"
580
453
  }
581
- ]
582
- },
583
- {
584
- "begin": "^\\s*([`~]{3,})\\s*cs(harp)?\\s*$",
454
+ ],
585
455
  "beginCaptures": {
586
456
  "0": {
587
457
  "name": "support.gfm"
588
458
  }
589
459
  },
590
- "end": "^\\s*\\1$",
591
460
  "endCaptures": {
592
461
  "0": {
593
462
  "name": "support.gfm"
594
463
  }
595
- },
464
+ }
465
+ },
466
+ {
596
467
  "name": "markup.code.cs.gfm",
597
468
  "contentName": "source.cs",
469
+ "begin": "^\\s*([`~]{3,})\\s*cs(harp)?\\s*$",
470
+ "end": "^\\s*\\1$",
598
471
  "patterns": [
599
472
  {
600
473
  "include": "source.cs"
601
474
  }
602
- ]
603
- },
604
- {
605
- "begin": "^\\s*([`~]{3,})\\s*php\\s*$",
475
+ ],
606
476
  "beginCaptures": {
607
477
  "0": {
608
478
  "name": "support.gfm"
609
479
  }
610
480
  },
611
- "end": "^\\s*\\1$",
612
481
  "endCaptures": {
613
482
  "0": {
614
483
  "name": "support.gfm"
615
484
  }
616
- },
485
+ }
486
+ },
487
+ {
617
488
  "name": "markup.code.php.gfm",
618
489
  "contentName": "source.php",
490
+ "begin": "^\\s*([`~]{3,})\\s*php\\s*$",
491
+ "end": "^\\s*\\1$",
619
492
  "patterns": [
620
493
  {
621
- "include": "source.php"
494
+ "include": "text.html.php"
622
495
  }
623
- ]
624
- },
625
- {
626
- "begin": "^\\s*([`~]{3,})\\s*(sh|bash)\\s*$",
496
+ ],
627
497
  "beginCaptures": {
628
498
  "0": {
629
499
  "name": "support.gfm"
630
500
  }
631
501
  },
632
- "end": "^\\s*\\1$",
633
502
  "endCaptures": {
634
503
  "0": {
635
504
  "name": "support.gfm"
636
505
  }
637
- },
506
+ }
507
+ },
508
+ {
638
509
  "name": "markup.code.shell.gfm",
639
510
  "contentName": "source.shell",
511
+ "begin": "^\\s*([`~]{3,})\\s*(sh|bash)\\s*$",
512
+ "end": "^\\s*\\1$",
640
513
  "patterns": [
641
514
  {
642
515
  "include": "source.shell"
643
516
  }
644
- ]
645
- },
646
- {
647
- "begin": "^\\s*([`~]{3,})\\s*py(thon)?\\s*$",
517
+ ],
648
518
  "beginCaptures": {
649
519
  "0": {
650
520
  "name": "support.gfm"
651
521
  }
652
522
  },
653
- "end": "^\\s*\\1$",
654
523
  "endCaptures": {
655
524
  "0": {
656
525
  "name": "support.gfm"
657
526
  }
658
- },
527
+ }
528
+ },
529
+ {
659
530
  "name": "markup.code.python.gfm",
660
531
  "contentName": "source.python",
532
+ "begin": "^\\s*([`~]{3,})\\s*py(thon)?\\s*$",
533
+ "end": "^\\s*\\1$",
661
534
  "patterns": [
662
535
  {
663
536
  "include": "source.python"
664
537
  }
665
- ]
666
- },
667
- {
668
- "begin": "^\\s*([`~]{3,})\\s*c\\s*$",
538
+ ],
669
539
  "beginCaptures": {
670
540
  "0": {
671
541
  "name": "support.gfm"
672
542
  }
673
543
  },
674
- "end": "^\\s*\\1$",
675
544
  "endCaptures": {
676
545
  "0": {
677
546
  "name": "support.gfm"
678
547
  }
679
- },
548
+ }
549
+ },
550
+ {
680
551
  "name": "markup.code.c.gfm",
681
552
  "contentName": "source.c",
553
+ "begin": "^\\s*([`~]{3,})\\s*c\\s*$",
554
+ "end": "^\\s*\\1$",
682
555
  "patterns": [
683
556
  {
684
557
  "include": "source.c"
685
558
  }
686
- ]
687
- },
688
- {
689
- "begin": "^\\s*([`~]{3,})\\s*c(pp|\\+\\+)\\s*$",
559
+ ],
690
560
  "beginCaptures": {
691
561
  "0": {
692
562
  "name": "support.gfm"
693
563
  }
694
564
  },
695
- "end": "^\\s*\\1$",
696
565
  "endCaptures": {
697
566
  "0": {
698
567
  "name": "support.gfm"
699
568
  }
700
- },
569
+ }
570
+ },
571
+ {
701
572
  "name": "markup.code.cpp.gfm",
702
573
  "contentName": "source.cpp",
574
+ "begin": "^\\s*([`~]{3,})\\s*c(pp|\\+\\+)\\s*$",
575
+ "end": "^\\s*\\1$",
703
576
  "patterns": [
704
577
  {
705
- "include": "source.cpp"
578
+ "include": "source.c++"
706
579
  }
707
- ]
708
- },
709
- {
710
- "begin": "^\\s*([`~]{3,})\\s*(objc|objective-c)\\s*$",
580
+ ],
711
581
  "beginCaptures": {
712
582
  "0": {
713
583
  "name": "support.gfm"
714
584
  }
715
585
  },
716
- "end": "^\\s*\\1$",
717
586
  "endCaptures": {
718
587
  "0": {
719
588
  "name": "support.gfm"
720
589
  }
721
- },
590
+ }
591
+ },
592
+ {
722
593
  "name": "markup.code.objc.gfm",
723
594
  "contentName": "source.objc",
595
+ "begin": "^\\s*([`~]{3,})\\s*(objc|objective-c)\\s*$",
596
+ "end": "^\\s*\\1$",
724
597
  "patterns": [
725
598
  {
726
599
  "include": "source.objc"
727
600
  }
728
- ]
729
- },
730
- {
731
- "begin": "^\\s*([`~]{3,})\\s*html\\s*$",
601
+ ],
732
602
  "beginCaptures": {
733
603
  "0": {
734
604
  "name": "support.gfm"
735
605
  }
736
606
  },
737
- "end": "^\\s*\\1$",
738
607
  "endCaptures": {
739
608
  "0": {
740
609
  "name": "support.gfm"
741
610
  }
742
- },
611
+ }
612
+ },
613
+ {
743
614
  "name": "markup.code.html.gfm",
744
615
  "contentName": "source.html.basic",
616
+ "begin": "^\\s*([`~]{3,})\\s*html\\s*$",
617
+ "end": "^\\s*\\1$",
745
618
  "patterns": [
746
619
  {
747
620
  "include": "text.html.basic"
748
621
  }
749
- ]
750
- },
751
- {
752
- "begin": "^\\s*([`~]{3,})\\s*ya?ml\\s*$",
622
+ ],
753
623
  "beginCaptures": {
754
624
  "0": {
755
625
  "name": "support.gfm"
756
626
  }
757
627
  },
758
- "end": "^\\s*\\1$",
759
628
  "endCaptures": {
760
629
  "0": {
761
630
  "name": "support.gfm"
762
631
  }
763
- },
632
+ }
633
+ },
634
+ {
764
635
  "name": "markup.code.yaml.gfm",
765
636
  "contentName": "source.yaml",
637
+ "begin": "^\\s*([`~]{3,})\\s*ya?ml\\s*$",
638
+ "end": "^\\s*\\1$",
766
639
  "patterns": [
767
640
  {
768
641
  "include": "source.yaml"
769
642
  }
770
- ]
771
- },
772
- {
773
- "begin": "^\\s*([`~]{3,})\\s*elixir\\s*$",
643
+ ],
774
644
  "beginCaptures": {
775
645
  "0": {
776
646
  "name": "support.gfm"
777
647
  }
778
648
  },
779
- "end": "^\\s*\\1$",
780
649
  "endCaptures": {
781
650
  "0": {
782
651
  "name": "support.gfm"
783
652
  }
784
- },
653
+ }
654
+ },
655
+ {
785
656
  "name": "markup.code.elixir.gfm",
786
657
  "contentName": "source.elixir",
658
+ "begin": "^\\s*([`~]{3,})\\s*elixir\\s*$",
659
+ "end": "^\\s*\\1$",
787
660
  "patterns": [
788
661
  {
789
662
  "include": "source.elixir"
790
663
  }
791
- ]
792
- },
793
- {
794
- "begin": "^\\s*([`~]{3,})\\s*(diff|patch|rej)\\s*$",
664
+ ],
795
665
  "beginCaptures": {
796
666
  "0": {
797
667
  "name": "support.gfm"
798
668
  }
799
669
  },
800
- "end": "^\\s*\\1$",
801
670
  "endCaptures": {
802
671
  "0": {
803
672
  "name": "support.gfm"
804
673
  }
805
- },
674
+ }
675
+ },
676
+ {
806
677
  "name": "markup.code.diff.gfm",
807
678
  "contentName": "source.diff",
679
+ "begin": "^\\s*([`~]{3,})\\s*(diff|patch|rej)\\s*$",
680
+ "end": "^\\s*\\1$",
808
681
  "patterns": [
809
682
  {
810
683
  "include": "source.diff"
811
684
  }
812
- ]
813
- },
814
- {
815
- "begin": "^\\s*([`~]{3,})\\s*julia\\s*$",
685
+ ],
816
686
  "beginCaptures": {
817
687
  "0": {
818
688
  "name": "support.gfm"
819
689
  }
820
690
  },
821
- "end": "^\\s*\\1$",
822
691
  "endCaptures": {
823
692
  "0": {
824
693
  "name": "support.gfm"
825
694
  }
826
- },
695
+ }
696
+ },
697
+ {
827
698
  "name": "markup.code.julia.gfm",
828
699
  "contentName": "source.julia",
700
+ "begin": "^\\s*([`~]{3,})\\s*julia\\s*$",
701
+ "end": "^\\s*\\1$",
829
702
  "patterns": [
830
703
  {
831
704
  "include": "source.julia"
832
705
  }
833
- ]
834
- },
835
- {
836
- "begin": "^\\s*([`~]{3,})\\s*r\\s*$",
706
+ ],
837
707
  "beginCaptures": {
838
708
  "0": {
839
709
  "name": "support.gfm"
840
710
  }
841
711
  },
842
- "end": "^\\s*\\1$",
843
712
  "endCaptures": {
844
713
  "0": {
845
714
  "name": "support.gfm"
846
715
  }
847
- },
716
+ }
717
+ },
718
+ {
848
719
  "name": "markup.code.r.gfm",
849
720
  "contentName": "source.r",
721
+ "begin": "^\\s*([`~]{3,})\\s*r\\s*$",
722
+ "end": "^\\s*\\1$",
850
723
  "patterns": [
851
724
  {
852
725
  "include": "source.r"
853
726
  }
854
- ]
727
+ ],
728
+ "beginCaptures": {
729
+ "0": {
730
+ "name": "support.gfm"
731
+ }
732
+ },
733
+ "endCaptures": {
734
+ "0": {
735
+ "name": "support.gfm"
736
+ }
737
+ }
855
738
  },
856
739
  {
740
+ "name": "markup.raw.gfm",
857
741
  "begin": "^\\s*([`~]{3,}).*$",
742
+ "end": "^\\s*\\1$",
858
743
  "beginCaptures": {
859
744
  "0": {
860
745
  "name": "support.gfm"
861
746
  }
862
747
  },
863
- "end": "^\\s*\\1$",
864
748
  "endCaptures": {
865
749
  "0": {
866
750
  "name": "support.gfm"
867
751
  }
868
- },
869
- "name": "markup.raw.gfm"
752
+ }
870
753
  },
871
754
  {
755
+ "name": "markup.raw.gfm markup.raw.inline",
872
756
  "begin": "(`+)(?!$)",
873
- "end": "\\1",
874
- "name": "markup.raw.gfm markup.raw.inline"
757
+ "end": "\\1"
875
758
  },
876
759
  {
877
- "match": "(\\[!)(\\[)([^\\]]*)(\\])((\\()[^\\)]+(\\)))(\\])(((\\()[^\\)]+(\\)))|((\\[)[^\\]]+(\\])))",
878
760
  "name": "link",
761
+ "match": "(\\[!)(\\[)([^\\]]*)(\\])((\\()[^\\)]+(\\)))(\\])(((\\()[^\\)]+(\\)))|((\\[)[^\\]]+(\\])))",
879
762
  "captures": {
880
763
  "1": {
881
764
  "name": "punctuation.definition.begin.gfm"
882
765
  },
766
+ "10": {
767
+ "name": "markup.underline.link.gfm"
768
+ },
769
+ "11": {
770
+ "name": "punctuation.definition.begin.gfm"
771
+ },
772
+ "12": {
773
+ "name": "punctuation.definition.end.gfm"
774
+ },
775
+ "13": {
776
+ "name": "markup.underline.link.gfm"
777
+ },
778
+ "14": {
779
+ "name": "punctuation.definition.begin.gfm"
780
+ },
781
+ "15": {
782
+ "name": "punctuation.definition.end.gfm"
783
+ },
883
784
  "2": {
884
785
  "name": "punctuation.definition.begin.gfm"
885
786
  },
@@ -900,6 +801,15 @@
900
801
  },
901
802
  "8": {
902
803
  "name": "punctuation.definition.end.gfm"
804
+ }
805
+ }
806
+ },
807
+ {
808
+ "name": "link",
809
+ "match": "(\\[!)(\\[)([^\\]]*)(\\])((\\[)[^\\)]+(\\]))(\\])(((\\()[^\\)]+(\\)))|((\\[)[^\\]]+(\\])))",
810
+ "captures": {
811
+ "1": {
812
+ "name": "punctuation.definition.begin.gfm"
903
813
  },
904
814
  "10": {
905
815
  "name": "markup.underline.link.gfm"
@@ -918,15 +828,6 @@
918
828
  },
919
829
  "15": {
920
830
  "name": "punctuation.definition.end.gfm"
921
- }
922
- }
923
- },
924
- {
925
- "match": "(\\[!)(\\[)([^\\]]*)(\\])((\\[)[^\\)]+(\\]))(\\])(((\\()[^\\)]+(\\)))|((\\[)[^\\]]+(\\])))",
926
- "name": "link",
927
- "captures": {
928
- "1": {
929
- "name": "punctuation.definition.begin.gfm"
930
831
  },
931
832
  "2": {
932
833
  "name": "punctuation.definition.begin.gfm"
@@ -948,30 +849,12 @@
948
849
  },
949
850
  "8": {
950
851
  "name": "punctuation.definition.end.gfm"
951
- },
952
- "10": {
953
- "name": "markup.underline.link.gfm"
954
- },
955
- "11": {
956
- "name": "punctuation.definition.begin.gfm"
957
- },
958
- "12": {
959
- "name": "punctuation.definition.end.gfm"
960
- },
961
- "13": {
962
- "name": "markup.underline.link.gfm"
963
- },
964
- "14": {
965
- "name": "punctuation.definition.begin.gfm"
966
- },
967
- "15": {
968
- "name": "punctuation.definition.end.gfm"
969
852
  }
970
853
  }
971
854
  },
972
855
  {
973
- "match": "!?(\\[)([^\\]]*)(\\])((\\()[^\\)]+(\\)))",
974
856
  "name": "link",
857
+ "match": "!?(\\[)([^\\]]*)(\\])((\\()[^\\)]+(\\)))",
975
858
  "captures": {
976
859
  "1": {
977
860
  "name": "punctuation.definition.begin.gfm"
@@ -994,8 +877,8 @@
994
877
  }
995
878
  },
996
879
  {
997
- "match": "!?(\\[)([^\\]]*)(\\])((\\[)[^\\]]*(\\]))",
998
880
  "name": "link",
881
+ "match": "!?(\\[)([^\\]]*)(\\])((\\[)[^\\]]*(\\]))",
999
882
  "captures": {
1000
883
  "1": {
1001
884
  "name": "punctuation.definition.begin.gfm"
@@ -1018,8 +901,8 @@
1018
901
  }
1019
902
  },
1020
903
  {
1021
- "match": "^\\s*(\\[)([^\\]]+)(\\])\\s*:\\s*<([^>]+)>",
1022
904
  "name": "link",
905
+ "match": "^\\s*(\\[)([^\\]]+)(\\])\\s*:\\s*\u003c([^\u003e]+)\u003e",
1023
906
  "captures": {
1024
907
  "1": {
1025
908
  "name": "punctuation.definition.begin.gfm"
@@ -1036,8 +919,8 @@
1036
919
  }
1037
920
  },
1038
921
  {
1039
- "match": "^\\s*(\\[)([^\\]]+)(\\])\\s*(:)\\s*(\\S+)",
1040
922
  "name": "link",
923
+ "match": "^\\s*(\\[)([^\\]]+)(\\])\\s*(:)\\s*(\\S+)",
1041
924
  "captures": {
1042
925
  "1": {
1043
926
  "name": "punctuation.definition.begin.gfm"
@@ -1073,22 +956,22 @@
1073
956
  }
1074
957
  },
1075
958
  {
1076
- "begin": "^\\s*(>)",
1077
- "end": "^\\s*?$",
1078
- "beginCaptures": {
1079
- "1": {
1080
- "name": "support.quote.gfm"
1081
- }
1082
- },
1083
959
  "name": "comment.quote.gfm",
960
+ "begin": "^\\s*(\u003e)",
961
+ "end": "^\\s*?$",
1084
962
  "patterns": [
1085
963
  {
1086
964
  "include": "$self"
1087
965
  }
1088
- ]
966
+ ],
967
+ "beginCaptures": {
968
+ "1": {
969
+ "name": "support.quote.gfm"
970
+ }
971
+ }
1089
972
  },
1090
973
  {
1091
- "match": "(?<=^|\\s|\"|'|\\(|\\[)(@)(\\w[-\\w:]*)(?=[\\s\"'.,;\\)\\]])",
974
+ "match": "(?\u003c=^|\\s|\"|'|\\(|\\[)(@)(\\w[-\\w:]*)(?=[\\s\"'.,;\\)\\]])",
1092
975
  "captures": {
1093
976
  "1": {
1094
977
  "name": "variable.mention.gfm"
@@ -1099,7 +982,7 @@
1099
982
  }
1100
983
  },
1101
984
  {
1102
- "match": "(?<=^|\\s|\"|'|\\(|\\[)(#)(\\d+)(?=[\\s\"'\\.,;\\)\\]])",
985
+ "match": "(?\u003c=^|\\s|\"|'|\\(|\\[)(#)(\\d+)(?=[\\s\"'\\.,;\\)\\]])",
1103
986
  "captures": {
1104
987
  "1": {
1105
988
  "name": "variable.issue.tag.gfm"
@@ -1118,24 +1001,19 @@
1118
1001
  }
1119
1002
  },
1120
1003
  {
1121
- "begin": "<!--",
1004
+ "name": "comment.block.gfm",
1005
+ "begin": "\u003c!--",
1006
+ "end": "--\\s*\u003e",
1122
1007
  "captures": {
1123
1008
  "0": {
1124
1009
  "name": "punctuation.definition.comment.gfm"
1125
1010
  }
1126
- },
1127
- "end": "--\\s*>",
1128
- "name": "comment.block.gfm"
1011
+ }
1129
1012
  },
1130
1013
  {
1014
+ "name": "table.gfm",
1131
1015
  "begin": "^\\|",
1132
1016
  "end": "\\|$",
1133
- "captures": {
1134
- "0": {
1135
- "name": "border.pipe.outer"
1136
- }
1137
- },
1138
- "name": "table.gfm",
1139
1017
  "patterns": [
1140
1018
  {
1141
1019
  "match": "(:?)(-+)(:?)",
@@ -1152,14 +1030,127 @@
1152
1030
  }
1153
1031
  },
1154
1032
  {
1155
- "match": "\\|",
1156
- "name": "border.pipe.inner"
1033
+ "name": "border.pipe.inner",
1034
+ "match": "\\|"
1035
+ }
1036
+ ],
1037
+ "captures": {
1038
+ "0": {
1039
+ "name": "border.pipe.outer"
1040
+ }
1041
+ }
1042
+ }
1043
+ ]
1044
+ },
1045
+ "mson-example-value": {
1046
+ "match": ":\\s(`.*?`|(.*?)(?=\\(|-|$))",
1047
+ "captures": {
1048
+ "1": {
1049
+ "name": "mson.field.example markup.raw.inline"
1050
+ }
1051
+ }
1052
+ },
1053
+ "mson-field": {
1054
+ "patterns": [
1055
+ {
1056
+ "begin": "^(?=\\s*[-*+].*?:.*?\\(.*?\\).*?(-|$))",
1057
+ "end": "$",
1058
+ "patterns": [
1059
+ {
1060
+ "include": "#mson-field-name"
1061
+ },
1062
+ {
1063
+ "include": "#mson-example-value"
1064
+ },
1065
+ {
1066
+ "include": "#mson-field-attributes"
1067
+ },
1068
+ {
1069
+ "include": "#mson-field-description"
1070
+ }
1071
+ ]
1072
+ },
1073
+ {
1074
+ "begin": "^(?=\\s*[-*+].*?:.*?(-|$))",
1075
+ "end": "$",
1076
+ "patterns": [
1077
+ {
1078
+ "include": "#mson-field-name"
1079
+ },
1080
+ {
1081
+ "include": "#mson-example-value"
1082
+ },
1083
+ {
1084
+ "include": "#mson-field-description"
1085
+ }
1086
+ ]
1087
+ },
1088
+ {
1089
+ "begin": "^(?=\\s*[-*+].*?\\(.*?\\).*?(-|$))",
1090
+ "end": "$",
1091
+ "patterns": [
1092
+ {
1093
+ "include": "#mson-field-name"
1094
+ },
1095
+ {
1096
+ "include": "#mson-field-attributes"
1097
+ },
1098
+ {
1099
+ "include": "#mson-field-description"
1100
+ }
1101
+ ]
1102
+ },
1103
+ {
1104
+ "begin": "^(?=\\s*[-*+].*?(-|$))",
1105
+ "end": "$",
1106
+ "patterns": [
1107
+ {
1108
+ "include": "#mson-field-name"
1109
+ },
1110
+ {
1111
+ "include": "#mson-field-description"
1157
1112
  }
1158
1113
  ]
1159
1114
  }
1160
1115
  ]
1116
+ },
1117
+ "mson-field-attributes": {
1118
+ "name": "mson.field.attributes",
1119
+ "begin": "(?\u003c=[^\\(])\\((?=.*?\\))",
1120
+ "end": "\\)",
1121
+ "patterns": [
1122
+ {
1123
+ "name": "keyword",
1124
+ "match": "(required|optional|variable|fixed(-type)?|sample|default|nullable)"
1125
+ },
1126
+ {
1127
+ "name": "entity.name.class",
1128
+ "match": "(boolean|string|number|enum|object|array|\\*)"
1129
+ }
1130
+ ]
1131
+ },
1132
+ "mson-field-description": {
1133
+ "begin": " (-) ",
1134
+ "end": "$",
1135
+ "patterns": [
1136
+ {
1137
+ "include": "#gfm"
1138
+ }
1139
+ ],
1140
+ "beginCaptures": {
1141
+ "1": {
1142
+ "name": "comment"
1143
+ }
1144
+ }
1145
+ },
1146
+ "mson-field-name": {
1147
+ "name": "mson.field.name",
1148
+ "match": "^\\s*([-*+]).*?(?= ?(:|\\(|-|$))",
1149
+ "captures": {
1150
+ "1": {
1151
+ "name": "variable.unordered.list.gfm"
1152
+ }
1153
+ }
1161
1154
  }
1162
- },
1163
- "scopeName": "text.html.markdown.source.gfm.mson",
1164
- "uuid": "dd477cf1-34c4-49d2-ba09-f8445676cce6"
1165
- }
1155
+ }
1156
+ }