github-linguist 7.11.0 → 7.13.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/linguist/lex.linguist_yy.c +1123 -623
- data/ext/linguist/lex.linguist_yy.h +433 -66
- data/ext/linguist/linguist.c +5 -35
- data/ext/linguist/linguist.h +0 -18
- data/ext/linguist/tokenizer.l +83 -65
- data/grammars/annotation.liquidhaskell.haskell.json +1 -1835
- data/grammars/config.xcompose.json +1 -80
- data/grammars/documentation.markdown.injection.haxe.json +1 -22
- data/grammars/etc.json +1 -987
- data/grammars/file.lasso.json +1 -702
- data/grammars/hidden.manref.json +1 -29
- data/grammars/hidden.regexp.injection-shell.json +1 -28
- data/grammars/hint.haskell.json +1 -1762
- data/grammars/hint.message.haskell.json +1 -1786
- data/grammars/hint.type.haskell.json +1 -1759
- data/grammars/injections.etc.json +1 -659
- data/grammars/inline.prisma.json +1 -55
- data/grammars/markdown.hack.codeblock.json +1 -20
- data/grammars/markdown.haxe.codeblock.json +1 -26
- data/grammars/markdown.hxml.codeblock.json +1 -26
- data/grammars/markdown.lean.codeblock.json +1 -0
- data/grammars/markdown.plantuml.codeblock.json +1 -26
- data/grammars/objdump.x86asm.json +1 -69
- data/grammars/source.4dm.json +1 -1156
- data/grammars/source.SASLog.json +1 -18
- data/grammars/source.abap.json +1 -335
- data/grammars/source.abapcds.json +1 -0
- data/grammars/source.abl.json +1 -734
- data/grammars/source.abnf.json +1 -294
- data/grammars/source.actionscript.3.json +1 -1538
- data/grammars/source.acucobol.json +1 -13
- data/grammars/source.ada.json +1 -133
- data/grammars/source.afm.json +1 -1207
- data/grammars/source.agc.json +1 -87
- data/grammars/source.agda.json +1 -72
- data/grammars/source.ahk.json +1 -195
- data/grammars/source.al.json +1 -130
- data/grammars/source.alloy.json +1 -40
- data/grammars/source.ampl.json +1 -151
- data/grammars/source.angelscript.json +1 -186
- data/grammars/source.antlr.json +1 -295
- data/grammars/source.apache-config.json +1 -346
- data/grammars/source.apache-config.mod_perl.json +1 -65
- data/grammars/source.apl.json +1 -1427
- data/grammars/source.applescript.json +1 -1384
- data/grammars/source.asl.json +1 -56
- data/grammars/source.asn.json +1 -55
- data/grammars/source.asp.json +1 -151
- data/grammars/source.aspectj.json +1 -960
- data/grammars/source.assembly.json +1 -116
- data/grammars/source.ats.json +1 -164
- data/grammars/source.autoit.json +1 -167
- data/grammars/source.avro.json +1 -381
- data/grammars/source.awk.json +1 -384
- data/grammars/source.ballerina.json +1 -1785
- data/grammars/source.batchfile.json +1 -732
- data/grammars/source.bdf.json +1 -425
- data/grammars/source.befunge.json +1 -34
- data/grammars/source.bf.json +1 -30
- data/grammars/source.blitzmax.json +1 -905
- data/grammars/source.bnf.json +1 -191
- data/grammars/source.boo.json +1 -448
- data/grammars/source.boogie.json +1 -0
- data/grammars/source.brightauthorproject.json +1 -24
- data/grammars/source.brightscript.json +1 -148
- data/grammars/source.bsl.json +1 -451
- data/grammars/source.bsv.json +1 -277
- data/grammars/source.c++.json +1 -436
- data/grammars/source.c++.qt.json +1 -29
- data/grammars/source.c.ec.json +1 -33
- data/grammars/source.c.json +1 -712
- data/grammars/source.c.nwscript.json +1 -0
- data/grammars/source.c.platform.json +1 -1115
- data/grammars/source.c2hs.json +1 -24
- data/grammars/source.cabal.json +1 -63
- data/grammars/source.cache.cmake.json +1 -70
- data/grammars/source.cake.json +1 -13
- data/grammars/source.camlp4.ocaml.json +1 -60
- data/grammars/source.capnp.json +1 -88
- data/grammars/source.ceylon.json +1 -93
- data/grammars/source.cfscript.cfc.json +1 -162
- data/grammars/source.cfscript.json +1 -737
- data/grammars/source.changelogs.rpm-spec.json +1 -91
- data/grammars/source.chapel.json +1 -265
- data/grammars/source.cirru.json +1 -61
- data/grammars/source.clarion.json +1 -146
- data/grammars/source.clean.json +1 -222
- data/grammars/source.click.json +1 -107
- data/grammars/source.clips.json +1 -67
- data/grammars/source.clojure.json +1 -429
- data/grammars/source.cm.json +1 -49
- data/grammars/source.cmake.json +1 -173
- data/grammars/source.cobol.json +1 -485
- data/grammars/source.coffee.json +1 -1310
- data/grammars/source.cool.json +1 -96
- data/grammars/source.coq.json +1 -58
- data/grammars/source.crystal.json +1 -2694
- data/grammars/source.cs.json +1 -4323
- data/grammars/source.csound-document.json +1 -175
- data/grammars/source.csound-score.json +1 -191
- data/grammars/source.csound.json +1 -824
- data/grammars/source.css.json +1 -1859
- data/grammars/source.css.less.json +1 -536
- data/grammars/source.css.mss.json +1 -249
- data/grammars/source.css.postcss.sugarss.json +1 -260
- data/grammars/source.css.scss.json +1 -1873
- data/grammars/source.csx.json +1 -13
- data/grammars/source.cuda-c++.json +1 -103
- data/grammars/source.curlrc.json +1 -984
- data/grammars/source.cwl.json +1 -103
- data/grammars/source.cython.json +1 -1912
- data/grammars/source.d.json +1 -741
- data/grammars/source.dart.json +1 -433
- data/grammars/source.data-weave.json +1 -1580
- data/grammars/source.desktop.json +1 -86
- data/grammars/source.diff.json +1 -153
- data/grammars/source.dircolors.json +1 -137
- data/grammars/source.direct-x.json +1 -135
- data/grammars/source.disasm.json +1 -30
- data/grammars/source.ditroff.desc.json +1 -411
- data/grammars/source.ditroff.json +1 -1280
- data/grammars/source.dm.json +1 -628
- data/grammars/source.dmf.json +1 -96
- data/grammars/source.dockerfile.json +1 -88
- data/grammars/source.dosbox-conf.json +1 -97
- data/grammars/source.dot.json +1 -117
- data/grammars/source.dylan.json +1 -212
- data/grammars/source.ebnf.json +1 -240
- data/grammars/source.editorconfig.json +1 -365
- data/grammars/source.eiffel.json +1 -133
- data/grammars/source.elixir.json +1 -965
- data/grammars/source.elm.json +1 -375
- data/grammars/source.emacs.lisp.json +1 -1301
- data/grammars/source.erlang.json +1 -1647
- data/grammars/source.essl.json +1 -37
- data/grammars/source.factor.json +1 -252
- data/grammars/source.fan.json +1 -341
- data/grammars/source.fancy.json +1 -245
- data/grammars/source.faust.json +1 -119
- data/grammars/source.figctrl.json +1 -252
- data/grammars/source.figfont.json +1 -121
- data/grammars/source.firestore.json +1 -289
- data/grammars/source.fish.json +1 -190
- data/grammars/source.fontdir.json +1 -99
- data/grammars/source.fontforge.json +1 -355
- data/grammars/source.forth.json +1 -84
- data/grammars/source.fortran.json +1 -464
- data/grammars/source.fortran.modern.json +1 -200
- data/grammars/source.fsharp.fsi.json +1 -9
- data/grammars/source.fsharp.fsl.json +1 -9
- data/grammars/source.fsharp.fsx.json +1 -13
- data/grammars/source.fsharp.json +1 -452
- data/grammars/source.fstar.json +1 -439
- data/grammars/source.futhark.json +1 -167
- data/grammars/source.gap.json +1 -163
- data/grammars/source.gcode.json +1 -176
- data/grammars/source.gdb.json +1 -160
- data/grammars/source.gdb.session.json +1 -70
- data/grammars/source.gdbregs.json +1 -14
- data/grammars/source.gdscript.json +1 -245
- data/grammars/source.gedcom.json +1 -196
- data/grammars/source.generic-db.json +1 -41
- data/grammars/source.gerber.json +1 -321
- data/grammars/source.gf.json +1 -51
- data/grammars/source.gfm.blade.json +1 -15
- data/grammars/source.gfm.json +1 -1913
- data/grammars/source.gitattributes.json +1 -111
- data/grammars/source.gitconfig.json +1 -450
- data/grammars/source.gitignore.json +1 -140
- data/grammars/source.glsl.json +1 -139
- data/grammars/source.gn.json +1 -345
- data/grammars/source.gnuplot.json +1 -260
- data/grammars/source.go.json +1 -540
- data/grammars/source.golo.json +1 -177
- data/grammars/source.gosu.2.json +1 -153
- data/grammars/source.grace.json +1 -675
- data/grammars/source.graphql.json +1 -978
- data/grammars/source.gremlin.json +1 -200
- data/grammars/source.groovy.gradle.json +1 -69
- data/grammars/source.groovy.json +1 -1374
- data/grammars/source.hack.json +1 -2595
- data/grammars/source.haproxy-config.json +1 -152
- data/grammars/source.harbour.json +1 -388
- data/grammars/source.haskell.json +1 -1760
- data/grammars/source.hc.json +1 -709
- data/grammars/source.hgignore.json +1 -34
- data/grammars/source.hlsl.json +1 -211
- data/grammars/source.hosts.json +1 -40
- data/grammars/source.hql.json +1 -492
- data/grammars/source.hsc2hs.json +1 -9
- data/grammars/source.hsig.json +1 -1760
- data/grammars/source.httpspec.json +1 -283
- data/grammars/source.hx.argument.json +1 -80
- data/grammars/source.hx.json +1 -2428
- data/grammars/source.hx.type.json +1 -8
- data/grammars/source.hxml.json +1 -59
- data/grammars/source.hy.json +1 -429
- data/grammars/source.ideal.json +1 -356
- data/grammars/source.idl-dlm.json +1 -105
- data/grammars/source.idl.json +1 -246
- data/grammars/source.idris.json +1 -523
- data/grammars/source.igor.json +1 -369
- data/grammars/source.inform7.json +1 -183
- data/grammars/source.ini.json +1 -107
- data/grammars/source.ini.npmrc.json +1 -311
- data/grammars/source.inno.json +1 -133
- data/grammars/source.inputrc.json +1 -500
- data/grammars/source.io.json +1 -156
- data/grammars/source.ioke.json +1 -266
- data/grammars/source.isabelle.root.json +1 -64
- data/grammars/source.isabelle.theory.json +1 -102
- data/grammars/source.j.json +1 -260
- data/grammars/source.jasmin.json +1 -294
- data/grammars/source.java-properties.json +1 -87
- data/grammars/source.java.json +1 -1020
- data/grammars/source.jcl.json +1 -46
- data/grammars/source.jflex.json +1 -484
- data/grammars/source.jison.json +1 -711
- data/grammars/source.jisonlex-injection.json +1 -10
- data/grammars/source.jisonlex.json +1 -434
- data/grammars/source.jolie.json +1 -132
- data/grammars/source.jq.json +1 -211
- data/grammars/source.js.json +1 -1897
- data/grammars/source.js.objj.json +1 -419
- data/grammars/source.js.regexp.json +1 -152
- data/grammars/source.js.regexp.replacement.json +1 -26
- data/grammars/source.jsdoc.json +1 -460
- data/grammars/source.json.json +1 -139
- data/grammars/source.jsonnet.json +1 -197
- data/grammars/source.julia.console.json +1 -51
- data/grammars/source.julia.json +1 -991
- data/grammars/source.kotlin.json +1 -704
- data/grammars/source.lark.json +1 -0
- data/grammars/source.lbnf.json +1 -0
- data/grammars/source.lcov.json +1 -398
- data/grammars/source.lean.json +1 -226
- data/grammars/source.lean.markdown.json +1 -2598
- data/grammars/source.lex.json +1 -232
- data/grammars/source.lex.regexp.json +1 -269
- data/grammars/source.lid.json +1 -19
- data/grammars/source.lilypond.json +1 -869
- data/grammars/source.lisp.json +1 -101
- data/grammars/source.litcoffee.json +1 -654
- data/grammars/source.livescript.json +1 -603
- data/grammars/source.llvm.json +1 -61
- data/grammars/source.logos.json +1 -24
- data/grammars/source.logtalk.json +1 -310
- data/grammars/source.loomscript.json +1 -208
- data/grammars/source.lsl.json +1 -241
- data/grammars/source.ltspice.symbol.json +1 -294
- data/grammars/source.lua.json +1 -275
- data/grammars/source.m2.json +1 -125
- data/grammars/source.m4.json +1 -229
- data/grammars/source.m68k.json +1 -412
- data/grammars/source.mailmap.json +1 -28
- data/grammars/source.makefile.json +1 -470
- data/grammars/source.makegen.json +1 -9
- data/grammars/source.man-conf.json +1 -153
- data/grammars/source.mask.json +1 -816
- data/grammars/source.mata.json +1 -125
- data/grammars/source.mathematica.json +1 -416
- data/grammars/source.matlab.json +1 -1096
- data/grammars/source.maxscript.json +1 -465
- data/grammars/source.mcfunction-snapshot.json +1 -24480
- data/grammars/source.mcfunction.json +1 -1354
- data/grammars/source.mercury.json +1 -246
- data/grammars/source.meson.json +1 -165
- data/grammars/source.meta-info.json +1 -146
- data/grammars/source.ml.json +1 -285
- data/grammars/source.mlir.json +1 -109
- data/grammars/source.modelica.json +1 -142
- data/grammars/source.modula-3.json +1 -88
- data/grammars/source.modula2.json +1 -94
- data/grammars/source.monkey.json +1 -694
- data/grammars/source.moonscript.json +1 -144
- data/grammars/source.mql5.json +1 -187
- data/grammars/source.msl.json +1 -755
- data/grammars/source.mupad.json +1 -131
- data/grammars/source.nanorc.json +1 -333
- data/grammars/source.nasl.json +1 -155
- data/grammars/source.ncl.json +1 -53
- data/grammars/source.ne.json +1 -105
- data/grammars/source.nemerle.json +1 -132
- data/grammars/source.neon.json +1 -381
- data/grammars/source.nesc.json +1 -21
- data/grammars/source.netlinx.erb.json +1 -34
- data/grammars/source.netlinx.json +1 -704
- data/grammars/source.nextflow-groovy.json +1 -1359
- data/grammars/source.nextflow.json +1 -94
- data/grammars/source.nginx.json +1 -815
- data/grammars/source.nim.comment.json +1 -82
- data/grammars/source.nim.json +1 -1083
- data/grammars/source.nim_filter.json +1 -113
- data/grammars/source.nimcfg.json +1 -103
- data/grammars/source.ninja.json +1 -248
- data/grammars/source.nit.json +1 -234
- data/grammars/source.nix.json +1 -1196
- data/grammars/source.nsis.json +1 -152
- data/grammars/source.nu.json +1 -516
- data/grammars/source.nunjucks.json +1 -0
- data/grammars/source.nut.json +1 -262
- data/grammars/source.objc++.json +1 -12
- data/grammars/source.objc.json +1 -910
- data/grammars/source.objc.platform.json +1 -842
- data/grammars/source.objectscript.json +1 -309
- data/grammars/source.objectscript_class.json +1 -674
- data/grammars/source.objectscript_csp.json +1 -19
- data/grammars/source.objectscript_macros.json +1 -226
- data/grammars/source.ocaml.json +1 -1418
- data/grammars/source.ocamllex.json +1 -298
- data/grammars/source.ocamlyacc.json +1 -339
- data/grammars/source.odin-ehr.json +1 -806
- data/grammars/source.odin.json +1 -402
- data/grammars/source.ooc.json +1 -685
- data/grammars/source.opa.json +1 -196
- data/grammars/source.opal.json +1 -410
- data/grammars/source.opalsysdefs.json +1 -66
- data/grammars/source.openbsd-pkg.contents.json +1 -128
- data/grammars/source.opencobol.json +1 -62
- data/grammars/source.opentype.json +1 -448
- data/grammars/source.opts.json +1 -108
- data/grammars/source.ox.json +1 -89
- data/grammars/source.oz.json +1 -77
- data/grammars/source.p4.json +1 -122
- data/grammars/source.paket.dependencies.json +1 -0
- data/grammars/source.paket.lock.json +1 -0
- data/grammars/source.pan.json +1 -706
- data/grammars/source.papyrus.skyrim.json +1 -1272
- data/grammars/source.parrot.pir.json +1 -145
- data/grammars/source.pascal.json +1 -143
- data/grammars/source.pawn.json +1 -1194
- data/grammars/source.pcb.board.json +1 -285
- data/grammars/source.pcb.schematic.json +1 -424
- data/grammars/source.pcb.sexp.json +1 -232
- data/grammars/source.pep8.json +1 -118
- data/grammars/source.perl.6.json +1 -309
- data/grammars/source.perl.json +1 -2519
- data/grammars/source.php.zephir.json +1 -353
- data/grammars/source.pic.json +1 -908
- data/grammars/source.pig_latin.json +1 -168
- data/grammars/source.pike.json +1 -49
- data/grammars/source.plist.json +1 -336
- data/grammars/source.po.json +1 -222
- data/grammars/source.pogoscript.json +1 -79
- data/grammars/source.pony.json +1 -245
- data/grammars/source.postcss.json +1 -370
- data/grammars/source.postscript.json +1 -477
- data/grammars/source.pov-ray sdl.json +1 -82
- data/grammars/source.powershell.json +1 -981
- data/grammars/source.prisma.json +1 -435
- data/grammars/source.processing.json +1 -872
- data/grammars/source.prolog.eclipse.json +1 -201
- data/grammars/source.prolog.json +1 -286
- data/grammars/source.protobuf.json +1 -471
- data/grammars/source.puppet.json +1 -433
- data/grammars/source.purescript.json +1 -861
- data/grammars/source.pyjade.json +1 -996
- data/grammars/source.python.django.json +1 -29
- data/grammars/source.python.json +1 -5292
- data/grammars/source.python.salt.json +1 -9
- data/grammars/source.q.json +1 -215
- data/grammars/source.q_output.json +1 -348
- data/grammars/source.qasm.json +1 -66
- data/grammars/source.ql.json +1 -1408
- data/grammars/source.qmake.json +1 -210
- data/grammars/source.qml.json +1 -174
- data/grammars/source.qsharp.json +1 -120
- data/grammars/source.quake.json +1 -44
- data/grammars/source.quoting.raku.json +1 -0
- data/grammars/source.r.json +1 -194
- data/grammars/source.racket.json +1 -98
- data/grammars/source.raku.json +1 -0
- data/grammars/source.rascal.json +1 -283
- data/grammars/source.reason.hover.type.json +1 -14
- data/grammars/source.reason.json +1 -3382
- data/grammars/source.rebol.json +1 -637
- data/grammars/source.record-jar.json +1 -0
- data/grammars/source.red.json +1 -644
- data/grammars/source.reg.json +1 -159
- data/grammars/source.regexp.extended.json +1 -558
- data/grammars/source.regexp.json +1 -1434
- data/grammars/source.regexp.posix.json +1 -0
- data/grammars/source.regexp.python.json +1 -490
- data/grammars/source.regexp.raku.json +1 -0
- data/grammars/source.regexp.spin.json +1 -179
- data/grammars/source.rego.json +1 -124
- data/grammars/source.renpy.json +1 -1948
- data/grammars/source.rescript.json +1 -0
- data/grammars/source.rexx.json +1 -52
- data/grammars/source.ring.json +1 -247
- data/grammars/source.rpm-spec.json +1 -765
- data/grammars/source.ruby.gemfile.json +1 -24
- data/grammars/source.ruby.json +1 -2605
- data/grammars/source.ruby.rspec.cucumber.steps.json +1 -261
- data/grammars/source.rust.json +1 -629
- data/grammars/source.sas.json +1 -286
- data/grammars/source.sass.json +1 -1089
- data/grammars/source.sassdoc.json +1 -346
- data/grammars/source.scad.json +1 -145
- data/grammars/source.scala.json +1 -1121
- data/grammars/source.scaml.json +1 -451
- data/grammars/source.scheme.json +1 -353
- data/grammars/source.scilab.json +1 -96
- data/grammars/source.sdbl.json +1 -90
- data/grammars/source.sed.json +1 -1520
- data/grammars/source.shaderlab.json +1 -198
- data/grammars/source.shell.json +1 -1272
- data/grammars/source.shen.json +1 -143
- data/grammars/source.sieve.json +1 -383
- data/grammars/source.slice.json +1 -2755
- data/grammars/source.smali.json +1 -1610
- data/grammars/source.smalltalk.json +1 -187
- data/grammars/source.smpl.json +1 -314
- data/grammars/source.smt.json +1 -158
- data/grammars/source.solidity.json +1 -189
- data/grammars/source.sourcepawn.json +1 -651
- data/grammars/source.sparql.json +1 -18
- data/grammars/source.spin.json +1 -916
- data/grammars/source.sqf.json +1 -111
- data/grammars/source.sql.json +1 -459
- data/grammars/source.ssh-config.json +1 -97
- data/grammars/source.stan.json +1 -388
- data/grammars/source.stata.json +1 -197
- data/grammars/source.strings.json +1 -49
- data/grammars/source.stylus.json +1 -1018
- data/grammars/source.supercollider.json +1 -93
- data/grammars/source.svelte.json +1 -827
- data/grammars/source.swift.json +1 -3134
- data/grammars/source.sy.json +1 -2954
- data/grammars/source.systemverilog.json +1 -1036
- data/grammars/source.tags.json +1 -266
- data/grammars/source.tcl.json +1 -260
- data/grammars/source.tea.json +1 -174
- data/grammars/source.terra.json +1 -138
- data/grammars/source.terraform.json +1 -694
- data/grammars/source.thrift.json +1 -698
- data/grammars/source.tl.json +1 -259
- data/grammars/source.tla.json +1 -140
- data/grammars/source.tnsaudit.json +1 -256
- data/grammars/source.toc.json +1 -52
- data/grammars/source.toml.json +1 -426
- data/grammars/source.ts.json +1 -5581
- data/grammars/source.tsql.json +1 -507
- data/grammars/source.tsx.json +1 -5834
- data/grammars/source.turing.json +1 -1553
- data/grammars/source.turtle.json +1 -489
- data/grammars/source.txl.json +1 -48
- data/grammars/source.ucd.nameslist.json +1 -444
- data/grammars/source.ucd.unidata.json +1 -570
- data/grammars/source.ucfconstraints.json +1 -67
- data/grammars/source.ur.json +1 -31
- data/grammars/source.v.json +1 -1010
- data/grammars/source.vala.json +1 -800
- data/grammars/source.varnish.vcl.json +1 -331
- data/grammars/source.vbnet.json +1 -239
- data/grammars/source.verilog.json +1 -296
- data/grammars/source.vhdl.json +1 -1374
- data/grammars/source.vim-snippet.json +1 -645
- data/grammars/source.viml.json +1 -1197
- data/grammars/source.vtt.json +1 -702
- data/grammars/source.vyper.json +1 -213
- data/grammars/source.wavefront.mtl.json +1 -1190
- data/grammars/source.wavefront.obj.json +1 -1341
- data/grammars/source.wdl.json +1 -220
- data/grammars/source.webassembly.json +1 -349
- data/grammars/source.webidl.json +1 -807
- data/grammars/source.wgetrc.json +1 -1640
- data/grammars/source.wollok.json +1 -100
- data/grammars/source.wsd.json +1 -781
- data/grammars/source.x10.json +1 -64
- data/grammars/source.x86.json +1 -299
- data/grammars/source.x86asm.json +1 -42
- data/grammars/source.xc.json +1 -371
- data/grammars/source.xlfd.json +1 -462
- data/grammars/source.xojo.json +1 -85
- data/grammars/source.xq.json +1 -230
- data/grammars/source.xtend.json +1 -724
- data/grammars/source.yacc.json +1 -626
- data/grammars/source.yaml.json +1 -443
- data/grammars/source.yaml.salt.json +1 -345
- data/grammars/source.yang.json +1 -78
- data/grammars/source.yara.json +1 -99
- data/grammars/source.yasnippet.json +1 -377
- data/grammars/source.zap.json +1 -260
- data/grammars/source.zeek.json +1 -412
- data/grammars/source.zenscript.json +1 -282
- data/grammars/source.zig.json +1 -547
- data/grammars/source.zil.json +1 -750
- data/grammars/text.bibtex.json +1 -246
- data/grammars/text.browserslist.json +1 -0
- data/grammars/text.cfml.basic.json +1 -735
- data/grammars/text.checksums.json +1 -0
- data/grammars/text.conllu.json +1 -45
- data/grammars/text.dfy.dafny.json +1 -188
- data/grammars/text.elixir.json +1 -52
- data/grammars/text.eml.basic.json +1 -296
- data/grammars/text.error-list.json +1 -53
- data/grammars/text.find-refs.json +1 -926
- data/grammars/text.gherkin.feature.json +1 -127
- data/grammars/text.haml.json +1 -518
- data/grammars/text.hamlc.json +1 -219
- data/grammars/text.html.asciidoc.json +1 -478
- data/grammars/text.html.asdoc.json +1 -529
- data/grammars/text.html.asp.json +1 -53
- data/grammars/text.html.basic.json +1 -908
- data/grammars/text.html.cfm.json +1 -802
- data/grammars/text.html.creole.json +1 -317
- data/grammars/text.html.cshtml.json +1 -356
- data/grammars/text.html.django.json +1 -63
- data/grammars/text.html.ecr.json +1 -48
- data/grammars/text.html.elixir.json +1 -21
- data/grammars/text.html.erb.json +1 -150
- data/grammars/text.html.erlang.yaws.json +1 -67
- data/grammars/text.html.factor.json +1 -19
- data/grammars/text.html.ftl.json +1 -76
- data/grammars/text.html.handlebars.json +1 -845
- data/grammars/text.html.javadoc.json +1 -426
- data/grammars/text.html.js.json +1 -24
- data/grammars/text.html.jsp.json +1 -1196
- data/grammars/text.html.liquid.json +1 -25
- data/grammars/text.html.mako.json +1 -726
- data/grammars/text.html.markdown.source.gfm.apib.json +1 -1298
- data/grammars/text.html.markdown.source.gfm.mson.json +1 -1156
- data/grammars/text.html.mediawiki.elm-build-output.json +1 -97
- data/grammars/text.html.mediawiki.elm-documentation.json +1 -17
- data/grammars/text.html.mediawiki.json +1 -946
- data/grammars/text.html.nunjucks.json +1 -0
- data/grammars/text.html.php.blade.json +1 -3833
- data/grammars/text.html.php.json +1 -2507
- data/grammars/text.html.riot.json +1 -788
- data/grammars/text.html.slash.json +1 -307
- data/grammars/text.html.smarty.json +1 -232
- data/grammars/text.html.soy.json +1 -606
- data/grammars/text.html.ssp.json +1 -43
- data/grammars/text.html.tcl.json +1 -37
- data/grammars/text.html.twig.json +1 -1344
- data/grammars/text.html.vue.json +1 -963
- data/grammars/text.idl-idldoc.json +1 -10
- data/grammars/text.jade.json +1 -963
- data/grammars/text.junit-test-report.json +1 -89
- data/grammars/text.log.latex.json +1 -84
- data/grammars/text.marko.json +1 -1662
- data/grammars/text.muse.json +1 -1471
- data/grammars/text.openbsd-pkg.desc.json +1 -78
- data/grammars/text.plain.json +1 -18
- data/grammars/text.python.console.json +1 -21
- data/grammars/text.python.traceback.json +1 -43
- data/grammars/text.rdoc.json +1 -44
- data/grammars/text.restructuredtext.clean.json +1 -24
- data/grammars/text.restructuredtext.json +1 -1765
- data/grammars/text.robot.json +1 -63
- data/grammars/text.roff.json +1 -6927
- data/grammars/text.rtf.json +1 -148
- data/grammars/text.runoff.json +1 -308
- data/grammars/text.sfd.json +1 -292
- data/grammars/text.shell-session.json +1 -29
- data/grammars/text.slim.json +1 -527
- data/grammars/text.srt.json +1 -166
- data/grammars/text.tex.json +1 -264
- data/grammars/text.tex.latex.beamer.json +1 -57
- data/grammars/text.tex.latex.haskell.json +1 -1826
- data/grammars/text.tex.latex.json +1 -1003
- data/grammars/text.tex.latex.memoir.json +1 -129
- data/grammars/text.tex.latex.rd.json +1 -111
- data/grammars/text.texinfo.json +1 -1525
- data/grammars/text.vim-help.json +1 -383
- data/grammars/text.xml.ant.json +1 -195
- data/grammars/text.xml.flex-config.json +1 -2628
- data/grammars/text.xml.genshi.json +1 -28
- data/grammars/text.xml.json +1 -351
- data/grammars/text.xml.plist.json +1 -664
- data/grammars/text.xml.pom.json +1 -769
- data/grammars/text.xml.svg.json +1 -562
- data/grammars/text.xml.xsl.json +1 -88
- data/grammars/text.zone_file.json +1 -67
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/classifier.rb +28 -17
- data/lib/linguist/generated.rb +23 -3
- data/lib/linguist/generic.yml +18 -0
- data/lib/linguist/heuristics.yml +57 -22
- data/lib/linguist/language.rb +4 -2
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +142 -25
- data/lib/linguist/linguist.bundle +0 -0
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/samples.rb +4 -4
- data/lib/linguist/{md5.rb → sha256.rb} +3 -3
- data/lib/linguist/strategy/extension.rb +13 -5
- data/lib/linguist/vendor.yml +1 -1
- metadata +23 -10
- data/ext/linguist/strndup.c +0 -10
- data/grammars/source.js.css.json +0 -328
- data/grammars/source.js.jsx.json +0 -2488
- data/grammars/source.perl6fe.json +0 -2769
- data/grammars/source.quoting.perl6fe.json +0 -2369
- data/grammars/source.regexp.perl6fe.json +0 -244
@@ -1,24 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "Gemfile",
|
3
|
-
"scopeName": "source.ruby.gemfile",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"include": "source.ruby"
|
7
|
-
},
|
8
|
-
{
|
9
|
-
"name": "meta.declaration.ruby.gemfile",
|
10
|
-
"begin": "\\b(?\u003c!\\.|::)(gem|git|group|platforms|ruby|source)\\b(?![?!])",
|
11
|
-
"end": "$|(?=#|})",
|
12
|
-
"patterns": [
|
13
|
-
{
|
14
|
-
"include": "$self"
|
15
|
-
}
|
16
|
-
],
|
17
|
-
"captures": {
|
18
|
-
"1": {
|
19
|
-
"name": "keyword.other.special-method.ruby.gemfile"
|
20
|
-
}
|
21
|
-
}
|
22
|
-
}
|
23
|
-
]
|
24
|
-
}
|
1
|
+
{"name":"Gemfile","scopeName":"source.ruby.gemfile","patterns":[{"include":"source.ruby"},{"name":"meta.declaration.ruby.gemfile","begin":"\\b(?\u003c!\\.|::)(gem|git|group|platforms|ruby|source)\\b(?![?!])","end":"$|(?=#|})","patterns":[{"include":"$self"}],"captures":{"1":{"name":"keyword.other.special-method.ruby.gemfile"}}}]}
|
data/grammars/source.ruby.json
CHANGED
@@ -1,2605 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "Ruby",
|
3
|
-
"scopeName": "source.ruby",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "meta.class.ruby",
|
7
|
-
"match": "(?x)\n^\\s*(class)\\s+\n(\n (\n [.a-zA-Z0-9_:]+\n (\\s*(\u003c)\\s*[.a-zA-Z0-9_:]+)? # class A \u003c B\n )\n |\n ((\u003c\u003c)\\s*[.a-zA-Z0-9_:]+) # class \u003c\u003c C\n)",
|
8
|
-
"captures": {
|
9
|
-
"1": {
|
10
|
-
"name": "keyword.control.class.ruby"
|
11
|
-
},
|
12
|
-
"2": {
|
13
|
-
"name": "entity.name.type.class.ruby"
|
14
|
-
},
|
15
|
-
"4": {
|
16
|
-
"name": "entity.other.inherited-class.ruby"
|
17
|
-
},
|
18
|
-
"5": {
|
19
|
-
"name": "punctuation.separator.inheritance.ruby"
|
20
|
-
},
|
21
|
-
"6": {
|
22
|
-
"name": "variable.other.object.ruby"
|
23
|
-
},
|
24
|
-
"7": {
|
25
|
-
"name": "punctuation.definition.variable.ruby"
|
26
|
-
}
|
27
|
-
}
|
28
|
-
},
|
29
|
-
{
|
30
|
-
"name": "meta.module.ruby",
|
31
|
-
"match": "(?x)\n^\\s*(module)\\s+\n(\n ([A-Z]\\w*(::))?\n ([A-Z]\\w*(::))?\n ([A-Z]\\w*(::))*\n [A-Z]\\w*\n)",
|
32
|
-
"captures": {
|
33
|
-
"1": {
|
34
|
-
"name": "keyword.control.module.ruby"
|
35
|
-
},
|
36
|
-
"2": {
|
37
|
-
"name": "entity.name.type.module.ruby"
|
38
|
-
},
|
39
|
-
"3": {
|
40
|
-
"name": "entity.other.inherited-class.module.first.ruby"
|
41
|
-
},
|
42
|
-
"4": {
|
43
|
-
"name": "punctuation.separator.inheritance.ruby"
|
44
|
-
},
|
45
|
-
"5": {
|
46
|
-
"name": "entity.other.inherited-class.module.second.ruby"
|
47
|
-
},
|
48
|
-
"6": {
|
49
|
-
"name": "punctuation.separator.inheritance.ruby"
|
50
|
-
},
|
51
|
-
"7": {
|
52
|
-
"name": "entity.other.inherited-class.module.third.ruby"
|
53
|
-
},
|
54
|
-
"8": {
|
55
|
-
"name": "punctuation.separator.inheritance.ruby"
|
56
|
-
}
|
57
|
-
}
|
58
|
-
},
|
59
|
-
{
|
60
|
-
"name": "invalid.deprecated.ruby",
|
61
|
-
"match": "(?\u003c!\\.)\\belse(\\s)+if\\b"
|
62
|
-
},
|
63
|
-
{
|
64
|
-
"name": "constant.other.symbol.hashkey.ruby",
|
65
|
-
"match": "(?\u003e[a-zA-Z_]\\w*(?\u003e[?!])?)(:)(?!:)",
|
66
|
-
"captures": {
|
67
|
-
"1": {
|
68
|
-
"name": "punctuation.definition.constant.hashkey.ruby"
|
69
|
-
}
|
70
|
-
}
|
71
|
-
},
|
72
|
-
{
|
73
|
-
"name": "constant.other.symbol.hashkey.ruby",
|
74
|
-
"match": "(?\u003c!:)(:)(?\u003e[a-zA-Z_]\\w*(?\u003e[?!])?)(?=\\s*=\u003e)",
|
75
|
-
"captures": {
|
76
|
-
"1": {
|
77
|
-
"name": "punctuation.definition.constant.ruby"
|
78
|
-
}
|
79
|
-
}
|
80
|
-
},
|
81
|
-
{
|
82
|
-
"name": "keyword.control.ruby",
|
83
|
-
"match": "(?\u003c!\\.)\\b(BEGIN|begin|case|class|else|elsif|END|end|ensure|for|if|in|module|rescue|then|unless|until|when|while)\\b(?![?!])"
|
84
|
-
},
|
85
|
-
{
|
86
|
-
"name": "keyword.control.start-block.ruby",
|
87
|
-
"match": "(?\u003c!\\.)\\bdo\\b"
|
88
|
-
},
|
89
|
-
{
|
90
|
-
"name": "meta.syntax.ruby.start-block",
|
91
|
-
"match": "(?\u003c={)(\\s+)"
|
92
|
-
},
|
93
|
-
{
|
94
|
-
"name": "keyword.control.pseudo-method.ruby",
|
95
|
-
"match": "(?\u003c!\\.)\\b(alias|alias_method|break|next|redo|retry|return|super|undef|yield)\\b(?![?!])|\\bdefined\\?|\\b(block_given|iterator)\\?"
|
96
|
-
},
|
97
|
-
{
|
98
|
-
"name": "constant.language.nil.ruby",
|
99
|
-
"match": "\\bnil\\b(?![?!])"
|
100
|
-
},
|
101
|
-
{
|
102
|
-
"name": "constant.language.boolean.ruby",
|
103
|
-
"match": "\\b(true|false)\\b(?![?!])"
|
104
|
-
},
|
105
|
-
{
|
106
|
-
"name": "variable.language.ruby",
|
107
|
-
"match": "\\b(__(FILE|LINE)__)\\b(?![?!])"
|
108
|
-
},
|
109
|
-
{
|
110
|
-
"name": "variable.language.self.ruby",
|
111
|
-
"match": "\\bself\\b(?![?!])"
|
112
|
-
},
|
113
|
-
{
|
114
|
-
"name": "keyword.other.special-method.ruby",
|
115
|
-
"match": "\\b(initialize|new|loop|include|extend|prepend|raise|fail|attr_reader|attr_writer|attr_accessor|attr|catch|throw|private|private_class_method|module_function|public|public_class_method|protected|refine|using)\\b(?![?!])"
|
116
|
-
},
|
117
|
-
{
|
118
|
-
"name": "meta.require.ruby",
|
119
|
-
"begin": "\\b(?\u003c!\\.|::)(require|require_relative)\\b(?![?!])",
|
120
|
-
"end": "$|(?=#|})",
|
121
|
-
"patterns": [
|
122
|
-
{
|
123
|
-
"include": "$self"
|
124
|
-
}
|
125
|
-
],
|
126
|
-
"captures": {
|
127
|
-
"1": {
|
128
|
-
"name": "keyword.other.special-method.ruby"
|
129
|
-
}
|
130
|
-
}
|
131
|
-
},
|
132
|
-
{
|
133
|
-
"name": "variable.other.readwrite.instance.ruby",
|
134
|
-
"match": "(@)[a-zA-Z_]\\w*",
|
135
|
-
"captures": {
|
136
|
-
"1": {
|
137
|
-
"name": "punctuation.definition.variable.ruby"
|
138
|
-
}
|
139
|
-
}
|
140
|
-
},
|
141
|
-
{
|
142
|
-
"name": "variable.other.readwrite.class.ruby",
|
143
|
-
"match": "(@@)[a-zA-Z_]\\w*",
|
144
|
-
"captures": {
|
145
|
-
"1": {
|
146
|
-
"name": "punctuation.definition.variable.ruby"
|
147
|
-
}
|
148
|
-
}
|
149
|
-
},
|
150
|
-
{
|
151
|
-
"name": "variable.other.readwrite.global.ruby",
|
152
|
-
"match": "(\\$)[a-zA-Z_]\\w*",
|
153
|
-
"captures": {
|
154
|
-
"1": {
|
155
|
-
"name": "punctuation.definition.variable.ruby"
|
156
|
-
}
|
157
|
-
}
|
158
|
-
},
|
159
|
-
{
|
160
|
-
"name": "variable.other.readwrite.global.pre-defined.ruby",
|
161
|
-
"match": "(\\$)(!|@|\u0026|`|'|\\+|\\d+|~|=|/|\\\\|,|;|\\.|\u003c|\u003e|_|\\*|\\$|\\?|:|\"|-[0adFiIlpv])",
|
162
|
-
"captures": {
|
163
|
-
"1": {
|
164
|
-
"name": "punctuation.definition.variable.ruby"
|
165
|
-
}
|
166
|
-
}
|
167
|
-
},
|
168
|
-
{
|
169
|
-
"name": "meta.environment-variable.ruby",
|
170
|
-
"begin": "\\b(ENV)\\[",
|
171
|
-
"end": "]",
|
172
|
-
"patterns": [
|
173
|
-
{
|
174
|
-
"include": "$self"
|
175
|
-
}
|
176
|
-
],
|
177
|
-
"beginCaptures": {
|
178
|
-
"1": {
|
179
|
-
"name": "variable.other.constant.ruby"
|
180
|
-
}
|
181
|
-
}
|
182
|
-
},
|
183
|
-
{
|
184
|
-
"name": "support.class.ruby",
|
185
|
-
"match": "\\b[A-Z]\\w*(?=((\\.|::)[A-Za-z]|\\[))"
|
186
|
-
},
|
187
|
-
{
|
188
|
-
"name": "support.function.kernel.ruby",
|
189
|
-
"match": "\\b((abort|at_exit|autoload|binding|callcc|caller|caller_locations|chomp|chop|eval|exec|exit|fork|format|gets|global_variables|gsub|lambda|load|local_variables|open|p|print|printf|proc|putc|puts|rand|readline|readlines|select|set_trace_func|sleep|spawn|sprintf|srand|sub|syscall|system|test|trace_var|trap|untrace_var|warn)\\b(?![?!])|autoload\\?|exit!)"
|
190
|
-
},
|
191
|
-
{
|
192
|
-
"name": "variable.other.constant.ruby",
|
193
|
-
"match": "\\b[_A-Z]\\w*\\b"
|
194
|
-
},
|
195
|
-
{
|
196
|
-
"name": "meta.function.method.with-arguments.ruby",
|
197
|
-
"begin": "(?x)\n(?=def\\b) # optimization to help Oniguruma fail fast\n(?\u003c=^|\\s)(def)\\s+\n(\n (?\u003e[a-zA-Z_]\\w*(?\u003e\\.|::))? # method prefix\n (?\u003e # method name\n [a-zA-Z_]\\w*(?\u003e[?!]|=(?!\u003e))?\n |\n ===?|!=|\u003e[\u003e=]?|\u003c=\u003e|\u003c[\u003c=]?|[%\u0026`/\\|]|\\*\\*?|=?~|[-+]@?|\\[]=?\n )\n)\n\\s*(\\()",
|
198
|
-
"end": "\\)",
|
199
|
-
"patterns": [
|
200
|
-
{
|
201
|
-
"begin": "(?![\\s,)])",
|
202
|
-
"end": "(?=,|\\)\\s*$)",
|
203
|
-
"patterns": [
|
204
|
-
{
|
205
|
-
"match": "\\G([\u0026*]?)(?:([_a-zA-Z]\\w*(:))|([_a-zA-Z]\\w*))",
|
206
|
-
"captures": {
|
207
|
-
"1": {
|
208
|
-
"name": "storage.type.variable.ruby"
|
209
|
-
},
|
210
|
-
"2": {
|
211
|
-
"name": "constant.other.symbol.hashkey.parameter.function.ruby"
|
212
|
-
},
|
213
|
-
"3": {
|
214
|
-
"name": "punctuation.definition.constant.hashkey.ruby"
|
215
|
-
},
|
216
|
-
"4": {
|
217
|
-
"name": "variable.parameter.function.ruby"
|
218
|
-
}
|
219
|
-
}
|
220
|
-
},
|
221
|
-
{
|
222
|
-
"include": "$self"
|
223
|
-
}
|
224
|
-
]
|
225
|
-
}
|
226
|
-
],
|
227
|
-
"beginCaptures": {
|
228
|
-
"1": {
|
229
|
-
"name": "keyword.control.def.ruby"
|
230
|
-
},
|
231
|
-
"2": {
|
232
|
-
"name": "entity.name.function.ruby"
|
233
|
-
},
|
234
|
-
"3": {
|
235
|
-
"name": "punctuation.definition.parameters.ruby"
|
236
|
-
}
|
237
|
-
},
|
238
|
-
"endCaptures": {
|
239
|
-
"0": {
|
240
|
-
"name": "punctuation.definition.parameters.ruby"
|
241
|
-
}
|
242
|
-
}
|
243
|
-
},
|
244
|
-
{
|
245
|
-
"name": "meta.function.method.with-arguments.ruby",
|
246
|
-
"begin": "(?x)\n(?=def\\b) # optimization to help Oniguruma fail fast\n(?\u003c=^|\\s)(def)\\s+\n(\n (?\u003e[a-zA-Z_]\\w*(?\u003e\\.|::))? # method prefix\n (?\u003e # method name\n [a-zA-Z_]\\w*(?\u003e[?!]|=(?!\u003e))?\n |\n ===?|!=|\u003e[\u003e=]?|\u003c=\u003e|\u003c[\u003c=]?|[%\u0026`/\\|]|\\*\\*?|=?~|[-+]@?|\\[]=?\n )\n)\n[ \\t]\n(?=[ \\t]*[^\\s#;]) # make sure the following is not comment",
|
247
|
-
"end": "$",
|
248
|
-
"patterns": [
|
249
|
-
{
|
250
|
-
"begin": "(?![\\s,])",
|
251
|
-
"end": "(?=,|$)",
|
252
|
-
"patterns": [
|
253
|
-
{
|
254
|
-
"match": "\\G([\u0026*]?)(?:([_a-zA-Z]\\w*(:))|([_a-zA-Z]\\w*))",
|
255
|
-
"captures": {
|
256
|
-
"1": {
|
257
|
-
"name": "storage.type.variable.ruby"
|
258
|
-
},
|
259
|
-
"2": {
|
260
|
-
"name": "constant.other.symbol.hashkey.parameter.function.ruby"
|
261
|
-
},
|
262
|
-
"3": {
|
263
|
-
"name": "punctuation.definition.constant.hashkey.ruby"
|
264
|
-
},
|
265
|
-
"4": {
|
266
|
-
"name": "variable.parameter.function.ruby"
|
267
|
-
}
|
268
|
-
}
|
269
|
-
},
|
270
|
-
{
|
271
|
-
"include": "$self"
|
272
|
-
}
|
273
|
-
]
|
274
|
-
}
|
275
|
-
],
|
276
|
-
"beginCaptures": {
|
277
|
-
"1": {
|
278
|
-
"name": "keyword.control.def.ruby"
|
279
|
-
},
|
280
|
-
"2": {
|
281
|
-
"name": "entity.name.function.ruby"
|
282
|
-
}
|
283
|
-
}
|
284
|
-
},
|
285
|
-
{
|
286
|
-
"name": "meta.function.method.without-arguments.ruby",
|
287
|
-
"match": "(?x)\n(?=def\\b) # optimization to help Oniguruma fail fast\n(?\u003c=^|\\s)(def)\\b\n(\n \\s+\n (\n (?\u003e[a-zA-Z_]\\w*(?\u003e\\.|::))? # method prefix\n (?\u003e # method name\n [a-zA-Z_]\\w*(?\u003e[?!]|=(?!\u003e))?\n |\n ===?|!=|\u003e[\u003e=]?|\u003c=\u003e|\u003c[\u003c=]?|[%\u0026`/\\|]|\\*\\*?|=?~|[-+]@?|\\[]=?\n )\n )\n)?",
|
288
|
-
"captures": {
|
289
|
-
"1": {
|
290
|
-
"name": "keyword.control.def.ruby"
|
291
|
-
},
|
292
|
-
"3": {
|
293
|
-
"name": "entity.name.function.ruby"
|
294
|
-
}
|
295
|
-
}
|
296
|
-
},
|
297
|
-
{
|
298
|
-
"name": "constant.numeric.ruby",
|
299
|
-
"match": "(?x)\n\\b\n(\n [\\d](?\u003e_?\\d)* # 100_000\n (\\.(?![^[:space:][:digit:]])(?\u003e_?\\d)*)? # fractional part\n ([eE][-+]?\\d(?\u003e_?\\d)*)? # 1.23e-4\n |\n 0\n (?:\n [xX][[:xdigit:]](?\u003e_?[[:xdigit:]])*|\n [oO]?[0-7](?\u003e_?[0-7])*|\n [bB][01](?\u003e_?[01])*|\n [dD]\\d(?\u003e_?\\d)*\n ) # A base indicator can only be used with an integer\n)\\b"
|
300
|
-
},
|
301
|
-
{
|
302
|
-
"name": "constant.other.symbol.ruby",
|
303
|
-
"begin": ":'",
|
304
|
-
"end": "'",
|
305
|
-
"patterns": [
|
306
|
-
{
|
307
|
-
"name": "constant.character.escape.ruby",
|
308
|
-
"match": "\\\\['\\\\]"
|
309
|
-
}
|
310
|
-
],
|
311
|
-
"beginCaptures": {
|
312
|
-
"0": {
|
313
|
-
"name": "punctuation.definition.symbol.begin.ruby"
|
314
|
-
}
|
315
|
-
},
|
316
|
-
"endCaptures": {
|
317
|
-
"0": {
|
318
|
-
"name": "punctuation.definition.symbol.end.ruby"
|
319
|
-
}
|
320
|
-
}
|
321
|
-
},
|
322
|
-
{
|
323
|
-
"name": "constant.other.symbol.interpolated.ruby",
|
324
|
-
"begin": ":\"",
|
325
|
-
"end": "\"",
|
326
|
-
"patterns": [
|
327
|
-
{
|
328
|
-
"include": "#interpolated_ruby"
|
329
|
-
},
|
330
|
-
{
|
331
|
-
"include": "#escaped_char"
|
332
|
-
}
|
333
|
-
],
|
334
|
-
"beginCaptures": {
|
335
|
-
"0": {
|
336
|
-
"name": "punctuation.section.symbol.begin.ruby"
|
337
|
-
}
|
338
|
-
},
|
339
|
-
"endCaptures": {
|
340
|
-
"0": {
|
341
|
-
"name": "punctuation.section.symbol.end.ruby"
|
342
|
-
}
|
343
|
-
}
|
344
|
-
},
|
345
|
-
{
|
346
|
-
"name": "keyword.operator.assignment.augmented.ruby",
|
347
|
-
"match": "(?\u003c!\\()/="
|
348
|
-
},
|
349
|
-
{
|
350
|
-
"name": "string.quoted.single.ruby",
|
351
|
-
"begin": "'",
|
352
|
-
"end": "'",
|
353
|
-
"patterns": [
|
354
|
-
{
|
355
|
-
"name": "constant.character.escape.ruby",
|
356
|
-
"match": "\\\\'|\\\\\\\\"
|
357
|
-
}
|
358
|
-
],
|
359
|
-
"beginCaptures": {
|
360
|
-
"0": {
|
361
|
-
"name": "punctuation.definition.string.begin.ruby"
|
362
|
-
}
|
363
|
-
},
|
364
|
-
"endCaptures": {
|
365
|
-
"0": {
|
366
|
-
"name": "punctuation.definition.string.end.ruby"
|
367
|
-
}
|
368
|
-
}
|
369
|
-
},
|
370
|
-
{
|
371
|
-
"name": "string.quoted.double.interpolated.ruby",
|
372
|
-
"begin": "\"",
|
373
|
-
"end": "\"",
|
374
|
-
"patterns": [
|
375
|
-
{
|
376
|
-
"include": "#interpolated_ruby"
|
377
|
-
},
|
378
|
-
{
|
379
|
-
"include": "#escaped_char"
|
380
|
-
}
|
381
|
-
],
|
382
|
-
"beginCaptures": {
|
383
|
-
"0": {
|
384
|
-
"name": "punctuation.definition.string.begin.ruby"
|
385
|
-
}
|
386
|
-
},
|
387
|
-
"endCaptures": {
|
388
|
-
"0": {
|
389
|
-
"name": "punctuation.definition.string.end.ruby"
|
390
|
-
}
|
391
|
-
}
|
392
|
-
},
|
393
|
-
{
|
394
|
-
"name": "string.interpolated.ruby",
|
395
|
-
"begin": "`",
|
396
|
-
"end": "`",
|
397
|
-
"patterns": [
|
398
|
-
{
|
399
|
-
"include": "#interpolated_ruby"
|
400
|
-
},
|
401
|
-
{
|
402
|
-
"include": "#escaped_char"
|
403
|
-
}
|
404
|
-
],
|
405
|
-
"beginCaptures": {
|
406
|
-
"0": {
|
407
|
-
"name": "punctuation.definition.string.begin.ruby"
|
408
|
-
}
|
409
|
-
},
|
410
|
-
"endCaptures": {
|
411
|
-
"0": {
|
412
|
-
"name": "punctuation.definition.string.end.ruby"
|
413
|
-
}
|
414
|
-
}
|
415
|
-
},
|
416
|
-
{
|
417
|
-
"contentName": "string.regexp.interpolated.ruby",
|
418
|
-
"begin": "(?x)\n(?\u003c![\\w)])((/))(?![?*+])\n(?=\n (?:\\\\/|[^/])*+ # Do NOT change the order\n /[eimnosux]*\\s*\n (?:\n [)\\]}#.,?:]|\\|\\||\u0026\u0026|\u003c=\u003e|=\u003e|==|=~|!~|!=|;|$|\n if|else|elsif|then|do|end|unless|while|until|or|and\n )\n |\n $\n)",
|
419
|
-
"end": "((/[eimnosux]*))",
|
420
|
-
"patterns": [
|
421
|
-
{
|
422
|
-
"include": "#regex_sub"
|
423
|
-
}
|
424
|
-
],
|
425
|
-
"captures": {
|
426
|
-
"1": {
|
427
|
-
"name": "string.regexp.interpolated.ruby"
|
428
|
-
},
|
429
|
-
"2": {
|
430
|
-
"name": "punctuation.section.regexp.ruby"
|
431
|
-
}
|
432
|
-
}
|
433
|
-
},
|
434
|
-
{
|
435
|
-
"name": "string.regexp.interpolated.ruby",
|
436
|
-
"begin": "%r{",
|
437
|
-
"end": "}[eimnosux]*",
|
438
|
-
"patterns": [
|
439
|
-
{
|
440
|
-
"include": "#regex_sub"
|
441
|
-
},
|
442
|
-
{
|
443
|
-
"include": "#nest_curly_r"
|
444
|
-
}
|
445
|
-
],
|
446
|
-
"beginCaptures": {
|
447
|
-
"0": {
|
448
|
-
"name": "punctuation.section.regexp.begin.ruby"
|
449
|
-
}
|
450
|
-
},
|
451
|
-
"endCaptures": {
|
452
|
-
"0": {
|
453
|
-
"name": "punctuation.section.regexp.end.ruby"
|
454
|
-
}
|
455
|
-
}
|
456
|
-
},
|
457
|
-
{
|
458
|
-
"name": "string.regexp.interpolated.ruby",
|
459
|
-
"begin": "%r\\[",
|
460
|
-
"end": "][eimnosux]*",
|
461
|
-
"patterns": [
|
462
|
-
{
|
463
|
-
"include": "#regex_sub"
|
464
|
-
},
|
465
|
-
{
|
466
|
-
"include": "#nest_brackets_r"
|
467
|
-
}
|
468
|
-
],
|
469
|
-
"beginCaptures": {
|
470
|
-
"0": {
|
471
|
-
"name": "punctuation.section.regexp.begin.ruby"
|
472
|
-
}
|
473
|
-
},
|
474
|
-
"endCaptures": {
|
475
|
-
"0": {
|
476
|
-
"name": "punctuation.section.regexp.end.ruby"
|
477
|
-
}
|
478
|
-
}
|
479
|
-
},
|
480
|
-
{
|
481
|
-
"name": "string.regexp.interpolated.ruby",
|
482
|
-
"begin": "%r\\(",
|
483
|
-
"end": "\\)[eimnosux]*",
|
484
|
-
"patterns": [
|
485
|
-
{
|
486
|
-
"include": "#regex_sub"
|
487
|
-
},
|
488
|
-
{
|
489
|
-
"include": "#nest_parens_r"
|
490
|
-
}
|
491
|
-
],
|
492
|
-
"beginCaptures": {
|
493
|
-
"0": {
|
494
|
-
"name": "punctuation.section.regexp.begin.ruby"
|
495
|
-
}
|
496
|
-
},
|
497
|
-
"endCaptures": {
|
498
|
-
"0": {
|
499
|
-
"name": "punctuation.section.regexp.end.ruby"
|
500
|
-
}
|
501
|
-
}
|
502
|
-
},
|
503
|
-
{
|
504
|
-
"name": "string.regexp.interpolated.ruby",
|
505
|
-
"begin": "%r\u003c",
|
506
|
-
"end": "\u003e[eimnosux]*",
|
507
|
-
"patterns": [
|
508
|
-
{
|
509
|
-
"include": "#regex_sub"
|
510
|
-
},
|
511
|
-
{
|
512
|
-
"include": "#nest_ltgt_r"
|
513
|
-
}
|
514
|
-
],
|
515
|
-
"beginCaptures": {
|
516
|
-
"0": {
|
517
|
-
"name": "punctuation.section.regexp.begin.ruby"
|
518
|
-
}
|
519
|
-
},
|
520
|
-
"endCaptures": {
|
521
|
-
"0": {
|
522
|
-
"name": "punctuation.section.regexp.end.ruby"
|
523
|
-
}
|
524
|
-
}
|
525
|
-
},
|
526
|
-
{
|
527
|
-
"name": "string.regexp.interpolated.ruby",
|
528
|
-
"begin": "%r([^\\w])",
|
529
|
-
"end": "\\1[eimnosux]*",
|
530
|
-
"patterns": [
|
531
|
-
{
|
532
|
-
"include": "#regex_sub"
|
533
|
-
}
|
534
|
-
],
|
535
|
-
"beginCaptures": {
|
536
|
-
"0": {
|
537
|
-
"name": "punctuation.section.regexp.begin.ruby"
|
538
|
-
}
|
539
|
-
},
|
540
|
-
"endCaptures": {
|
541
|
-
"0": {
|
542
|
-
"name": "punctuation.section.regexp.end.ruby"
|
543
|
-
}
|
544
|
-
}
|
545
|
-
},
|
546
|
-
{
|
547
|
-
"name": "constant.other.symbol.interpolated.ruby",
|
548
|
-
"begin": "%I\\[",
|
549
|
-
"end": "]",
|
550
|
-
"patterns": [
|
551
|
-
{
|
552
|
-
"include": "#interpolated_ruby"
|
553
|
-
},
|
554
|
-
{
|
555
|
-
"include": "#escaped_char"
|
556
|
-
},
|
557
|
-
{
|
558
|
-
"include": "#nest_brackets_i"
|
559
|
-
}
|
560
|
-
],
|
561
|
-
"beginCaptures": {
|
562
|
-
"0": {
|
563
|
-
"name": "punctuation.section.array.begin.ruby"
|
564
|
-
}
|
565
|
-
},
|
566
|
-
"endCaptures": {
|
567
|
-
"0": {
|
568
|
-
"name": "punctuation.section.array.end.ruby"
|
569
|
-
}
|
570
|
-
}
|
571
|
-
},
|
572
|
-
{
|
573
|
-
"name": "constant.other.symbol.interpolated.ruby",
|
574
|
-
"begin": "%I\\(",
|
575
|
-
"end": "\\)",
|
576
|
-
"patterns": [
|
577
|
-
{
|
578
|
-
"include": "#interpolated_ruby"
|
579
|
-
},
|
580
|
-
{
|
581
|
-
"include": "#escaped_char"
|
582
|
-
},
|
583
|
-
{
|
584
|
-
"include": "#nest_parens_i"
|
585
|
-
}
|
586
|
-
],
|
587
|
-
"beginCaptures": {
|
588
|
-
"0": {
|
589
|
-
"name": "punctuation.section.array.begin.ruby"
|
590
|
-
}
|
591
|
-
},
|
592
|
-
"endCaptures": {
|
593
|
-
"0": {
|
594
|
-
"name": "punctuation.section.array.end.ruby"
|
595
|
-
}
|
596
|
-
}
|
597
|
-
},
|
598
|
-
{
|
599
|
-
"name": "constant.other.symbol.interpolated.ruby",
|
600
|
-
"begin": "%I\u003c",
|
601
|
-
"end": "\u003e",
|
602
|
-
"patterns": [
|
603
|
-
{
|
604
|
-
"include": "#interpolated_ruby"
|
605
|
-
},
|
606
|
-
{
|
607
|
-
"include": "#escaped_char"
|
608
|
-
},
|
609
|
-
{
|
610
|
-
"include": "#nest_ltgt_i"
|
611
|
-
}
|
612
|
-
],
|
613
|
-
"beginCaptures": {
|
614
|
-
"0": {
|
615
|
-
"name": "punctuation.section.array.begin.ruby"
|
616
|
-
}
|
617
|
-
},
|
618
|
-
"endCaptures": {
|
619
|
-
"0": {
|
620
|
-
"name": "punctuation.section.array.end.ruby"
|
621
|
-
}
|
622
|
-
}
|
623
|
-
},
|
624
|
-
{
|
625
|
-
"name": "constant.other.symbol.interpolated.ruby",
|
626
|
-
"begin": "%I{",
|
627
|
-
"end": "}",
|
628
|
-
"patterns": [
|
629
|
-
{
|
630
|
-
"include": "#interpolated_ruby"
|
631
|
-
},
|
632
|
-
{
|
633
|
-
"include": "#escaped_char"
|
634
|
-
},
|
635
|
-
{
|
636
|
-
"include": "#nest_curly_i"
|
637
|
-
}
|
638
|
-
],
|
639
|
-
"beginCaptures": {
|
640
|
-
"0": {
|
641
|
-
"name": "punctuation.section.array.begin.ruby"
|
642
|
-
}
|
643
|
-
},
|
644
|
-
"endCaptures": {
|
645
|
-
"0": {
|
646
|
-
"name": "punctuation.section.array.end.ruby"
|
647
|
-
}
|
648
|
-
}
|
649
|
-
},
|
650
|
-
{
|
651
|
-
"name": "constant.other.symbol.interpolated.ruby",
|
652
|
-
"begin": "%I([^\\w])",
|
653
|
-
"end": "\\1",
|
654
|
-
"patterns": [
|
655
|
-
{
|
656
|
-
"include": "#interpolated_ruby"
|
657
|
-
},
|
658
|
-
{
|
659
|
-
"include": "#escaped_char"
|
660
|
-
}
|
661
|
-
],
|
662
|
-
"beginCaptures": {
|
663
|
-
"0": {
|
664
|
-
"name": "punctuation.section.array.begin.ruby"
|
665
|
-
}
|
666
|
-
},
|
667
|
-
"endCaptures": {
|
668
|
-
"0": {
|
669
|
-
"name": "punctuation.section.array.end.ruby"
|
670
|
-
}
|
671
|
-
}
|
672
|
-
},
|
673
|
-
{
|
674
|
-
"name": "constant.other.symbol.ruby",
|
675
|
-
"begin": "%i\\[",
|
676
|
-
"end": "]",
|
677
|
-
"patterns": [
|
678
|
-
{
|
679
|
-
"name": "constant.character.escape.ruby",
|
680
|
-
"match": "\\\\]|\\\\\\\\"
|
681
|
-
},
|
682
|
-
{
|
683
|
-
"include": "#nest_brackets"
|
684
|
-
}
|
685
|
-
],
|
686
|
-
"beginCaptures": {
|
687
|
-
"0": {
|
688
|
-
"name": "punctuation.section.array.begin.ruby"
|
689
|
-
}
|
690
|
-
},
|
691
|
-
"endCaptures": {
|
692
|
-
"0": {
|
693
|
-
"name": "punctuation.section.array.end.ruby"
|
694
|
-
}
|
695
|
-
}
|
696
|
-
},
|
697
|
-
{
|
698
|
-
"name": "constant.other.symbol.ruby",
|
699
|
-
"begin": "%i\\(",
|
700
|
-
"end": "\\)",
|
701
|
-
"patterns": [
|
702
|
-
{
|
703
|
-
"name": "constant.character.escape.ruby",
|
704
|
-
"match": "\\\\\\)|\\\\\\\\"
|
705
|
-
},
|
706
|
-
{
|
707
|
-
"include": "#nest_parens"
|
708
|
-
}
|
709
|
-
],
|
710
|
-
"beginCaptures": {
|
711
|
-
"0": {
|
712
|
-
"name": "punctuation.section.array.begin.ruby"
|
713
|
-
}
|
714
|
-
},
|
715
|
-
"endCaptures": {
|
716
|
-
"0": {
|
717
|
-
"name": "punctuation.section.array.end.ruby"
|
718
|
-
}
|
719
|
-
}
|
720
|
-
},
|
721
|
-
{
|
722
|
-
"name": "constant.other.symbol.ruby",
|
723
|
-
"begin": "%i\u003c",
|
724
|
-
"end": "\u003e",
|
725
|
-
"patterns": [
|
726
|
-
{
|
727
|
-
"name": "constant.character.escape.ruby",
|
728
|
-
"match": "\\\\\u003e|\\\\\\\\"
|
729
|
-
},
|
730
|
-
{
|
731
|
-
"include": "#nest_ltgt"
|
732
|
-
}
|
733
|
-
],
|
734
|
-
"beginCaptures": {
|
735
|
-
"0": {
|
736
|
-
"name": "punctuation.section.array.begin.ruby"
|
737
|
-
}
|
738
|
-
},
|
739
|
-
"endCaptures": {
|
740
|
-
"0": {
|
741
|
-
"name": "punctuation.section.array.end.ruby"
|
742
|
-
}
|
743
|
-
}
|
744
|
-
},
|
745
|
-
{
|
746
|
-
"name": "constant.other.symbol.ruby",
|
747
|
-
"begin": "%i{",
|
748
|
-
"end": "}",
|
749
|
-
"patterns": [
|
750
|
-
{
|
751
|
-
"name": "constant.character.escape.ruby",
|
752
|
-
"match": "\\\\}|\\\\\\\\"
|
753
|
-
},
|
754
|
-
{
|
755
|
-
"include": "#nest_curly"
|
756
|
-
}
|
757
|
-
],
|
758
|
-
"beginCaptures": {
|
759
|
-
"0": {
|
760
|
-
"name": "punctuation.section.array.begin.ruby"
|
761
|
-
}
|
762
|
-
},
|
763
|
-
"endCaptures": {
|
764
|
-
"0": {
|
765
|
-
"name": "punctuation.section.array.end.ruby"
|
766
|
-
}
|
767
|
-
}
|
768
|
-
},
|
769
|
-
{
|
770
|
-
"name": "constant.other.symbol.ruby",
|
771
|
-
"begin": "%i([^\\w])",
|
772
|
-
"end": "\\1",
|
773
|
-
"patterns": [
|
774
|
-
{
|
775
|
-
"match": "\\\\."
|
776
|
-
}
|
777
|
-
],
|
778
|
-
"beginCaptures": {
|
779
|
-
"0": {
|
780
|
-
"name": "punctuation.section.array.begin.ruby"
|
781
|
-
}
|
782
|
-
},
|
783
|
-
"endCaptures": {
|
784
|
-
"0": {
|
785
|
-
"name": "punctuation.section.array.end.ruby"
|
786
|
-
}
|
787
|
-
}
|
788
|
-
},
|
789
|
-
{
|
790
|
-
"name": "string.quoted.other.interpolated.ruby",
|
791
|
-
"begin": "%W\\[",
|
792
|
-
"end": "]",
|
793
|
-
"patterns": [
|
794
|
-
{
|
795
|
-
"include": "#interpolated_ruby"
|
796
|
-
},
|
797
|
-
{
|
798
|
-
"include": "#escaped_char"
|
799
|
-
},
|
800
|
-
{
|
801
|
-
"include": "#nest_brackets_i"
|
802
|
-
}
|
803
|
-
],
|
804
|
-
"beginCaptures": {
|
805
|
-
"0": {
|
806
|
-
"name": "punctuation.section.array.begin.ruby"
|
807
|
-
}
|
808
|
-
},
|
809
|
-
"endCaptures": {
|
810
|
-
"0": {
|
811
|
-
"name": "punctuation.section.array.end.ruby"
|
812
|
-
}
|
813
|
-
}
|
814
|
-
},
|
815
|
-
{
|
816
|
-
"name": "string.quoted.other.interpolated.ruby",
|
817
|
-
"begin": "%W\\(",
|
818
|
-
"end": "\\)",
|
819
|
-
"patterns": [
|
820
|
-
{
|
821
|
-
"include": "#interpolated_ruby"
|
822
|
-
},
|
823
|
-
{
|
824
|
-
"include": "#escaped_char"
|
825
|
-
},
|
826
|
-
{
|
827
|
-
"include": "#nest_parens_i"
|
828
|
-
}
|
829
|
-
],
|
830
|
-
"beginCaptures": {
|
831
|
-
"0": {
|
832
|
-
"name": "punctuation.section.array.begin.ruby"
|
833
|
-
}
|
834
|
-
},
|
835
|
-
"endCaptures": {
|
836
|
-
"0": {
|
837
|
-
"name": "punctuation.section.array.end.ruby"
|
838
|
-
}
|
839
|
-
}
|
840
|
-
},
|
841
|
-
{
|
842
|
-
"name": "string.quoted.other.interpolated.ruby",
|
843
|
-
"begin": "%W\u003c",
|
844
|
-
"end": "\u003e",
|
845
|
-
"patterns": [
|
846
|
-
{
|
847
|
-
"include": "#interpolated_ruby"
|
848
|
-
},
|
849
|
-
{
|
850
|
-
"include": "#escaped_char"
|
851
|
-
},
|
852
|
-
{
|
853
|
-
"include": "#nest_ltgt_i"
|
854
|
-
}
|
855
|
-
],
|
856
|
-
"beginCaptures": {
|
857
|
-
"0": {
|
858
|
-
"name": "punctuation.section.array.begin.ruby"
|
859
|
-
}
|
860
|
-
},
|
861
|
-
"endCaptures": {
|
862
|
-
"0": {
|
863
|
-
"name": "punctuation.section.array.end.ruby"
|
864
|
-
}
|
865
|
-
}
|
866
|
-
},
|
867
|
-
{
|
868
|
-
"name": "string.quoted.other.interpolated.ruby",
|
869
|
-
"begin": "%W{",
|
870
|
-
"end": "}",
|
871
|
-
"patterns": [
|
872
|
-
{
|
873
|
-
"include": "#interpolated_ruby"
|
874
|
-
},
|
875
|
-
{
|
876
|
-
"include": "#escaped_char"
|
877
|
-
},
|
878
|
-
{
|
879
|
-
"include": "#nest_curly_i"
|
880
|
-
}
|
881
|
-
],
|
882
|
-
"beginCaptures": {
|
883
|
-
"0": {
|
884
|
-
"name": "punctuation.section.array.begin.ruby"
|
885
|
-
}
|
886
|
-
},
|
887
|
-
"endCaptures": {
|
888
|
-
"0": {
|
889
|
-
"name": "punctuation.section.array.end.ruby"
|
890
|
-
}
|
891
|
-
}
|
892
|
-
},
|
893
|
-
{
|
894
|
-
"name": "string.quoted.other.interpolated.ruby",
|
895
|
-
"begin": "%W([^\\w])",
|
896
|
-
"end": "\\1",
|
897
|
-
"patterns": [
|
898
|
-
{
|
899
|
-
"include": "#interpolated_ruby"
|
900
|
-
},
|
901
|
-
{
|
902
|
-
"include": "#escaped_char"
|
903
|
-
}
|
904
|
-
],
|
905
|
-
"beginCaptures": {
|
906
|
-
"0": {
|
907
|
-
"name": "punctuation.section.array.begin.ruby"
|
908
|
-
}
|
909
|
-
},
|
910
|
-
"endCaptures": {
|
911
|
-
"0": {
|
912
|
-
"name": "punctuation.section.array.end.ruby"
|
913
|
-
}
|
914
|
-
}
|
915
|
-
},
|
916
|
-
{
|
917
|
-
"name": "string.quoted.other.ruby",
|
918
|
-
"begin": "%w\\[",
|
919
|
-
"end": "]",
|
920
|
-
"patterns": [
|
921
|
-
{
|
922
|
-
"name": "constant.character.escape.ruby",
|
923
|
-
"match": "\\\\]|\\\\\\\\"
|
924
|
-
},
|
925
|
-
{
|
926
|
-
"include": "#nest_brackets"
|
927
|
-
}
|
928
|
-
],
|
929
|
-
"beginCaptures": {
|
930
|
-
"0": {
|
931
|
-
"name": "punctuation.section.array.begin.ruby"
|
932
|
-
}
|
933
|
-
},
|
934
|
-
"endCaptures": {
|
935
|
-
"0": {
|
936
|
-
"name": "punctuation.section.array.end.ruby"
|
937
|
-
}
|
938
|
-
}
|
939
|
-
},
|
940
|
-
{
|
941
|
-
"name": "string.quoted.other.ruby",
|
942
|
-
"begin": "%w\\(",
|
943
|
-
"end": "\\)",
|
944
|
-
"patterns": [
|
945
|
-
{
|
946
|
-
"name": "constant.character.escape.ruby",
|
947
|
-
"match": "\\\\\\)|\\\\\\\\"
|
948
|
-
},
|
949
|
-
{
|
950
|
-
"include": "#nest_parens"
|
951
|
-
}
|
952
|
-
],
|
953
|
-
"beginCaptures": {
|
954
|
-
"0": {
|
955
|
-
"name": "punctuation.section.array.begin.ruby"
|
956
|
-
}
|
957
|
-
},
|
958
|
-
"endCaptures": {
|
959
|
-
"0": {
|
960
|
-
"name": "punctuation.section.array.end.ruby"
|
961
|
-
}
|
962
|
-
}
|
963
|
-
},
|
964
|
-
{
|
965
|
-
"name": "string.quoted.other.ruby",
|
966
|
-
"begin": "%w\u003c",
|
967
|
-
"end": "\u003e",
|
968
|
-
"patterns": [
|
969
|
-
{
|
970
|
-
"name": "constant.character.escape.ruby",
|
971
|
-
"match": "\\\\\u003e|\\\\\\\\"
|
972
|
-
},
|
973
|
-
{
|
974
|
-
"include": "#nest_ltgt"
|
975
|
-
}
|
976
|
-
],
|
977
|
-
"beginCaptures": {
|
978
|
-
"0": {
|
979
|
-
"name": "punctuation.section.array.begin.ruby"
|
980
|
-
}
|
981
|
-
},
|
982
|
-
"endCaptures": {
|
983
|
-
"0": {
|
984
|
-
"name": "punctuation.section.array.end.ruby"
|
985
|
-
}
|
986
|
-
}
|
987
|
-
},
|
988
|
-
{
|
989
|
-
"name": "string.quoted.other.ruby",
|
990
|
-
"begin": "%w{",
|
991
|
-
"end": "}",
|
992
|
-
"patterns": [
|
993
|
-
{
|
994
|
-
"name": "constant.character.escape.ruby",
|
995
|
-
"match": "\\\\}|\\\\\\\\"
|
996
|
-
},
|
997
|
-
{
|
998
|
-
"include": "#nest_curly"
|
999
|
-
}
|
1000
|
-
],
|
1001
|
-
"beginCaptures": {
|
1002
|
-
"0": {
|
1003
|
-
"name": "punctuation.section.array.begin.ruby"
|
1004
|
-
}
|
1005
|
-
},
|
1006
|
-
"endCaptures": {
|
1007
|
-
"0": {
|
1008
|
-
"name": "punctuation.section.array.end.ruby"
|
1009
|
-
}
|
1010
|
-
}
|
1011
|
-
},
|
1012
|
-
{
|
1013
|
-
"name": "string.quoted.other.ruby",
|
1014
|
-
"begin": "%w([^\\w])",
|
1015
|
-
"end": "\\1",
|
1016
|
-
"patterns": [
|
1017
|
-
{
|
1018
|
-
"match": "\\\\."
|
1019
|
-
}
|
1020
|
-
],
|
1021
|
-
"beginCaptures": {
|
1022
|
-
"0": {
|
1023
|
-
"name": "punctuation.section.array.begin.ruby"
|
1024
|
-
}
|
1025
|
-
},
|
1026
|
-
"endCaptures": {
|
1027
|
-
"0": {
|
1028
|
-
"name": "punctuation.section.array.end.ruby"
|
1029
|
-
}
|
1030
|
-
}
|
1031
|
-
},
|
1032
|
-
{
|
1033
|
-
"name": "string.quoted.other.interpolated.ruby",
|
1034
|
-
"begin": "%[Qx]?\\(",
|
1035
|
-
"end": "\\)",
|
1036
|
-
"patterns": [
|
1037
|
-
{
|
1038
|
-
"include": "#interpolated_ruby"
|
1039
|
-
},
|
1040
|
-
{
|
1041
|
-
"include": "#escaped_char"
|
1042
|
-
},
|
1043
|
-
{
|
1044
|
-
"include": "#nest_parens_i"
|
1045
|
-
}
|
1046
|
-
],
|
1047
|
-
"beginCaptures": {
|
1048
|
-
"0": {
|
1049
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1050
|
-
}
|
1051
|
-
},
|
1052
|
-
"endCaptures": {
|
1053
|
-
"0": {
|
1054
|
-
"name": "punctuation.definition.string.end.ruby"
|
1055
|
-
}
|
1056
|
-
}
|
1057
|
-
},
|
1058
|
-
{
|
1059
|
-
"name": "string.quoted.other.interpolated.ruby",
|
1060
|
-
"begin": "%[Qx]?\\[",
|
1061
|
-
"end": "]",
|
1062
|
-
"patterns": [
|
1063
|
-
{
|
1064
|
-
"include": "#interpolated_ruby"
|
1065
|
-
},
|
1066
|
-
{
|
1067
|
-
"include": "#escaped_char"
|
1068
|
-
},
|
1069
|
-
{
|
1070
|
-
"include": "#nest_brackets_i"
|
1071
|
-
}
|
1072
|
-
],
|
1073
|
-
"beginCaptures": {
|
1074
|
-
"0": {
|
1075
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1076
|
-
}
|
1077
|
-
},
|
1078
|
-
"endCaptures": {
|
1079
|
-
"0": {
|
1080
|
-
"name": "punctuation.definition.string.end.ruby"
|
1081
|
-
}
|
1082
|
-
}
|
1083
|
-
},
|
1084
|
-
{
|
1085
|
-
"name": "string.quoted.other.interpolated.ruby",
|
1086
|
-
"begin": "%[Qx]?{",
|
1087
|
-
"end": "}",
|
1088
|
-
"patterns": [
|
1089
|
-
{
|
1090
|
-
"include": "#interpolated_ruby"
|
1091
|
-
},
|
1092
|
-
{
|
1093
|
-
"include": "#escaped_char"
|
1094
|
-
},
|
1095
|
-
{
|
1096
|
-
"include": "#nest_curly_i"
|
1097
|
-
}
|
1098
|
-
],
|
1099
|
-
"beginCaptures": {
|
1100
|
-
"0": {
|
1101
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1102
|
-
}
|
1103
|
-
},
|
1104
|
-
"endCaptures": {
|
1105
|
-
"0": {
|
1106
|
-
"name": "punctuation.definition.string.end.ruby"
|
1107
|
-
}
|
1108
|
-
}
|
1109
|
-
},
|
1110
|
-
{
|
1111
|
-
"name": "string.quoted.other.interpolated.ruby",
|
1112
|
-
"begin": "%[Qx]?\u003c",
|
1113
|
-
"end": "\u003e",
|
1114
|
-
"patterns": [
|
1115
|
-
{
|
1116
|
-
"include": "#interpolated_ruby"
|
1117
|
-
},
|
1118
|
-
{
|
1119
|
-
"include": "#escaped_char"
|
1120
|
-
},
|
1121
|
-
{
|
1122
|
-
"include": "#nest_ltgt_i"
|
1123
|
-
}
|
1124
|
-
],
|
1125
|
-
"beginCaptures": {
|
1126
|
-
"0": {
|
1127
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1128
|
-
}
|
1129
|
-
},
|
1130
|
-
"endCaptures": {
|
1131
|
-
"0": {
|
1132
|
-
"name": "punctuation.definition.string.end.ruby"
|
1133
|
-
}
|
1134
|
-
}
|
1135
|
-
},
|
1136
|
-
{
|
1137
|
-
"name": "string.quoted.other.interpolated.ruby",
|
1138
|
-
"begin": "%[Qx]([^\\w])",
|
1139
|
-
"end": "\\1",
|
1140
|
-
"patterns": [
|
1141
|
-
{
|
1142
|
-
"include": "#interpolated_ruby"
|
1143
|
-
},
|
1144
|
-
{
|
1145
|
-
"include": "#escaped_char"
|
1146
|
-
}
|
1147
|
-
],
|
1148
|
-
"beginCaptures": {
|
1149
|
-
"0": {
|
1150
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1151
|
-
}
|
1152
|
-
},
|
1153
|
-
"endCaptures": {
|
1154
|
-
"0": {
|
1155
|
-
"name": "punctuation.definition.string.end.ruby"
|
1156
|
-
}
|
1157
|
-
}
|
1158
|
-
},
|
1159
|
-
{
|
1160
|
-
"name": "string.quoted.other.interpolated.ruby",
|
1161
|
-
"begin": "%([^\\w\\s=])",
|
1162
|
-
"end": "\\1",
|
1163
|
-
"patterns": [
|
1164
|
-
{
|
1165
|
-
"include": "#interpolated_ruby"
|
1166
|
-
},
|
1167
|
-
{
|
1168
|
-
"include": "#escaped_char"
|
1169
|
-
}
|
1170
|
-
],
|
1171
|
-
"beginCaptures": {
|
1172
|
-
"0": {
|
1173
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1174
|
-
}
|
1175
|
-
},
|
1176
|
-
"endCaptures": {
|
1177
|
-
"0": {
|
1178
|
-
"name": "punctuation.definition.string.end.ruby"
|
1179
|
-
}
|
1180
|
-
}
|
1181
|
-
},
|
1182
|
-
{
|
1183
|
-
"name": "string.quoted.other.ruby",
|
1184
|
-
"begin": "%q\\(",
|
1185
|
-
"end": "\\)",
|
1186
|
-
"patterns": [
|
1187
|
-
{
|
1188
|
-
"name": "constant.character.escape.ruby",
|
1189
|
-
"match": "\\\\\\)|\\\\\\\\"
|
1190
|
-
},
|
1191
|
-
{
|
1192
|
-
"include": "#nest_parens"
|
1193
|
-
}
|
1194
|
-
],
|
1195
|
-
"beginCaptures": {
|
1196
|
-
"0": {
|
1197
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1198
|
-
}
|
1199
|
-
},
|
1200
|
-
"endCaptures": {
|
1201
|
-
"0": {
|
1202
|
-
"name": "punctuation.definition.string.end.ruby"
|
1203
|
-
}
|
1204
|
-
}
|
1205
|
-
},
|
1206
|
-
{
|
1207
|
-
"name": "string.quoted.other.ruby",
|
1208
|
-
"begin": "%q\u003c",
|
1209
|
-
"end": "\u003e",
|
1210
|
-
"patterns": [
|
1211
|
-
{
|
1212
|
-
"name": "constant.character.escape.ruby",
|
1213
|
-
"match": "\\\\\u003e|\\\\\\\\"
|
1214
|
-
},
|
1215
|
-
{
|
1216
|
-
"include": "#nest_ltgt"
|
1217
|
-
}
|
1218
|
-
],
|
1219
|
-
"beginCaptures": {
|
1220
|
-
"0": {
|
1221
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1222
|
-
}
|
1223
|
-
},
|
1224
|
-
"endCaptures": {
|
1225
|
-
"0": {
|
1226
|
-
"name": "punctuation.definition.string.end.ruby"
|
1227
|
-
}
|
1228
|
-
}
|
1229
|
-
},
|
1230
|
-
{
|
1231
|
-
"name": "string.quoted.other.ruby",
|
1232
|
-
"begin": "%q\\[",
|
1233
|
-
"end": "]",
|
1234
|
-
"patterns": [
|
1235
|
-
{
|
1236
|
-
"name": "constant.character.escape.ruby",
|
1237
|
-
"match": "\\\\]|\\\\\\\\"
|
1238
|
-
},
|
1239
|
-
{
|
1240
|
-
"include": "#nest_brackets"
|
1241
|
-
}
|
1242
|
-
],
|
1243
|
-
"beginCaptures": {
|
1244
|
-
"0": {
|
1245
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1246
|
-
}
|
1247
|
-
},
|
1248
|
-
"endCaptures": {
|
1249
|
-
"0": {
|
1250
|
-
"name": "punctuation.definition.string.end.ruby"
|
1251
|
-
}
|
1252
|
-
}
|
1253
|
-
},
|
1254
|
-
{
|
1255
|
-
"name": "string.quoted.other.ruby",
|
1256
|
-
"begin": "%q{",
|
1257
|
-
"end": "}",
|
1258
|
-
"patterns": [
|
1259
|
-
{
|
1260
|
-
"name": "constant.character.escape.ruby",
|
1261
|
-
"match": "\\\\}|\\\\\\\\"
|
1262
|
-
},
|
1263
|
-
{
|
1264
|
-
"include": "#nest_curly"
|
1265
|
-
}
|
1266
|
-
],
|
1267
|
-
"beginCaptures": {
|
1268
|
-
"0": {
|
1269
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1270
|
-
}
|
1271
|
-
},
|
1272
|
-
"endCaptures": {
|
1273
|
-
"0": {
|
1274
|
-
"name": "punctuation.definition.string.end.ruby"
|
1275
|
-
}
|
1276
|
-
}
|
1277
|
-
},
|
1278
|
-
{
|
1279
|
-
"name": "string.quoted.other.ruby",
|
1280
|
-
"begin": "%q([^\\w])",
|
1281
|
-
"end": "\\1",
|
1282
|
-
"patterns": [
|
1283
|
-
{
|
1284
|
-
"match": "\\\\."
|
1285
|
-
}
|
1286
|
-
],
|
1287
|
-
"beginCaptures": {
|
1288
|
-
"0": {
|
1289
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1290
|
-
}
|
1291
|
-
},
|
1292
|
-
"endCaptures": {
|
1293
|
-
"0": {
|
1294
|
-
"name": "punctuation.definition.string.end.ruby"
|
1295
|
-
}
|
1296
|
-
}
|
1297
|
-
},
|
1298
|
-
{
|
1299
|
-
"name": "constant.other.symbol.ruby",
|
1300
|
-
"begin": "%s\\(",
|
1301
|
-
"end": "\\)",
|
1302
|
-
"patterns": [
|
1303
|
-
{
|
1304
|
-
"name": "constant.character.escape.ruby",
|
1305
|
-
"match": "\\\\\\)|\\\\\\\\"
|
1306
|
-
},
|
1307
|
-
{
|
1308
|
-
"include": "#nest_parens"
|
1309
|
-
}
|
1310
|
-
],
|
1311
|
-
"beginCaptures": {
|
1312
|
-
"0": {
|
1313
|
-
"name": "punctuation.definition.symbol.begin.ruby"
|
1314
|
-
}
|
1315
|
-
},
|
1316
|
-
"endCaptures": {
|
1317
|
-
"0": {
|
1318
|
-
"name": "punctuation.definition.symbol.end.ruby"
|
1319
|
-
}
|
1320
|
-
}
|
1321
|
-
},
|
1322
|
-
{
|
1323
|
-
"name": "constant.other.symbol.ruby",
|
1324
|
-
"begin": "%s\u003c",
|
1325
|
-
"end": "\u003e",
|
1326
|
-
"patterns": [
|
1327
|
-
{
|
1328
|
-
"name": "constant.character.escape.ruby",
|
1329
|
-
"match": "\\\\\u003e|\\\\\\\\"
|
1330
|
-
},
|
1331
|
-
{
|
1332
|
-
"include": "#nest_ltgt"
|
1333
|
-
}
|
1334
|
-
],
|
1335
|
-
"beginCaptures": {
|
1336
|
-
"0": {
|
1337
|
-
"name": "punctuation.definition.symbol.begin.ruby"
|
1338
|
-
}
|
1339
|
-
},
|
1340
|
-
"endCaptures": {
|
1341
|
-
"0": {
|
1342
|
-
"name": "punctuation.definition.symbol.end.ruby"
|
1343
|
-
}
|
1344
|
-
}
|
1345
|
-
},
|
1346
|
-
{
|
1347
|
-
"name": "constant.other.symbol.ruby",
|
1348
|
-
"begin": "%s\\[",
|
1349
|
-
"end": "]",
|
1350
|
-
"patterns": [
|
1351
|
-
{
|
1352
|
-
"name": "constant.character.escape.ruby",
|
1353
|
-
"match": "\\\\]|\\\\\\\\"
|
1354
|
-
},
|
1355
|
-
{
|
1356
|
-
"include": "#nest_brackets"
|
1357
|
-
}
|
1358
|
-
],
|
1359
|
-
"beginCaptures": {
|
1360
|
-
"0": {
|
1361
|
-
"name": "punctuation.definition.symbol.begin.ruby"
|
1362
|
-
}
|
1363
|
-
},
|
1364
|
-
"endCaptures": {
|
1365
|
-
"0": {
|
1366
|
-
"name": "punctuation.definition.symbol.end.ruby"
|
1367
|
-
}
|
1368
|
-
}
|
1369
|
-
},
|
1370
|
-
{
|
1371
|
-
"name": "constant.other.symbol.ruby",
|
1372
|
-
"begin": "%s{",
|
1373
|
-
"end": "}",
|
1374
|
-
"patterns": [
|
1375
|
-
{
|
1376
|
-
"name": "constant.character.escape.ruby",
|
1377
|
-
"match": "\\\\}|\\\\\\\\"
|
1378
|
-
},
|
1379
|
-
{
|
1380
|
-
"include": "#nest_curly"
|
1381
|
-
}
|
1382
|
-
],
|
1383
|
-
"beginCaptures": {
|
1384
|
-
"0": {
|
1385
|
-
"name": "punctuation.definition.symbol.begin.ruby"
|
1386
|
-
}
|
1387
|
-
},
|
1388
|
-
"endCaptures": {
|
1389
|
-
"0": {
|
1390
|
-
"name": "punctuation.definition.symbol.end.ruby"
|
1391
|
-
}
|
1392
|
-
}
|
1393
|
-
},
|
1394
|
-
{
|
1395
|
-
"name": "constant.other.symbol.ruby",
|
1396
|
-
"begin": "%s([^\\w])",
|
1397
|
-
"end": "\\1",
|
1398
|
-
"patterns": [
|
1399
|
-
{
|
1400
|
-
"match": "\\\\."
|
1401
|
-
}
|
1402
|
-
],
|
1403
|
-
"beginCaptures": {
|
1404
|
-
"0": {
|
1405
|
-
"name": "punctuation.definition.symbol.begin.ruby"
|
1406
|
-
}
|
1407
|
-
},
|
1408
|
-
"endCaptures": {
|
1409
|
-
"0": {
|
1410
|
-
"name": "punctuation.definition.symbol.end.ruby"
|
1411
|
-
}
|
1412
|
-
}
|
1413
|
-
},
|
1414
|
-
{
|
1415
|
-
"name": "constant.other.symbol.ruby",
|
1416
|
-
"match": "(?x)\n(?\u003c!:)(:)\n(?\u003e\n [$a-zA-Z_]\\w*(?\u003e[?!]|=(?![\u003e=]))?\n |\n ===?|\u003c=\u003e|\u003e[\u003e=]?|\u003c[\u003c=]?|[%\u0026`/\\|]|\\*\\*?|=?~|[-+]@?|\\[]=?\n |\n @@?[a-zA-Z_]\\w*\n)",
|
1417
|
-
"captures": {
|
1418
|
-
"1": {
|
1419
|
-
"name": "punctuation.definition.constant.ruby"
|
1420
|
-
}
|
1421
|
-
}
|
1422
|
-
},
|
1423
|
-
{
|
1424
|
-
"name": "comment.block.documentation.ruby",
|
1425
|
-
"begin": "^=begin",
|
1426
|
-
"end": "^=end",
|
1427
|
-
"captures": {
|
1428
|
-
"0": {
|
1429
|
-
"name": "punctuation.definition.comment.ruby"
|
1430
|
-
}
|
1431
|
-
}
|
1432
|
-
},
|
1433
|
-
{
|
1434
|
-
"begin": "(^[ \\t]+)?(?=#)",
|
1435
|
-
"end": "(?!\\G)",
|
1436
|
-
"patterns": [
|
1437
|
-
{
|
1438
|
-
"name": "comment.line.number-sign.ruby",
|
1439
|
-
"begin": "#",
|
1440
|
-
"end": "\\n",
|
1441
|
-
"patterns": [
|
1442
|
-
{
|
1443
|
-
"include": "#yard"
|
1444
|
-
}
|
1445
|
-
],
|
1446
|
-
"beginCaptures": {
|
1447
|
-
"0": {
|
1448
|
-
"name": "punctuation.definition.comment.ruby"
|
1449
|
-
}
|
1450
|
-
}
|
1451
|
-
}
|
1452
|
-
],
|
1453
|
-
"beginCaptures": {
|
1454
|
-
"1": {
|
1455
|
-
"name": "punctuation.whitespace.comment.leading.ruby"
|
1456
|
-
}
|
1457
|
-
}
|
1458
|
-
},
|
1459
|
-
{
|
1460
|
-
"name": "constant.numeric.ruby",
|
1461
|
-
"match": "(?\u003c!\\w)\\?(\\\\(x[[:xdigit:]]{1,2}(?![[:xdigit:]])\\b|0[0-7]{0,2}(?![0-7])\\b|[^x0MC])|(\\\\[MC]-)+\\w|[^\\s\\\\])"
|
1462
|
-
},
|
1463
|
-
{
|
1464
|
-
"contentName": "text.plain",
|
1465
|
-
"begin": "^__END__\\n",
|
1466
|
-
"end": "(?=not)impossible",
|
1467
|
-
"patterns": [
|
1468
|
-
{
|
1469
|
-
"name": "text.html.embedded.ruby",
|
1470
|
-
"begin": "(?=\u003c?xml|\u003c(?i:html\\b)|!DOCTYPE (?i:html\\b))",
|
1471
|
-
"end": "(?=not)impossible",
|
1472
|
-
"patterns": [
|
1473
|
-
{
|
1474
|
-
"include": "text.html.basic"
|
1475
|
-
}
|
1476
|
-
]
|
1477
|
-
}
|
1478
|
-
],
|
1479
|
-
"captures": {
|
1480
|
-
"0": {
|
1481
|
-
"name": "string.unquoted.program-block.ruby"
|
1482
|
-
}
|
1483
|
-
}
|
1484
|
-
},
|
1485
|
-
{
|
1486
|
-
"name": "meta.embedded.block.html",
|
1487
|
-
"begin": "(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)HTML)\\b\\1))",
|
1488
|
-
"end": "(?!\\G)",
|
1489
|
-
"patterns": [
|
1490
|
-
{
|
1491
|
-
"name": "string.unquoted.heredoc.ruby",
|
1492
|
-
"contentName": "text.html",
|
1493
|
-
"begin": "(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)HTML)\\b\\1)",
|
1494
|
-
"end": "^\\s*\\2$\\n?",
|
1495
|
-
"patterns": [
|
1496
|
-
{
|
1497
|
-
"include": "#heredoc"
|
1498
|
-
},
|
1499
|
-
{
|
1500
|
-
"include": "#interpolated_ruby"
|
1501
|
-
},
|
1502
|
-
{
|
1503
|
-
"include": "text.html.basic"
|
1504
|
-
},
|
1505
|
-
{
|
1506
|
-
"include": "#escaped_char"
|
1507
|
-
}
|
1508
|
-
],
|
1509
|
-
"beginCaptures": {
|
1510
|
-
"0": {
|
1511
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1512
|
-
}
|
1513
|
-
},
|
1514
|
-
"endCaptures": {
|
1515
|
-
"0": {
|
1516
|
-
"name": "punctuation.definition.string.end.ruby"
|
1517
|
-
}
|
1518
|
-
}
|
1519
|
-
}
|
1520
|
-
]
|
1521
|
-
},
|
1522
|
-
{
|
1523
|
-
"name": "meta.embedded.block.xml",
|
1524
|
-
"begin": "(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)XML)\\b\\1))",
|
1525
|
-
"end": "(?!\\G)",
|
1526
|
-
"patterns": [
|
1527
|
-
{
|
1528
|
-
"name": "string.unquoted.heredoc.ruby",
|
1529
|
-
"contentName": "text.xml",
|
1530
|
-
"begin": "(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)XML)\\b\\1)",
|
1531
|
-
"end": "^\\s*\\2$\\n?",
|
1532
|
-
"patterns": [
|
1533
|
-
{
|
1534
|
-
"include": "#heredoc"
|
1535
|
-
},
|
1536
|
-
{
|
1537
|
-
"include": "#interpolated_ruby"
|
1538
|
-
},
|
1539
|
-
{
|
1540
|
-
"include": "text.xml"
|
1541
|
-
},
|
1542
|
-
{
|
1543
|
-
"include": "#escaped_char"
|
1544
|
-
}
|
1545
|
-
],
|
1546
|
-
"beginCaptures": {
|
1547
|
-
"0": {
|
1548
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1549
|
-
}
|
1550
|
-
},
|
1551
|
-
"endCaptures": {
|
1552
|
-
"0": {
|
1553
|
-
"name": "punctuation.definition.string.end.ruby"
|
1554
|
-
}
|
1555
|
-
}
|
1556
|
-
}
|
1557
|
-
]
|
1558
|
-
},
|
1559
|
-
{
|
1560
|
-
"name": "meta.embedded.block.sql",
|
1561
|
-
"begin": "(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)SQL)\\b\\1))",
|
1562
|
-
"end": "(?!\\G)",
|
1563
|
-
"patterns": [
|
1564
|
-
{
|
1565
|
-
"name": "string.unquoted.heredoc.ruby",
|
1566
|
-
"contentName": "source.sql",
|
1567
|
-
"begin": "(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)SQL)\\b\\1)",
|
1568
|
-
"end": "^\\s*\\2$\\n?",
|
1569
|
-
"patterns": [
|
1570
|
-
{
|
1571
|
-
"include": "#heredoc"
|
1572
|
-
},
|
1573
|
-
{
|
1574
|
-
"include": "#interpolated_ruby"
|
1575
|
-
},
|
1576
|
-
{
|
1577
|
-
"include": "source.sql"
|
1578
|
-
},
|
1579
|
-
{
|
1580
|
-
"include": "#escaped_char"
|
1581
|
-
}
|
1582
|
-
],
|
1583
|
-
"beginCaptures": {
|
1584
|
-
"0": {
|
1585
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1586
|
-
}
|
1587
|
-
},
|
1588
|
-
"endCaptures": {
|
1589
|
-
"0": {
|
1590
|
-
"name": "punctuation.definition.string.end.ruby"
|
1591
|
-
}
|
1592
|
-
}
|
1593
|
-
}
|
1594
|
-
]
|
1595
|
-
},
|
1596
|
-
{
|
1597
|
-
"name": "meta.embedded.block.graphql",
|
1598
|
-
"begin": "(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)GRAPHQL)\\b\\1))",
|
1599
|
-
"end": "(?!\\G)",
|
1600
|
-
"patterns": [
|
1601
|
-
{
|
1602
|
-
"name": "string.unquoted.heredoc.ruby",
|
1603
|
-
"contentName": "source.graphql",
|
1604
|
-
"begin": "(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)GRAPHQL)\\b\\1)",
|
1605
|
-
"end": "^\\s*\\2$\\n?",
|
1606
|
-
"patterns": [
|
1607
|
-
{
|
1608
|
-
"include": "#heredoc"
|
1609
|
-
},
|
1610
|
-
{
|
1611
|
-
"include": "#interpolated_ruby"
|
1612
|
-
},
|
1613
|
-
{
|
1614
|
-
"include": "source.graphql"
|
1615
|
-
},
|
1616
|
-
{
|
1617
|
-
"include": "#escaped_char"
|
1618
|
-
}
|
1619
|
-
],
|
1620
|
-
"beginCaptures": {
|
1621
|
-
"0": {
|
1622
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1623
|
-
}
|
1624
|
-
},
|
1625
|
-
"endCaptures": {
|
1626
|
-
"0": {
|
1627
|
-
"name": "punctuation.definition.string.end.ruby"
|
1628
|
-
}
|
1629
|
-
}
|
1630
|
-
}
|
1631
|
-
]
|
1632
|
-
},
|
1633
|
-
{
|
1634
|
-
"name": "meta.embedded.block.css",
|
1635
|
-
"begin": "(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)CSS)\\b\\1))",
|
1636
|
-
"end": "(?!\\G)",
|
1637
|
-
"patterns": [
|
1638
|
-
{
|
1639
|
-
"name": "string.unquoted.heredoc.ruby",
|
1640
|
-
"contentName": "source.css",
|
1641
|
-
"begin": "(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)CSS)\\b\\1)",
|
1642
|
-
"end": "^\\s*\\2$\\n?",
|
1643
|
-
"patterns": [
|
1644
|
-
{
|
1645
|
-
"include": "#heredoc"
|
1646
|
-
},
|
1647
|
-
{
|
1648
|
-
"include": "#interpolated_ruby"
|
1649
|
-
},
|
1650
|
-
{
|
1651
|
-
"include": "source.css"
|
1652
|
-
},
|
1653
|
-
{
|
1654
|
-
"include": "#escaped_char"
|
1655
|
-
}
|
1656
|
-
],
|
1657
|
-
"beginCaptures": {
|
1658
|
-
"0": {
|
1659
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1660
|
-
}
|
1661
|
-
},
|
1662
|
-
"endCaptures": {
|
1663
|
-
"0": {
|
1664
|
-
"name": "punctuation.definition.string.end.ruby"
|
1665
|
-
}
|
1666
|
-
}
|
1667
|
-
}
|
1668
|
-
]
|
1669
|
-
},
|
1670
|
-
{
|
1671
|
-
"name": "meta.embedded.block.cpp",
|
1672
|
-
"begin": "(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)CPP)\\b\\1))",
|
1673
|
-
"end": "(?!\\G)",
|
1674
|
-
"patterns": [
|
1675
|
-
{
|
1676
|
-
"name": "string.unquoted.heredoc.ruby",
|
1677
|
-
"contentName": "source.cpp",
|
1678
|
-
"begin": "(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)CPP)\\b\\1)",
|
1679
|
-
"end": "^\\s*\\2$\\n?",
|
1680
|
-
"patterns": [
|
1681
|
-
{
|
1682
|
-
"include": "#heredoc"
|
1683
|
-
},
|
1684
|
-
{
|
1685
|
-
"include": "#interpolated_ruby"
|
1686
|
-
},
|
1687
|
-
{
|
1688
|
-
"include": "source.c++"
|
1689
|
-
},
|
1690
|
-
{
|
1691
|
-
"include": "#escaped_char"
|
1692
|
-
}
|
1693
|
-
],
|
1694
|
-
"beginCaptures": {
|
1695
|
-
"0": {
|
1696
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1697
|
-
}
|
1698
|
-
},
|
1699
|
-
"endCaptures": {
|
1700
|
-
"0": {
|
1701
|
-
"name": "punctuation.definition.string.end.ruby"
|
1702
|
-
}
|
1703
|
-
}
|
1704
|
-
}
|
1705
|
-
]
|
1706
|
-
},
|
1707
|
-
{
|
1708
|
-
"name": "meta.embedded.block.c",
|
1709
|
-
"begin": "(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)C)\\b\\1))",
|
1710
|
-
"end": "(?!\\G)",
|
1711
|
-
"patterns": [
|
1712
|
-
{
|
1713
|
-
"name": "string.unquoted.heredoc.ruby",
|
1714
|
-
"contentName": "source.c",
|
1715
|
-
"begin": "(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)C)\\b\\1)",
|
1716
|
-
"end": "^\\s*\\2$\\n?",
|
1717
|
-
"patterns": [
|
1718
|
-
{
|
1719
|
-
"include": "#heredoc"
|
1720
|
-
},
|
1721
|
-
{
|
1722
|
-
"include": "#interpolated_ruby"
|
1723
|
-
},
|
1724
|
-
{
|
1725
|
-
"include": "source.c"
|
1726
|
-
},
|
1727
|
-
{
|
1728
|
-
"include": "#escaped_char"
|
1729
|
-
}
|
1730
|
-
],
|
1731
|
-
"beginCaptures": {
|
1732
|
-
"0": {
|
1733
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1734
|
-
}
|
1735
|
-
},
|
1736
|
-
"endCaptures": {
|
1737
|
-
"0": {
|
1738
|
-
"name": "punctuation.definition.string.end.ruby"
|
1739
|
-
}
|
1740
|
-
}
|
1741
|
-
}
|
1742
|
-
]
|
1743
|
-
},
|
1744
|
-
{
|
1745
|
-
"name": "meta.embedded.block.js",
|
1746
|
-
"begin": "(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)(?:JS|JAVASCRIPT))\\b\\1))",
|
1747
|
-
"end": "(?!\\G)",
|
1748
|
-
"patterns": [
|
1749
|
-
{
|
1750
|
-
"name": "string.unquoted.heredoc.ruby",
|
1751
|
-
"contentName": "source.js",
|
1752
|
-
"begin": "(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)(?:JS|JAVASCRIPT))\\b\\1)",
|
1753
|
-
"end": "^\\s*\\2$\\n?",
|
1754
|
-
"patterns": [
|
1755
|
-
{
|
1756
|
-
"include": "#heredoc"
|
1757
|
-
},
|
1758
|
-
{
|
1759
|
-
"include": "#interpolated_ruby"
|
1760
|
-
},
|
1761
|
-
{
|
1762
|
-
"include": "source.js"
|
1763
|
-
},
|
1764
|
-
{
|
1765
|
-
"include": "#escaped_char"
|
1766
|
-
}
|
1767
|
-
],
|
1768
|
-
"beginCaptures": {
|
1769
|
-
"0": {
|
1770
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1771
|
-
}
|
1772
|
-
},
|
1773
|
-
"endCaptures": {
|
1774
|
-
"0": {
|
1775
|
-
"name": "punctuation.definition.string.end.ruby"
|
1776
|
-
}
|
1777
|
-
}
|
1778
|
-
}
|
1779
|
-
]
|
1780
|
-
},
|
1781
|
-
{
|
1782
|
-
"name": "meta.embedded.block.js.jquery",
|
1783
|
-
"begin": "(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)JQUERY)\\b\\1))",
|
1784
|
-
"end": "(?!\\G)",
|
1785
|
-
"patterns": [
|
1786
|
-
{
|
1787
|
-
"name": "string.unquoted.heredoc.ruby",
|
1788
|
-
"contentName": "source.js.jquery",
|
1789
|
-
"begin": "(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)JQUERY)\\b\\1)",
|
1790
|
-
"end": "^\\s*\\2$\\n?",
|
1791
|
-
"patterns": [
|
1792
|
-
{
|
1793
|
-
"include": "#heredoc"
|
1794
|
-
},
|
1795
|
-
{
|
1796
|
-
"include": "#interpolated_ruby"
|
1797
|
-
},
|
1798
|
-
{},
|
1799
|
-
{
|
1800
|
-
"include": "#escaped_char"
|
1801
|
-
}
|
1802
|
-
],
|
1803
|
-
"beginCaptures": {
|
1804
|
-
"0": {
|
1805
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1806
|
-
}
|
1807
|
-
},
|
1808
|
-
"endCaptures": {
|
1809
|
-
"0": {
|
1810
|
-
"name": "punctuation.definition.string.end.ruby"
|
1811
|
-
}
|
1812
|
-
}
|
1813
|
-
}
|
1814
|
-
]
|
1815
|
-
},
|
1816
|
-
{
|
1817
|
-
"name": "meta.embedded.block.shell",
|
1818
|
-
"begin": "(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)(?:SH|SHELL))\\b\\1))",
|
1819
|
-
"end": "(?!\\G)",
|
1820
|
-
"patterns": [
|
1821
|
-
{
|
1822
|
-
"name": "string.unquoted.heredoc.ruby",
|
1823
|
-
"contentName": "source.shell",
|
1824
|
-
"begin": "(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)(?:SH|SHELL))\\b\\1)",
|
1825
|
-
"end": "^\\s*\\2$\\n?",
|
1826
|
-
"patterns": [
|
1827
|
-
{
|
1828
|
-
"include": "#heredoc"
|
1829
|
-
},
|
1830
|
-
{
|
1831
|
-
"include": "#interpolated_ruby"
|
1832
|
-
},
|
1833
|
-
{
|
1834
|
-
"include": "source.shell"
|
1835
|
-
},
|
1836
|
-
{
|
1837
|
-
"include": "#escaped_char"
|
1838
|
-
}
|
1839
|
-
],
|
1840
|
-
"beginCaptures": {
|
1841
|
-
"0": {
|
1842
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1843
|
-
}
|
1844
|
-
},
|
1845
|
-
"endCaptures": {
|
1846
|
-
"0": {
|
1847
|
-
"name": "punctuation.definition.string.end.ruby"
|
1848
|
-
}
|
1849
|
-
}
|
1850
|
-
}
|
1851
|
-
]
|
1852
|
-
},
|
1853
|
-
{
|
1854
|
-
"name": "meta.embedded.block.lua",
|
1855
|
-
"begin": "(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)LUA)\\b\\1))",
|
1856
|
-
"end": "(?!\\G)",
|
1857
|
-
"patterns": [
|
1858
|
-
{
|
1859
|
-
"name": "string.unquoted.heredoc.ruby",
|
1860
|
-
"contentName": "source.lua",
|
1861
|
-
"begin": "(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)LUA)\\b\\1)",
|
1862
|
-
"end": "^\\s*\\2$\\n?",
|
1863
|
-
"patterns": [
|
1864
|
-
{
|
1865
|
-
"include": "#heredoc"
|
1866
|
-
},
|
1867
|
-
{
|
1868
|
-
"include": "#interpolated_ruby"
|
1869
|
-
},
|
1870
|
-
{
|
1871
|
-
"include": "source.lua"
|
1872
|
-
},
|
1873
|
-
{
|
1874
|
-
"include": "#escaped_char"
|
1875
|
-
}
|
1876
|
-
],
|
1877
|
-
"beginCaptures": {
|
1878
|
-
"0": {
|
1879
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1880
|
-
}
|
1881
|
-
},
|
1882
|
-
"endCaptures": {
|
1883
|
-
"0": {
|
1884
|
-
"name": "punctuation.definition.string.end.ruby"
|
1885
|
-
}
|
1886
|
-
}
|
1887
|
-
}
|
1888
|
-
]
|
1889
|
-
},
|
1890
|
-
{
|
1891
|
-
"name": "meta.embedded.block.ruby",
|
1892
|
-
"begin": "(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)RUBY)\\b\\1))",
|
1893
|
-
"end": "(?!\\G)",
|
1894
|
-
"patterns": [
|
1895
|
-
{
|
1896
|
-
"name": "string.unquoted.heredoc.ruby",
|
1897
|
-
"contentName": "source.ruby",
|
1898
|
-
"begin": "(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)RUBY)\\b\\1)",
|
1899
|
-
"end": "^\\s*\\2$\\n?",
|
1900
|
-
"patterns": [
|
1901
|
-
{
|
1902
|
-
"include": "#heredoc"
|
1903
|
-
},
|
1904
|
-
{
|
1905
|
-
"include": "#interpolated_ruby"
|
1906
|
-
},
|
1907
|
-
{
|
1908
|
-
"include": "source.ruby"
|
1909
|
-
},
|
1910
|
-
{
|
1911
|
-
"include": "#escaped_char"
|
1912
|
-
}
|
1913
|
-
],
|
1914
|
-
"beginCaptures": {
|
1915
|
-
"0": {
|
1916
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1917
|
-
}
|
1918
|
-
},
|
1919
|
-
"endCaptures": {
|
1920
|
-
"0": {
|
1921
|
-
"name": "punctuation.definition.string.end.ruby"
|
1922
|
-
}
|
1923
|
-
}
|
1924
|
-
}
|
1925
|
-
]
|
1926
|
-
},
|
1927
|
-
{
|
1928
|
-
"name": "string.unquoted.heredoc.ruby",
|
1929
|
-
"begin": "(?\u003e=\\s*\u003c\u003c([\"'`]?)(\\w+)\\1)",
|
1930
|
-
"end": "^\\2$",
|
1931
|
-
"patterns": [
|
1932
|
-
{
|
1933
|
-
"include": "#heredoc"
|
1934
|
-
},
|
1935
|
-
{
|
1936
|
-
"include": "#interpolated_ruby"
|
1937
|
-
},
|
1938
|
-
{
|
1939
|
-
"include": "#escaped_char"
|
1940
|
-
}
|
1941
|
-
],
|
1942
|
-
"beginCaptures": {
|
1943
|
-
"0": {
|
1944
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1945
|
-
}
|
1946
|
-
},
|
1947
|
-
"endCaptures": {
|
1948
|
-
"0": {
|
1949
|
-
"name": "punctuation.definition.string.end.ruby"
|
1950
|
-
}
|
1951
|
-
}
|
1952
|
-
},
|
1953
|
-
{
|
1954
|
-
"name": "string.unquoted.heredoc.ruby",
|
1955
|
-
"begin": "(?\u003e((\u003c\u003c[-~]([\"'`]?)(\\w+)\\3,\\s?)*\u003c\u003c[-~]([\"'`]?)(\\w+)\\5))",
|
1956
|
-
"end": "^\\s*\\6$",
|
1957
|
-
"patterns": [
|
1958
|
-
{
|
1959
|
-
"include": "#heredoc"
|
1960
|
-
},
|
1961
|
-
{
|
1962
|
-
"include": "#interpolated_ruby"
|
1963
|
-
},
|
1964
|
-
{
|
1965
|
-
"include": "#escaped_char"
|
1966
|
-
}
|
1967
|
-
],
|
1968
|
-
"beginCaptures": {
|
1969
|
-
"0": {
|
1970
|
-
"name": "punctuation.definition.string.begin.ruby"
|
1971
|
-
}
|
1972
|
-
},
|
1973
|
-
"endCaptures": {
|
1974
|
-
"0": {
|
1975
|
-
"name": "punctuation.definition.string.end.ruby"
|
1976
|
-
}
|
1977
|
-
}
|
1978
|
-
},
|
1979
|
-
{
|
1980
|
-
"begin": "(?\u003c={|{\\s|[^A-Za-z0-9_]do|^do|[^A-Za-z0-9_]do\\s|^do\\s)(\\|)",
|
1981
|
-
"end": "(?\u003c!\\|)(\\|)(?!\\|)",
|
1982
|
-
"patterns": [
|
1983
|
-
{
|
1984
|
-
"include": "source.ruby"
|
1985
|
-
},
|
1986
|
-
{
|
1987
|
-
"name": "variable.other.block.ruby",
|
1988
|
-
"match": "[_a-zA-Z][_a-zA-Z0-9]*"
|
1989
|
-
},
|
1990
|
-
{
|
1991
|
-
"name": "punctuation.separator.variable.ruby",
|
1992
|
-
"match": ","
|
1993
|
-
}
|
1994
|
-
],
|
1995
|
-
"captures": {
|
1996
|
-
"1": {
|
1997
|
-
"name": "punctuation.separator.variable.ruby"
|
1998
|
-
}
|
1999
|
-
}
|
2000
|
-
},
|
2001
|
-
{
|
2002
|
-
"name": "punctuation.separator.key-value",
|
2003
|
-
"match": "=\u003e"
|
2004
|
-
},
|
2005
|
-
{
|
2006
|
-
"name": "support.function.kernel.ruby",
|
2007
|
-
"match": "-\u003e"
|
2008
|
-
},
|
2009
|
-
{
|
2010
|
-
"name": "keyword.operator.assignment.augmented.ruby",
|
2011
|
-
"match": "\u003c\u003c=|%=|\u0026{1,2}=|\\*=|\\*\\*=|\\+=|-=|\\^=|\\|{1,2}=|\u003c\u003c"
|
2012
|
-
},
|
2013
|
-
{
|
2014
|
-
"name": "keyword.operator.comparison.ruby",
|
2015
|
-
"match": "\u003c=\u003e|\u003c(?!\u003c|=)|\u003e(?!\u003c|=|\u003e)|\u003c=|\u003e=|===|==|=~|!=|!~|(?\u003c=[ \\t])\\?"
|
2016
|
-
},
|
2017
|
-
{
|
2018
|
-
"name": "keyword.operator.logical.ruby",
|
2019
|
-
"match": "(?\u003c!\\.)\\b(and|not|or)\\b(?![?!])"
|
2020
|
-
},
|
2021
|
-
{
|
2022
|
-
"name": "keyword.operator.logical.ruby",
|
2023
|
-
"match": "(?\u003c=^|[ \\t])!|\u0026\u0026|\\|\\||\\^"
|
2024
|
-
},
|
2025
|
-
{
|
2026
|
-
"match": "(\u0026\\.)\\s*(?![A-Z])",
|
2027
|
-
"captures": {
|
2028
|
-
"1": {
|
2029
|
-
"name": "punctuation.separator.method.ruby"
|
2030
|
-
}
|
2031
|
-
}
|
2032
|
-
},
|
2033
|
-
{
|
2034
|
-
"name": "keyword.operator.arithmetic.ruby",
|
2035
|
-
"match": "(%|\u0026|\\*\\*|\\*|\\+|-|/)"
|
2036
|
-
},
|
2037
|
-
{
|
2038
|
-
"name": "keyword.operator.assignment.ruby",
|
2039
|
-
"match": "="
|
2040
|
-
},
|
2041
|
-
{
|
2042
|
-
"name": "keyword.operator.other.ruby",
|
2043
|
-
"match": "\\||~|\u003e\u003e"
|
2044
|
-
},
|
2045
|
-
{
|
2046
|
-
"name": "punctuation.separator.statement.ruby",
|
2047
|
-
"match": ";"
|
2048
|
-
},
|
2049
|
-
{
|
2050
|
-
"name": "punctuation.separator.object.ruby",
|
2051
|
-
"match": ","
|
2052
|
-
},
|
2053
|
-
{
|
2054
|
-
"match": "(::)\\s*(?=[A-Z])",
|
2055
|
-
"captures": {
|
2056
|
-
"1": {
|
2057
|
-
"name": "punctuation.separator.namespace.ruby"
|
2058
|
-
}
|
2059
|
-
}
|
2060
|
-
},
|
2061
|
-
{
|
2062
|
-
"match": "(\\.|::)\\s*(?![A-Z])",
|
2063
|
-
"captures": {
|
2064
|
-
"1": {
|
2065
|
-
"name": "punctuation.separator.method.ruby"
|
2066
|
-
}
|
2067
|
-
}
|
2068
|
-
},
|
2069
|
-
{
|
2070
|
-
"name": "punctuation.separator.other.ruby",
|
2071
|
-
"match": ":"
|
2072
|
-
},
|
2073
|
-
{
|
2074
|
-
"name": "punctuation.section.scope.begin.ruby",
|
2075
|
-
"match": "{"
|
2076
|
-
},
|
2077
|
-
{
|
2078
|
-
"name": "punctuation.section.scope.end.ruby",
|
2079
|
-
"match": "}"
|
2080
|
-
},
|
2081
|
-
{
|
2082
|
-
"name": "punctuation.section.array.begin.ruby",
|
2083
|
-
"match": "\\["
|
2084
|
-
},
|
2085
|
-
{
|
2086
|
-
"name": "punctuation.section.array.end.ruby",
|
2087
|
-
"match": "]"
|
2088
|
-
},
|
2089
|
-
{
|
2090
|
-
"name": "punctuation.section.function.ruby",
|
2091
|
-
"match": "\\(|\\)"
|
2092
|
-
}
|
2093
|
-
],
|
2094
|
-
"repository": {
|
2095
|
-
"escaped_char": {
|
2096
|
-
"name": "constant.character.escape.ruby",
|
2097
|
-
"match": "\\\\(?:[0-7]{1,3}|x[\\da-fA-F]{1,2}|.)"
|
2098
|
-
},
|
2099
|
-
"heredoc": {
|
2100
|
-
"begin": "^\u003c\u003c[-~]?\\w+",
|
2101
|
-
"end": "$",
|
2102
|
-
"patterns": [
|
2103
|
-
{
|
2104
|
-
"include": "$self"
|
2105
|
-
}
|
2106
|
-
]
|
2107
|
-
},
|
2108
|
-
"interpolated_ruby": {
|
2109
|
-
"patterns": [
|
2110
|
-
{
|
2111
|
-
"name": "meta.embedded.line.ruby",
|
2112
|
-
"contentName": "source.ruby",
|
2113
|
-
"begin": "#{",
|
2114
|
-
"end": "}",
|
2115
|
-
"patterns": [
|
2116
|
-
{
|
2117
|
-
"include": "#nest_curly_and_self"
|
2118
|
-
},
|
2119
|
-
{
|
2120
|
-
"include": "$self"
|
2121
|
-
}
|
2122
|
-
],
|
2123
|
-
"beginCaptures": {
|
2124
|
-
"0": {
|
2125
|
-
"name": "punctuation.section.embedded.begin.ruby"
|
2126
|
-
}
|
2127
|
-
},
|
2128
|
-
"endCaptures": {
|
2129
|
-
"0": {
|
2130
|
-
"name": "punctuation.section.embedded.end.ruby"
|
2131
|
-
}
|
2132
|
-
}
|
2133
|
-
},
|
2134
|
-
{
|
2135
|
-
"name": "variable.other.readwrite.instance.ruby",
|
2136
|
-
"match": "(#@)[a-zA-Z_]\\w*",
|
2137
|
-
"captures": {
|
2138
|
-
"1": {
|
2139
|
-
"name": "punctuation.definition.variable.ruby"
|
2140
|
-
}
|
2141
|
-
}
|
2142
|
-
},
|
2143
|
-
{
|
2144
|
-
"name": "variable.other.readwrite.class.ruby",
|
2145
|
-
"match": "(#@@)[a-zA-Z_]\\w*",
|
2146
|
-
"captures": {
|
2147
|
-
"1": {
|
2148
|
-
"name": "punctuation.definition.variable.ruby"
|
2149
|
-
}
|
2150
|
-
}
|
2151
|
-
},
|
2152
|
-
{
|
2153
|
-
"name": "variable.other.readwrite.global.ruby",
|
2154
|
-
"match": "(#\\$)[a-zA-Z_]\\w*",
|
2155
|
-
"captures": {
|
2156
|
-
"1": {
|
2157
|
-
"name": "punctuation.definition.variable.ruby"
|
2158
|
-
}
|
2159
|
-
}
|
2160
|
-
}
|
2161
|
-
]
|
2162
|
-
},
|
2163
|
-
"nest_brackets": {
|
2164
|
-
"begin": "\\[",
|
2165
|
-
"end": "]",
|
2166
|
-
"patterns": [
|
2167
|
-
{
|
2168
|
-
"include": "#nest_brackets"
|
2169
|
-
}
|
2170
|
-
],
|
2171
|
-
"captures": {
|
2172
|
-
"0": {
|
2173
|
-
"name": "punctuation.section.scope.ruby"
|
2174
|
-
}
|
2175
|
-
}
|
2176
|
-
},
|
2177
|
-
"nest_brackets_i": {
|
2178
|
-
"begin": "\\[",
|
2179
|
-
"end": "]",
|
2180
|
-
"patterns": [
|
2181
|
-
{
|
2182
|
-
"include": "#interpolated_ruby"
|
2183
|
-
},
|
2184
|
-
{
|
2185
|
-
"include": "#escaped_char"
|
2186
|
-
},
|
2187
|
-
{
|
2188
|
-
"include": "#nest_brackets_i"
|
2189
|
-
}
|
2190
|
-
],
|
2191
|
-
"captures": {
|
2192
|
-
"0": {
|
2193
|
-
"name": "punctuation.section.scope.ruby"
|
2194
|
-
}
|
2195
|
-
}
|
2196
|
-
},
|
2197
|
-
"nest_brackets_r": {
|
2198
|
-
"begin": "\\[",
|
2199
|
-
"end": "]",
|
2200
|
-
"patterns": [
|
2201
|
-
{
|
2202
|
-
"include": "#regex_sub"
|
2203
|
-
},
|
2204
|
-
{
|
2205
|
-
"include": "#nest_brackets_r"
|
2206
|
-
}
|
2207
|
-
],
|
2208
|
-
"captures": {
|
2209
|
-
"0": {
|
2210
|
-
"name": "punctuation.section.scope.ruby"
|
2211
|
-
}
|
2212
|
-
}
|
2213
|
-
},
|
2214
|
-
"nest_curly": {
|
2215
|
-
"begin": "{",
|
2216
|
-
"end": "}",
|
2217
|
-
"patterns": [
|
2218
|
-
{
|
2219
|
-
"include": "#nest_curly"
|
2220
|
-
}
|
2221
|
-
],
|
2222
|
-
"captures": {
|
2223
|
-
"0": {
|
2224
|
-
"name": "punctuation.section.scope.ruby"
|
2225
|
-
}
|
2226
|
-
}
|
2227
|
-
},
|
2228
|
-
"nest_curly_and_self": {
|
2229
|
-
"patterns": [
|
2230
|
-
{
|
2231
|
-
"begin": "{",
|
2232
|
-
"end": "}",
|
2233
|
-
"patterns": [
|
2234
|
-
{
|
2235
|
-
"include": "#nest_curly_and_self"
|
2236
|
-
}
|
2237
|
-
],
|
2238
|
-
"captures": {
|
2239
|
-
"0": {
|
2240
|
-
"name": "punctuation.section.scope.ruby"
|
2241
|
-
}
|
2242
|
-
}
|
2243
|
-
},
|
2244
|
-
{
|
2245
|
-
"include": "$self"
|
2246
|
-
}
|
2247
|
-
]
|
2248
|
-
},
|
2249
|
-
"nest_curly_i": {
|
2250
|
-
"begin": "{",
|
2251
|
-
"end": "}",
|
2252
|
-
"patterns": [
|
2253
|
-
{
|
2254
|
-
"include": "#interpolated_ruby"
|
2255
|
-
},
|
2256
|
-
{
|
2257
|
-
"include": "#escaped_char"
|
2258
|
-
},
|
2259
|
-
{
|
2260
|
-
"include": "#nest_curly_i"
|
2261
|
-
}
|
2262
|
-
],
|
2263
|
-
"captures": {
|
2264
|
-
"0": {
|
2265
|
-
"name": "punctuation.section.scope.ruby"
|
2266
|
-
}
|
2267
|
-
}
|
2268
|
-
},
|
2269
|
-
"nest_curly_r": {
|
2270
|
-
"begin": "{",
|
2271
|
-
"end": "}",
|
2272
|
-
"patterns": [
|
2273
|
-
{
|
2274
|
-
"include": "#regex_sub"
|
2275
|
-
},
|
2276
|
-
{
|
2277
|
-
"include": "#nest_curly_r"
|
2278
|
-
}
|
2279
|
-
],
|
2280
|
-
"captures": {
|
2281
|
-
"0": {
|
2282
|
-
"name": "punctuation.section.scope.ruby"
|
2283
|
-
}
|
2284
|
-
}
|
2285
|
-
},
|
2286
|
-
"nest_ltgt": {
|
2287
|
-
"begin": "\u003c",
|
2288
|
-
"end": "\u003e",
|
2289
|
-
"patterns": [
|
2290
|
-
{
|
2291
|
-
"include": "#nest_ltgt"
|
2292
|
-
}
|
2293
|
-
],
|
2294
|
-
"captures": {
|
2295
|
-
"0": {
|
2296
|
-
"name": "punctuation.section.scope.ruby"
|
2297
|
-
}
|
2298
|
-
}
|
2299
|
-
},
|
2300
|
-
"nest_ltgt_i": {
|
2301
|
-
"begin": "\u003c",
|
2302
|
-
"end": "\u003e",
|
2303
|
-
"patterns": [
|
2304
|
-
{
|
2305
|
-
"include": "#interpolated_ruby"
|
2306
|
-
},
|
2307
|
-
{
|
2308
|
-
"include": "#escaped_char"
|
2309
|
-
},
|
2310
|
-
{
|
2311
|
-
"include": "#nest_ltgt_i"
|
2312
|
-
}
|
2313
|
-
],
|
2314
|
-
"captures": {
|
2315
|
-
"0": {
|
2316
|
-
"name": "punctuation.section.scope.ruby"
|
2317
|
-
}
|
2318
|
-
}
|
2319
|
-
},
|
2320
|
-
"nest_ltgt_r": {
|
2321
|
-
"begin": "\u003c",
|
2322
|
-
"end": "\u003e",
|
2323
|
-
"patterns": [
|
2324
|
-
{
|
2325
|
-
"include": "#regex_sub"
|
2326
|
-
},
|
2327
|
-
{
|
2328
|
-
"include": "#nest_ltgt_r"
|
2329
|
-
}
|
2330
|
-
],
|
2331
|
-
"captures": {
|
2332
|
-
"0": {
|
2333
|
-
"name": "punctuation.section.scope.ruby"
|
2334
|
-
}
|
2335
|
-
}
|
2336
|
-
},
|
2337
|
-
"nest_parens": {
|
2338
|
-
"begin": "\\(",
|
2339
|
-
"end": "\\)",
|
2340
|
-
"patterns": [
|
2341
|
-
{
|
2342
|
-
"include": "#nest_parens"
|
2343
|
-
}
|
2344
|
-
],
|
2345
|
-
"captures": {
|
2346
|
-
"0": {
|
2347
|
-
"name": "punctuation.section.scope.ruby"
|
2348
|
-
}
|
2349
|
-
}
|
2350
|
-
},
|
2351
|
-
"nest_parens_i": {
|
2352
|
-
"begin": "\\(",
|
2353
|
-
"end": "\\)",
|
2354
|
-
"patterns": [
|
2355
|
-
{
|
2356
|
-
"include": "#interpolated_ruby"
|
2357
|
-
},
|
2358
|
-
{
|
2359
|
-
"include": "#escaped_char"
|
2360
|
-
},
|
2361
|
-
{
|
2362
|
-
"include": "#nest_parens_i"
|
2363
|
-
}
|
2364
|
-
],
|
2365
|
-
"captures": {
|
2366
|
-
"0": {
|
2367
|
-
"name": "punctuation.section.scope.ruby"
|
2368
|
-
}
|
2369
|
-
}
|
2370
|
-
},
|
2371
|
-
"nest_parens_r": {
|
2372
|
-
"begin": "\\(",
|
2373
|
-
"end": "\\)",
|
2374
|
-
"patterns": [
|
2375
|
-
{
|
2376
|
-
"include": "#regex_sub"
|
2377
|
-
},
|
2378
|
-
{
|
2379
|
-
"include": "#nest_parens_r"
|
2380
|
-
}
|
2381
|
-
],
|
2382
|
-
"captures": {
|
2383
|
-
"0": {
|
2384
|
-
"name": "punctuation.section.scope.ruby"
|
2385
|
-
}
|
2386
|
-
}
|
2387
|
-
},
|
2388
|
-
"regex_sub": {
|
2389
|
-
"patterns": [
|
2390
|
-
{
|
2391
|
-
"include": "#interpolated_ruby"
|
2392
|
-
},
|
2393
|
-
{
|
2394
|
-
"include": "#escaped_char"
|
2395
|
-
},
|
2396
|
-
{
|
2397
|
-
"name": "string.regexp.arbitrary-repetition.ruby",
|
2398
|
-
"match": "({)\\d+(,\\d+)?(})",
|
2399
|
-
"captures": {
|
2400
|
-
"1": {
|
2401
|
-
"name": "punctuation.definition.arbitrary-repetition.ruby"
|
2402
|
-
},
|
2403
|
-
"3": {
|
2404
|
-
"name": "punctuation.definition.arbitrary-repetition.ruby"
|
2405
|
-
}
|
2406
|
-
}
|
2407
|
-
},
|
2408
|
-
{
|
2409
|
-
"name": "string.regexp.character-class.ruby",
|
2410
|
-
"begin": "\\[(?:\\^?])?",
|
2411
|
-
"end": "]",
|
2412
|
-
"patterns": [
|
2413
|
-
{
|
2414
|
-
"include": "#escaped_char"
|
2415
|
-
}
|
2416
|
-
],
|
2417
|
-
"captures": {
|
2418
|
-
"0": {
|
2419
|
-
"name": "punctuation.definition.character-class.ruby"
|
2420
|
-
}
|
2421
|
-
}
|
2422
|
-
},
|
2423
|
-
{
|
2424
|
-
"name": "comment.line.number-sign.ruby",
|
2425
|
-
"begin": "\\(\\?#",
|
2426
|
-
"end": "\\)",
|
2427
|
-
"patterns": [
|
2428
|
-
{
|
2429
|
-
"include": "#escaped_char"
|
2430
|
-
}
|
2431
|
-
],
|
2432
|
-
"beginCaptures": {
|
2433
|
-
"0": {
|
2434
|
-
"name": "punctuation.definition.comment.begin.ruby"
|
2435
|
-
}
|
2436
|
-
},
|
2437
|
-
"endCaptures": {
|
2438
|
-
"0": {
|
2439
|
-
"name": "punctuation.definition.comment.end.ruby"
|
2440
|
-
}
|
2441
|
-
}
|
2442
|
-
},
|
2443
|
-
{
|
2444
|
-
"name": "string.regexp.group.ruby",
|
2445
|
-
"begin": "\\(",
|
2446
|
-
"end": "\\)",
|
2447
|
-
"patterns": [
|
2448
|
-
{
|
2449
|
-
"include": "#regex_sub"
|
2450
|
-
}
|
2451
|
-
],
|
2452
|
-
"captures": {
|
2453
|
-
"0": {
|
2454
|
-
"name": "punctuation.definition.group.ruby"
|
2455
|
-
}
|
2456
|
-
}
|
2457
|
-
},
|
2458
|
-
{
|
2459
|
-
"name": "comment.line.number-sign.ruby",
|
2460
|
-
"begin": "(?\u003c=^|\\s)(#)\\s(?=[[a-zA-Z0-9,. \\t?!-][^\\x{00}-\\x{7F}]]*$)",
|
2461
|
-
"end": "$\\n?",
|
2462
|
-
"beginCaptures": {
|
2463
|
-
"1": {
|
2464
|
-
"name": "punctuation.definition.comment.ruby"
|
2465
|
-
}
|
2466
|
-
},
|
2467
|
-
"endCaptures": {
|
2468
|
-
"0": {
|
2469
|
-
"name": "punctuation.definition.comment.ruby"
|
2470
|
-
}
|
2471
|
-
}
|
2472
|
-
}
|
2473
|
-
]
|
2474
|
-
},
|
2475
|
-
"yard": {
|
2476
|
-
"name": "comment.line.yard.ruby",
|
2477
|
-
"patterns": [
|
2478
|
-
{
|
2479
|
-
"include": "#yard_comment"
|
2480
|
-
},
|
2481
|
-
{
|
2482
|
-
"include": "#yard_name_types"
|
2483
|
-
},
|
2484
|
-
{
|
2485
|
-
"include": "#yard_tag"
|
2486
|
-
},
|
2487
|
-
{
|
2488
|
-
"include": "#yard_types"
|
2489
|
-
},
|
2490
|
-
{
|
2491
|
-
"include": "#yard_directive"
|
2492
|
-
}
|
2493
|
-
]
|
2494
|
-
},
|
2495
|
-
"yard_comment": {
|
2496
|
-
"match": "(@)(abstract|api|author|deprecated|example|note|overload|since|todo|version)(?=\\s)(.*)$",
|
2497
|
-
"captures": {
|
2498
|
-
"1": {
|
2499
|
-
"name": "comment.line.keyword.punctuation.yard.ruby"
|
2500
|
-
},
|
2501
|
-
"2": {
|
2502
|
-
"name": "comment.line.keyword.yard.ruby"
|
2503
|
-
},
|
2504
|
-
"3": {
|
2505
|
-
"name": "comment.line.string.yard.ruby"
|
2506
|
-
}
|
2507
|
-
}
|
2508
|
-
},
|
2509
|
-
"yard_directive": {
|
2510
|
-
"match": "(@!)(attribute|endgroup|group|macro|method|parse|scope|visibility)(\\s+((\\[).+(])))?(?=\\s)(.*)$",
|
2511
|
-
"captures": {
|
2512
|
-
"1": {
|
2513
|
-
"name": "comment.line.keyword.punctuation.yard.ruby"
|
2514
|
-
},
|
2515
|
-
"2": {
|
2516
|
-
"name": "comment.line.keyword.yard.ruby"
|
2517
|
-
},
|
2518
|
-
"3": {
|
2519
|
-
"name": "comment.line.yard.ruby"
|
2520
|
-
},
|
2521
|
-
"4": {
|
2522
|
-
"name": "comment.line.type.yard.ruby"
|
2523
|
-
},
|
2524
|
-
"5": {
|
2525
|
-
"name": "comment.line.punctuation.yard.ruby"
|
2526
|
-
},
|
2527
|
-
"6": {
|
2528
|
-
"name": "comment.line.punctuation.yard.ruby"
|
2529
|
-
},
|
2530
|
-
"7": {
|
2531
|
-
"name": "comment.line.string.yard.ruby"
|
2532
|
-
}
|
2533
|
-
}
|
2534
|
-
},
|
2535
|
-
"yard_name_types": {
|
2536
|
-
"match": "(@)(attr|attr_reader|attr_writer|option|param|see|yieldparam)(?=\\s)(\\s+([a-z_][a-zA-Z_]*))?(\\s+((\\[).+(])))?(.*)$",
|
2537
|
-
"captures": {
|
2538
|
-
"1": {
|
2539
|
-
"name": "comment.line.keyword.punctuation.yard.ruby"
|
2540
|
-
},
|
2541
|
-
"2": {
|
2542
|
-
"name": "comment.line.keyword.yard.ruby"
|
2543
|
-
},
|
2544
|
-
"3": {
|
2545
|
-
"name": "comment.line.yard.ruby"
|
2546
|
-
},
|
2547
|
-
"4": {
|
2548
|
-
"name": "comment.line.parameter.yard.ruby"
|
2549
|
-
},
|
2550
|
-
"5": {
|
2551
|
-
"name": "comment.line.yard.ruby"
|
2552
|
-
},
|
2553
|
-
"6": {
|
2554
|
-
"name": "comment.line.type.yard.ruby"
|
2555
|
-
},
|
2556
|
-
"7": {
|
2557
|
-
"name": "comment.line.punctuation.yard.ruby"
|
2558
|
-
},
|
2559
|
-
"8": {
|
2560
|
-
"name": "comment.line.punctuation.yard.ruby"
|
2561
|
-
},
|
2562
|
-
"9": {
|
2563
|
-
"name": "comment.line.string.yard.ruby"
|
2564
|
-
}
|
2565
|
-
}
|
2566
|
-
},
|
2567
|
-
"yard_tag": {
|
2568
|
-
"match": "(@)(private)$",
|
2569
|
-
"captures": {
|
2570
|
-
"1": {
|
2571
|
-
"name": "comment.line.keyword.punctuation.yard.ruby"
|
2572
|
-
},
|
2573
|
-
"2": {
|
2574
|
-
"name": "comment.line.keyword.yard.ruby"
|
2575
|
-
}
|
2576
|
-
}
|
2577
|
-
},
|
2578
|
-
"yard_types": {
|
2579
|
-
"match": "(@)(raise|return|yield(?:return)?)(?=\\s)(\\s+((\\[).+(])))?(.*)$",
|
2580
|
-
"captures": {
|
2581
|
-
"1": {
|
2582
|
-
"name": "comment.line.keyword.punctuation.yard.ruby"
|
2583
|
-
},
|
2584
|
-
"2": {
|
2585
|
-
"name": "comment.line.keyword.yard.ruby"
|
2586
|
-
},
|
2587
|
-
"3": {
|
2588
|
-
"name": "comment.line.yard.ruby"
|
2589
|
-
},
|
2590
|
-
"4": {
|
2591
|
-
"name": "comment.line.type.yard.ruby"
|
2592
|
-
},
|
2593
|
-
"5": {
|
2594
|
-
"name": "comment.line.punctuation.yard.ruby"
|
2595
|
-
},
|
2596
|
-
"6": {
|
2597
|
-
"name": "comment.line.punctuation.yard.ruby"
|
2598
|
-
},
|
2599
|
-
"7": {
|
2600
|
-
"name": "comment.line.string.yard.ruby"
|
2601
|
-
}
|
2602
|
-
}
|
2603
|
-
}
|
2604
|
-
}
|
2605
|
-
}
|
1
|
+
{"name":"Ruby","scopeName":"source.ruby","patterns":[{"name":"meta.class.ruby","begin":"\\bclass\\b","end":"\\s*$|(?![\\s\\w.:\u003c])","patterns":[{"name":"entity.name.type.class.ruby","match":"[A-Z]\\w*"},{"include":"#separators"},{"contentName":"variable.other.object.ruby","begin":"(\u003c\u003c)\\s*","end":"(?=$)|(?![\\s\\w.:])","patterns":[{"name":"entity.name.type.class.ruby","match":"[A-Z]\\w*"},{"include":"#separators"}],"beginCaptures":{"1":{"name":"punctuation.definition.variable.ruby"}}},{"contentName":"entity.other.inherited-class.ruby","begin":"(\u003c)\\s*","end":"(?=$)|(?![\\s\\w.:])","patterns":[{"name":"entity.name.type.class.ruby","match":"[A-Z]\\w*"},{"include":"#separators"}],"beginCaptures":{"1":{"name":"punctuation.separator.inheritance.ruby"}}}],"beginCaptures":{"0":{"name":"keyword.control.class.ruby"}}},{"name":"meta.module.ruby","begin":"\\bmodule\\b","end":"\\s*$|(?![\\s\\w.:])","patterns":[{"name":"entity.other.inherited-class.module.ruby","match":"[A-Z]\\w*(?=::)"},{"name":"entity.name.type.module.ruby","match":"[A-Z]\\w*"},{"include":"#separators"}],"beginCaptures":{"0":{"name":"keyword.control.module.ruby"}}},{"name":"invalid.deprecated.ruby","match":"(?\u003c!\\.)\\belse(\\s)+if\\b"},{"name":"constant.other.symbol.hashkey.ruby","match":"(?\u003e[a-zA-Z_]\\w*(?\u003e[?!])?)(:)(?!:)","captures":{"1":{"name":"punctuation.definition.constant.hashkey.ruby"}}},{"name":"constant.other.symbol.hashkey.ruby","match":"(?\u003c!:)(:)(?\u003e[a-zA-Z_]\\w*(?\u003e[?!])?)(?=\\s*=\u003e)","captures":{"1":{"name":"punctuation.definition.constant.ruby"}}},{"name":"keyword.control.ruby","match":"(?\u003c!\\.)\\b(BEGIN|begin|case|class|else|elsif|END|end|ensure|for|if|in|module|rescue|then|unless|until|when|while)\\b(?![?!])"},{"name":"keyword.control.start-block.ruby","match":"(?\u003c!\\.)\\bdo\\b"},{"name":"meta.syntax.ruby.start-block","match":"(?\u003c={)(\\s+)"},{"name":"keyword.control.pseudo-method.ruby","match":"(?\u003c!\\.)\\b(alias|alias_method|break|next|redo|retry|return|super|undef|yield)\\b(?![?!])|\\bdefined\\?|\\b(block_given|iterator)\\?"},{"name":"constant.language.nil.ruby","match":"\\bnil\\b(?![?!])"},{"name":"constant.language.boolean.ruby","match":"\\b(true|false)\\b(?![?!])"},{"name":"variable.language.ruby","match":"\\b(__(FILE|LINE)__)\\b(?![?!])"},{"name":"variable.language.self.ruby","match":"\\bself\\b(?![?!])"},{"name":"keyword.other.special-method.ruby","match":"\\b(initialize|new|loop|include|extend|prepend|raise|fail|attr_reader|attr_writer|attr_accessor|attr|catch|throw|private|private_class_method|module_function|public|public_class_method|protected|refine|using)\\b(?![?!])"},{"name":"meta.require.ruby","begin":"\\b(?\u003c!\\.|::)(require|require_relative)\\b(?![?!])","end":"$|(?=#|})","patterns":[{"include":"$self"}],"captures":{"1":{"name":"keyword.other.special-method.ruby"}}},{"name":"variable.other.readwrite.instance.ruby","match":"(@)[a-zA-Z_]\\w*","captures":{"1":{"name":"punctuation.definition.variable.ruby"}}},{"name":"variable.other.readwrite.class.ruby","match":"(@@)[a-zA-Z_]\\w*","captures":{"1":{"name":"punctuation.definition.variable.ruby"}}},{"name":"variable.other.readwrite.global.ruby","match":"(\\$)[a-zA-Z_]\\w*","captures":{"1":{"name":"punctuation.definition.variable.ruby"}}},{"name":"variable.other.readwrite.global.pre-defined.ruby","match":"(\\$)(!|@|\u0026|`|'|\\+|\\d+|~|=|/|\\\\|,|;|\\.|\u003c|\u003e|_|\\*|\\$|\\?|:|\"|-[0adFiIlpv])","captures":{"1":{"name":"punctuation.definition.variable.ruby"}}},{"name":"meta.environment-variable.ruby","begin":"\\b(ENV)\\[","end":"]","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"variable.other.constant.ruby"}}},{"name":"support.class.ruby","match":"\\b[A-Z]\\w*(?=((\\.|::)[A-Za-z]|\\[))"},{"name":"support.function.kernel.ruby","match":"\\b((abort|at_exit|autoload|binding|callcc|caller|caller_locations|chomp|chop|eval|exec|exit|fork|format|gets|global_variables|gsub|lambda|load|local_variables|open|p|print|printf|proc|putc|puts|rand|readline|readlines|select|set_trace_func|sleep|spawn|sprintf|srand|sub|syscall|system|test|trace_var|trap|untrace_var|warn)\\b(?![?!])|autoload\\?|exit!)"},{"name":"variable.other.constant.ruby","match":"\\b[_A-Z]\\w*\\b"},{"name":"meta.function.method.with-arguments.ruby","begin":"(?x)\n(?=def\\b) # optimization to help Oniguruma fail fast\n(?\u003c=^|\\s)(def)\\s+\n(\n (?:(self)(\\.|::))?\n (?\u003e[a-zA-Z_]\\w*(?\u003e(\\.|::)))* # method prefix\n (?\u003e # method name\n [a-zA-Z_]\\w*(?\u003e[?!]|=(?!\u003e))?\n |\n ===?|!=|\u003e[\u003e=]?|\u003c=\u003e|\u003c[\u003c=]?|[%\u0026`/\\|]|\\*\\*?|=?~|[-+]@?|\\[]=?\n )\n)\n\\s*(\\()","end":"\\)","patterns":[{"begin":"(?![\\s,)])","end":"(?=,|\\)\\s*$)","patterns":[{"match":"\\G([\u0026*]?)(?:([_a-zA-Z]\\w*(:))|([_a-zA-Z]\\w*))","captures":{"1":{"name":"storage.type.variable.ruby"},"2":{"name":"constant.other.symbol.hashkey.parameter.function.ruby"},"3":{"name":"punctuation.definition.constant.hashkey.ruby"},"4":{"name":"variable.parameter.function.ruby"}}},{"include":"$self"}]},{"name":"punctuation.separator.delimiter.ruby","match":","}],"beginCaptures":{"1":{"name":"keyword.control.def.ruby"},"2":{"name":"entity.name.function.ruby"},"3":{"name":"variable.language.self.ruby"},"4":{"name":"punctuation.separator.method.ruby"},"5":{"name":"punctuation.separator.method.ruby"},"6":{"name":"punctuation.definition.parameters.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.parameters.ruby"}}},{"name":"meta.function.method.with-arguments.ruby","begin":"(?x)\n(?=def\\b) # optimization to help Oniguruma fail fast\n(?\u003c=^|\\s)(def)\\s+\n(\n (?:(self)(\\.|::))?\n (?\u003e[a-zA-Z_]\\w*(?\u003e(\\.|::)))* # method prefix\n (?\u003e # method name\n [a-zA-Z_]\\w*(?\u003e[?!]|=(?!\u003e))?\n |\n ===?|!=|\u003e[\u003e=]?|\u003c=\u003e|\u003c[\u003c=]?|[%\u0026`/\\|]|\\*\\*?|=?~|[-+]@?|\\[]=?\n )\n)\n[ \\t]\n(?=[ \\t]*[^\\s#;]) # make sure the following is not comment","end":"$","patterns":[{"begin":"(?![\\s,])","end":"(?=,|$)","patterns":[{"match":"\\G([\u0026*]?)(?:([_a-zA-Z]\\w*(:))|([_a-zA-Z]\\w*))","captures":{"1":{"name":"storage.type.variable.ruby"},"2":{"name":"constant.other.symbol.hashkey.parameter.function.ruby"},"3":{"name":"punctuation.definition.constant.hashkey.ruby"},"4":{"name":"variable.parameter.function.ruby"}}},{"include":"$self"}]},{"name":"punctuation.separator.delimiter.ruby","match":","}],"beginCaptures":{"1":{"name":"keyword.control.def.ruby"},"2":{"name":"entity.name.function.ruby"},"3":{"name":"variable.language.self.ruby"},"4":{"name":"punctuation.separator.method.ruby"},"5":{"name":"punctuation.separator.method.ruby"}}},{"name":"meta.function.method.without-arguments.ruby","match":"(?x)\n(?=def\\b) # optimization to help Oniguruma fail fast\n(?\u003c=^|\\s)(def)\\b\n(\n \\s+\n (\n (?:(self)(\\.|::))?\n (?\u003e[a-zA-Z_]\\w*(?\u003e(\\.|::)))* # method prefix\n (?\u003e # method name\n [a-zA-Z_]\\w*(?\u003e[?!]|=(?!\u003e))?\n |\n ===?|!=|\u003e[\u003e=]?|\u003c=\u003e|\u003c[\u003c=]?|[%\u0026`/\\|]|\\*\\*?|=?~|[-+]@?|\\[]=?\n )\n )\n)?","captures":{"1":{"name":"keyword.control.def.ruby"},"3":{"name":"entity.name.function.ruby"},"4":{"name":"variable.language.self.ruby"},"5":{"name":"punctuation.separator.method.ruby"},"6":{"name":"punctuation.separator.method.ruby"}}},{"name":"constant.numeric.ruby","match":"(?x)\n\\b\n(\n [\\d](?\u003e_?\\d)* # 100_000\n (\\.(?![^[:space:][:digit:]])(?\u003e_?\\d)*)? # fractional part\n ([eE][-+]?\\d(?\u003e_?\\d)*)? # 1.23e-4\n |\n 0\n (?:\n [xX][[:xdigit:]](?\u003e_?[[:xdigit:]])*|\n [oO]?[0-7](?\u003e_?[0-7])*|\n [bB][01](?\u003e_?[01])*|\n [dD]\\d(?\u003e_?\\d)*\n ) # A base indicator can only be used with an integer\n)\\b"},{"name":"constant.other.symbol.ruby","begin":":'","end":"'","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\['\\\\]"}],"beginCaptures":{"0":{"name":"punctuation.definition.symbol.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.symbol.end.ruby"}}},{"name":"constant.other.symbol.interpolated.ruby","begin":":\"","end":"\"","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.section.symbol.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.symbol.end.ruby"}}},{"name":"keyword.operator.assignment.augmented.ruby","match":"(?\u003c!\\()/="},{"name":"string.quoted.single.ruby","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\'|\\\\\\\\"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"name":"string.quoted.double.interpolated.ruby","begin":"\"","end":"\"","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"name":"string.interpolated.ruby","begin":"`","end":"`","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"contentName":"string.regexp.interpolated.ruby","begin":"(?x)\n(?\u003c![\\w)])((/))(?![?*+])\n(?=\n (?:\\\\/|[^/])*+ # Do NOT change the order\n /[eimnosux]*\\s*\n (?:\n [)\\]}#.,?:]|\\|\\||\u0026\u0026|\u003c=\u003e|=\u003e|==|=~|!~|!=|;|$|\n if|else|elsif|then|do|end|unless|while|until|or|and\n )\n |\n $\n)","end":"((/[eimnosux]*))","patterns":[{"include":"#regex_sub"}],"captures":{"1":{"name":"string.regexp.interpolated.ruby"},"2":{"name":"punctuation.section.regexp.ruby"}}},{"name":"string.regexp.interpolated.ruby","begin":"%r{","end":"}[eimnosux]*","patterns":[{"include":"#regex_sub"},{"include":"#nest_curly_r"}],"beginCaptures":{"0":{"name":"punctuation.section.regexp.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.regexp.end.ruby"}}},{"name":"string.regexp.interpolated.ruby","begin":"%r\\[","end":"][eimnosux]*","patterns":[{"include":"#regex_sub"},{"include":"#nest_brackets_r"}],"beginCaptures":{"0":{"name":"punctuation.section.regexp.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.regexp.end.ruby"}}},{"name":"string.regexp.interpolated.ruby","begin":"%r\\(","end":"\\)[eimnosux]*","patterns":[{"include":"#regex_sub"},{"include":"#nest_parens_r"}],"beginCaptures":{"0":{"name":"punctuation.section.regexp.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.regexp.end.ruby"}}},{"name":"string.regexp.interpolated.ruby","begin":"%r\u003c","end":"\u003e[eimnosux]*","patterns":[{"include":"#regex_sub"},{"include":"#nest_ltgt_r"}],"beginCaptures":{"0":{"name":"punctuation.section.regexp.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.regexp.end.ruby"}}},{"name":"string.regexp.interpolated.ruby","begin":"%r([^\\w])","end":"\\1[eimnosux]*","patterns":[{"include":"#regex_sub"}],"beginCaptures":{"0":{"name":"punctuation.section.regexp.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.regexp.end.ruby"}}},{"name":"constant.other.symbol.interpolated.ruby","begin":"%I\\[","end":"]","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"include":"#nest_brackets_i"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"constant.other.symbol.interpolated.ruby","begin":"%I\\(","end":"\\)","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"include":"#nest_parens_i"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"constant.other.symbol.interpolated.ruby","begin":"%I\u003c","end":"\u003e","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"include":"#nest_ltgt_i"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"constant.other.symbol.interpolated.ruby","begin":"%I{","end":"}","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"include":"#nest_curly_i"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"constant.other.symbol.interpolated.ruby","begin":"%I([^\\w])","end":"\\1","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"constant.other.symbol.ruby","begin":"%i\\[","end":"]","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\]|\\\\\\\\"},{"include":"#nest_brackets"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"constant.other.symbol.ruby","begin":"%i\\(","end":"\\)","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\\\)|\\\\\\\\"},{"include":"#nest_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"constant.other.symbol.ruby","begin":"%i\u003c","end":"\u003e","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\\u003e|\\\\\\\\"},{"include":"#nest_ltgt"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"constant.other.symbol.ruby","begin":"%i{","end":"}","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\}|\\\\\\\\"},{"include":"#nest_curly"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"constant.other.symbol.ruby","begin":"%i([^\\w])","end":"\\1","patterns":[{"match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"string.quoted.other.interpolated.ruby","begin":"%W\\[","end":"]","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"include":"#nest_brackets_i"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"string.quoted.other.interpolated.ruby","begin":"%W\\(","end":"\\)","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"include":"#nest_parens_i"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"string.quoted.other.interpolated.ruby","begin":"%W\u003c","end":"\u003e","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"include":"#nest_ltgt_i"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"string.quoted.other.interpolated.ruby","begin":"%W{","end":"}","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"include":"#nest_curly_i"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"string.quoted.other.interpolated.ruby","begin":"%W([^\\w])","end":"\\1","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"string.quoted.other.ruby","begin":"%w\\[","end":"]","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\]|\\\\\\\\"},{"include":"#nest_brackets"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"string.quoted.other.ruby","begin":"%w\\(","end":"\\)","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\\\)|\\\\\\\\"},{"include":"#nest_parens"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"string.quoted.other.ruby","begin":"%w\u003c","end":"\u003e","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\\u003e|\\\\\\\\"},{"include":"#nest_ltgt"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"string.quoted.other.ruby","begin":"%w{","end":"}","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\}|\\\\\\\\"},{"include":"#nest_curly"}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"string.quoted.other.ruby","begin":"%w([^\\w])","end":"\\1","patterns":[{"match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.section.array.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.array.end.ruby"}}},{"name":"string.quoted.other.interpolated.ruby","begin":"%[Qx]?\\(","end":"\\)","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"include":"#nest_parens_i"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"name":"string.quoted.other.interpolated.ruby","begin":"%[Qx]?\\[","end":"]","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"include":"#nest_brackets_i"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"name":"string.quoted.other.interpolated.ruby","begin":"%[Qx]?{","end":"}","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"include":"#nest_curly_i"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"name":"string.quoted.other.interpolated.ruby","begin":"%[Qx]?\u003c","end":"\u003e","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"include":"#nest_ltgt_i"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"name":"string.quoted.other.interpolated.ruby","begin":"%[Qx]([^\\w])","end":"\\1","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"name":"string.quoted.other.interpolated.ruby","begin":"%([^\\w\\s=])","end":"\\1","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"name":"string.quoted.other.ruby","begin":"%q\\(","end":"\\)","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\\\)|\\\\\\\\"},{"include":"#nest_parens"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"name":"string.quoted.other.ruby","begin":"%q\u003c","end":"\u003e","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\\u003e|\\\\\\\\"},{"include":"#nest_ltgt"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"name":"string.quoted.other.ruby","begin":"%q\\[","end":"]","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\]|\\\\\\\\"},{"include":"#nest_brackets"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"name":"string.quoted.other.ruby","begin":"%q{","end":"}","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\}|\\\\\\\\"},{"include":"#nest_curly"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"name":"string.quoted.other.ruby","begin":"%q([^\\w])","end":"\\1","patterns":[{"match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"name":"constant.other.symbol.ruby","begin":"%s\\(","end":"\\)","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\\\)|\\\\\\\\"},{"include":"#nest_parens"}],"beginCaptures":{"0":{"name":"punctuation.definition.symbol.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.symbol.end.ruby"}}},{"name":"constant.other.symbol.ruby","begin":"%s\u003c","end":"\u003e","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\\u003e|\\\\\\\\"},{"include":"#nest_ltgt"}],"beginCaptures":{"0":{"name":"punctuation.definition.symbol.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.symbol.end.ruby"}}},{"name":"constant.other.symbol.ruby","begin":"%s\\[","end":"]","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\]|\\\\\\\\"},{"include":"#nest_brackets"}],"beginCaptures":{"0":{"name":"punctuation.definition.symbol.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.symbol.end.ruby"}}},{"name":"constant.other.symbol.ruby","begin":"%s{","end":"}","patterns":[{"name":"constant.character.escape.ruby","match":"\\\\}|\\\\\\\\"},{"include":"#nest_curly"}],"beginCaptures":{"0":{"name":"punctuation.definition.symbol.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.symbol.end.ruby"}}},{"name":"constant.other.symbol.ruby","begin":"%s([^\\w])","end":"\\1","patterns":[{"match":"\\\\."}],"beginCaptures":{"0":{"name":"punctuation.definition.symbol.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.symbol.end.ruby"}}},{"name":"constant.other.symbol.ruby","match":"(?x)\n(?\u003c!:)(:)\n(?\u003e\n [$a-zA-Z_]\\w*(?\u003e[?!]|=(?![\u003e=]))?\n |\n ===?|\u003c=\u003e|\u003e[\u003e=]?|\u003c[\u003c=]?|[%\u0026`/\\|]|\\*\\*?|=?~|[-+]@?|\\[]=?\n |\n @@?[a-zA-Z_]\\w*\n)","captures":{"1":{"name":"punctuation.definition.constant.ruby"}}},{"name":"comment.block.documentation.ruby","begin":"^=begin","end":"^=end","captures":{"0":{"name":"punctuation.definition.comment.ruby"}}},{"include":"#yard"},{"begin":"(^[ \\t]+)?(?=#)","end":"(?!\\G)","patterns":[{"name":"comment.line.number-sign.ruby","begin":"#","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.ruby"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.ruby"}}},{"name":"constant.numeric.ruby","match":"(?\u003c!\\w)\\?(\\\\(x[[:xdigit:]]{1,2}(?![[:xdigit:]])\\b|0[0-7]{0,2}(?![0-7])\\b|[^x0MC])|(\\\\[MC]-)+\\w|[^\\s\\\\])"},{"contentName":"text.plain","begin":"^__END__\\n","end":"(?=not)impossible","patterns":[{"name":"text.html.embedded.ruby","begin":"(?=\u003c?xml|\u003c(?i:html\\b)|!DOCTYPE (?i:html\\b))","end":"(?=not)impossible","patterns":[{"include":"text.html.basic"}]}],"captures":{"0":{"name":"string.unquoted.program-block.ruby"}}},{"name":"meta.embedded.block.html","begin":"(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)HTML)\\b\\1))","end":"(?!\\G)","patterns":[{"name":"string.unquoted.heredoc.ruby","contentName":"text.html","begin":"(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)HTML)\\b\\1)","end":"^\\s*\\2$\\n?","patterns":[{"include":"#heredoc"},{"include":"#interpolated_ruby"},{"include":"text.html.basic"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}}]},{"name":"meta.embedded.block.xml","begin":"(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)XML)\\b\\1))","end":"(?!\\G)","patterns":[{"name":"string.unquoted.heredoc.ruby","contentName":"text.xml","begin":"(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)XML)\\b\\1)","end":"^\\s*\\2$\\n?","patterns":[{"include":"#heredoc"},{"include":"#interpolated_ruby"},{"include":"text.xml"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}}]},{"name":"meta.embedded.block.sql","begin":"(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)SQL)\\b\\1))","end":"(?!\\G)","patterns":[{"name":"string.unquoted.heredoc.ruby","contentName":"source.sql","begin":"(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)SQL)\\b\\1)","end":"^\\s*\\2$\\n?","patterns":[{"include":"#heredoc"},{"include":"#interpolated_ruby"},{"include":"source.sql"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}}]},{"name":"meta.embedded.block.graphql","begin":"(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)GRAPHQL)\\b\\1))","end":"(?!\\G)","patterns":[{"name":"string.unquoted.heredoc.ruby","contentName":"source.graphql","begin":"(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)GRAPHQL)\\b\\1)","end":"^\\s*\\2$\\n?","patterns":[{"include":"#heredoc"},{"include":"#interpolated_ruby"},{"include":"source.graphql"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}}]},{"name":"meta.embedded.block.css","begin":"(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)CSS)\\b\\1))","end":"(?!\\G)","patterns":[{"name":"string.unquoted.heredoc.ruby","contentName":"source.css","begin":"(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)CSS)\\b\\1)","end":"^\\s*\\2$\\n?","patterns":[{"include":"#heredoc"},{"include":"#interpolated_ruby"},{"include":"source.css"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}}]},{"name":"meta.embedded.block.cpp","begin":"(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)CPP)\\b\\1))","end":"(?!\\G)","patterns":[{"name":"string.unquoted.heredoc.ruby","contentName":"source.cpp","begin":"(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)CPP)\\b\\1)","end":"^\\s*\\2$\\n?","patterns":[{"include":"#heredoc"},{"include":"#interpolated_ruby"},{"include":"source.c++"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}}]},{"name":"meta.embedded.block.c","begin":"(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)C)\\b\\1))","end":"(?!\\G)","patterns":[{"name":"string.unquoted.heredoc.ruby","contentName":"source.c","begin":"(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)C)\\b\\1)","end":"^\\s*\\2$\\n?","patterns":[{"include":"#heredoc"},{"include":"#interpolated_ruby"},{"include":"source.c"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}}]},{"name":"meta.embedded.block.js","begin":"(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)(?:JS|JAVASCRIPT))\\b\\1))","end":"(?!\\G)","patterns":[{"name":"string.unquoted.heredoc.ruby","contentName":"source.js","begin":"(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)(?:JS|JAVASCRIPT))\\b\\1)","end":"^\\s*\\2$\\n?","patterns":[{"include":"#heredoc"},{"include":"#interpolated_ruby"},{"include":"source.js"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}}]},{"name":"meta.embedded.block.js.jquery","begin":"(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)JQUERY)\\b\\1))","end":"(?!\\G)","patterns":[{"name":"string.unquoted.heredoc.ruby","contentName":"source.js.jquery","begin":"(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)JQUERY)\\b\\1)","end":"^\\s*\\2$\\n?","patterns":[{"include":"#heredoc"},{"include":"#interpolated_ruby"},{},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}}]},{"name":"meta.embedded.block.shell","begin":"(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)(?:SH|SHELL))\\b\\1))","end":"(?!\\G)","patterns":[{"name":"string.unquoted.heredoc.ruby","contentName":"source.shell","begin":"(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)(?:SH|SHELL))\\b\\1)","end":"^\\s*\\2$\\n?","patterns":[{"include":"#heredoc"},{"include":"#interpolated_ruby"},{"include":"source.shell"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}}]},{"name":"meta.embedded.block.lua","begin":"(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)LUA)\\b\\1))","end":"(?!\\G)","patterns":[{"name":"string.unquoted.heredoc.ruby","contentName":"source.lua","begin":"(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)LUA)\\b\\1)","end":"^\\s*\\2$\\n?","patterns":[{"include":"#heredoc"},{"include":"#interpolated_ruby"},{"include":"source.lua"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}}]},{"name":"meta.embedded.block.ruby","begin":"(?=(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)RUBY)\\b\\1))","end":"(?!\\G)","patterns":[{"name":"string.unquoted.heredoc.ruby","contentName":"source.ruby","begin":"(?\u003e\u003c\u003c[-~]([\"'`]?)((?:[_\\w]+_|)RUBY)\\b\\1)","end":"^\\s*\\2$\\n?","patterns":[{"include":"#heredoc"},{"include":"#interpolated_ruby"},{"include":"source.ruby"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}}]},{"name":"string.unquoted.heredoc.ruby","begin":"(?\u003e=\\s*\u003c\u003c([\"'`]?)(\\w+)\\1)","end":"^\\2$","patterns":[{"include":"#heredoc"},{"include":"#interpolated_ruby"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"name":"string.unquoted.heredoc.ruby","begin":"(?\u003e((\u003c\u003c[-~]([\"'`]?)(\\w+)\\3,\\s?)*\u003c\u003c[-~]([\"'`]?)(\\w+)\\5))","end":"^\\s*\\6$","patterns":[{"include":"#heredoc"},{"include":"#interpolated_ruby"},{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.ruby"}}},{"begin":"(?\u003c={|{\\s|[^A-Za-z0-9_]do|^do|[^A-Za-z0-9_]do\\s|^do\\s)(\\|)","end":"(?\u003c!\\|)(\\|)(?!\\|)","patterns":[{"include":"source.ruby"},{"name":"variable.other.block.ruby","match":"[_a-zA-Z][_a-zA-Z0-9]*"},{"name":"punctuation.separator.variable.ruby","match":","}],"captures":{"1":{"name":"punctuation.separator.variable.ruby"}}},{"include":"#separators"},{"name":"support.function.kernel.arrow.ruby","match":"-\u003e"},{"name":"keyword.operator.assignment.augmented.ruby","match":"\u003c\u003c=|%=|\u0026{1,2}=|\\*=|\\*\\*=|\\+=|-=|\\^=|\\|{1,2}=|\u003c\u003c"},{"name":"keyword.operator.comparison.ruby","match":"\u003c=\u003e|\u003c(?!\u003c|=)|\u003e(?!\u003c|=|\u003e)|\u003c=|\u003e=|===|==|=~|!=|!~|(?\u003c=[ \\t])\\?"},{"name":"keyword.operator.logical.ruby","match":"(?\u003c!\\.)\\b(and|not|or)\\b(?![?!])"},{"name":"keyword.operator.logical.ruby","match":"(?\u003c=^|[ \\t])!|\u0026\u0026|\\|\\||\\^"},{"name":"keyword.operator.arithmetic.ruby","match":"(%|\u0026|\\*\\*|\\*|\\+|-|/)"},{"name":"keyword.operator.assignment.ruby","match":"="},{"name":"keyword.operator.other.ruby","match":"\\||~|\u003e\u003e"},{"name":"punctuation.section.scope.begin.ruby","match":"{"},{"name":"punctuation.section.scope.end.ruby","match":"}"},{"name":"punctuation.section.array.begin.ruby","match":"\\["},{"name":"punctuation.section.array.end.ruby","match":"]"},{"name":"punctuation.section.function.ruby","match":"\\(|\\)"}],"repository":{"escaped_char":{"name":"constant.character.escape.ruby","match":"\\\\(?:[0-7]{1,3}|x[\\da-fA-F]{1,2}|.)"},"heredoc":{"begin":"^\u003c\u003c[-~]?\\w+","end":"$","patterns":[{"include":"$self"}]},"interpolated_ruby":{"patterns":[{"name":"meta.embedded.line.ruby","contentName":"source.ruby","begin":"#{","end":"}","patterns":[{"include":"#nest_curly_and_self"},{"include":"$self"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.ruby"}}},{"name":"variable.other.readwrite.instance.ruby","match":"(#@)[a-zA-Z_]\\w*","captures":{"1":{"name":"punctuation.definition.variable.ruby"}}},{"name":"variable.other.readwrite.class.ruby","match":"(#@@)[a-zA-Z_]\\w*","captures":{"1":{"name":"punctuation.definition.variable.ruby"}}},{"name":"variable.other.readwrite.global.ruby","match":"(#\\$)[a-zA-Z_]\\w*","captures":{"1":{"name":"punctuation.definition.variable.ruby"}}}]},"nest_brackets":{"begin":"\\[","end":"]","patterns":[{"include":"#nest_brackets"}],"captures":{"0":{"name":"punctuation.section.scope.ruby"}}},"nest_brackets_i":{"begin":"\\[","end":"]","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"include":"#nest_brackets_i"}],"captures":{"0":{"name":"punctuation.section.scope.ruby"}}},"nest_brackets_r":{"begin":"\\[","end":"]","patterns":[{"include":"#regex_sub"},{"include":"#nest_brackets_r"}],"captures":{"0":{"name":"punctuation.section.scope.ruby"}}},"nest_curly":{"begin":"{","end":"}","patterns":[{"include":"#nest_curly"}],"captures":{"0":{"name":"punctuation.section.scope.ruby"}}},"nest_curly_and_self":{"patterns":[{"begin":"{","end":"}","patterns":[{"include":"#nest_curly_and_self"}],"captures":{"0":{"name":"punctuation.section.scope.ruby"}}},{"include":"$self"}]},"nest_curly_i":{"begin":"{","end":"}","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"include":"#nest_curly_i"}],"captures":{"0":{"name":"punctuation.section.scope.ruby"}}},"nest_curly_r":{"begin":"{","end":"}","patterns":[{"include":"#regex_sub"},{"include":"#nest_curly_r"}],"captures":{"0":{"name":"punctuation.section.scope.ruby"}}},"nest_ltgt":{"begin":"\u003c","end":"\u003e","patterns":[{"include":"#nest_ltgt"}],"captures":{"0":{"name":"punctuation.section.scope.ruby"}}},"nest_ltgt_i":{"begin":"\u003c","end":"\u003e","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"include":"#nest_ltgt_i"}],"captures":{"0":{"name":"punctuation.section.scope.ruby"}}},"nest_ltgt_r":{"begin":"\u003c","end":"\u003e","patterns":[{"include":"#regex_sub"},{"include":"#nest_ltgt_r"}],"captures":{"0":{"name":"punctuation.section.scope.ruby"}}},"nest_parens":{"begin":"\\(","end":"\\)","patterns":[{"include":"#nest_parens"}],"captures":{"0":{"name":"punctuation.section.scope.ruby"}}},"nest_parens_i":{"begin":"\\(","end":"\\)","patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"include":"#nest_parens_i"}],"captures":{"0":{"name":"punctuation.section.scope.ruby"}}},"nest_parens_r":{"begin":"\\(","end":"\\)","patterns":[{"include":"#regex_sub"},{"include":"#nest_parens_r"}],"captures":{"0":{"name":"punctuation.section.scope.ruby"}}},"regex_sub":{"patterns":[{"include":"#interpolated_ruby"},{"include":"#escaped_char"},{"name":"string.regexp.arbitrary-repetition.ruby","match":"({)\\d+(,\\d+)?(})","captures":{"1":{"name":"punctuation.definition.arbitrary-repetition.ruby"},"3":{"name":"punctuation.definition.arbitrary-repetition.ruby"}}},{"name":"string.regexp.character-class.ruby","begin":"\\[(?:\\^?])?","end":"]","patterns":[{"include":"#escaped_char"}],"captures":{"0":{"name":"punctuation.definition.character-class.ruby"}}},{"name":"comment.line.number-sign.ruby","begin":"\\(\\?#","end":"\\)","patterns":[{"include":"#escaped_char"}],"beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.end.ruby"}}},{"name":"string.regexp.group.ruby","begin":"\\(","end":"\\)","patterns":[{"include":"#regex_sub"}],"captures":{"0":{"name":"punctuation.definition.group.ruby"}}},{"name":"comment.line.number-sign.ruby","begin":"(?\u003c=^|\\s)(#)\\s(?=[[a-zA-Z0-9,. \\t?!-][^\\x{00}-\\x{7F}]]*$)","end":"$\\n?","beginCaptures":{"1":{"name":"punctuation.definition.comment.ruby"}},"endCaptures":{"0":{"name":"punctuation.definition.comment.ruby"}}}]},"separators":{"patterns":[{"name":"punctuation.separator.key-value.ruby","match":"=\u003e"},{"name":"punctuation.terminator.statement.ruby","match":";"},{"name":"punctuation.separator.delimiter.ruby","match":","},{"match":"(::)(?=\\s*[A-Z])","captures":{"1":{"name":"punctuation.separator.namespace.ruby"}}},{"name":"punctuation.separator.method.ruby","match":"\u0026?\\.|::"},{"name":"punctuation.separator.other.ruby","match":":"}]},"yard":{"patterns":[{"include":"#yard_comment"},{"include":"#yard_name_types"},{"include":"#yard_tag"},{"include":"#yard_types"},{"include":"#yard_directive"}]},"yard_comment":{"name":"comment.line.number-sign.ruby","contentName":"comment.line.string.yard.ruby","begin":"^(\\s*)(#)(\\s*)(@)(abstract|api|author|deprecated|example|macro|note|overload|since|todo|version)(?=\\s|$)","end":"^(?!\\s*#\\3\\s{2,})","patterns":[{"include":"#yard"},{"include":"#yard_continuation"}],"beginCaptures":{"1":{},"2":{"name":"punctuation.definition.comment.ruby"},"3":{},"4":{"name":"comment.line.keyword.punctuation.yard.ruby"},"5":{"name":"comment.line.keyword.yard.ruby"}}},"yard_continuation":{"name":"punctuation.definition.comment.ruby","match":"^\\s*#"},"yard_directive":{"name":"comment.line.number-sign.ruby","contentName":"comment.line.string.yard.ruby","begin":"^(\\s*)(#)(\\s*)(@!)(attribute|endgroup|group|macro|method|parse|scope|visibility)(\\s+((\\[).+(])))?(?=\\s)","end":"^(?!\\s*#\\3\\s{2,})","patterns":[{"include":"#yard"},{"include":"#yard_continuation"}],"beginCaptures":{"1":{},"2":{"name":"punctuation.definition.comment.ruby"},"3":{},"4":{"name":"comment.line.keyword.punctuation.yard.ruby"},"5":{"name":"comment.line.keyword.yard.ruby"},"6":{"name":"comment.line.yard.ruby"},"7":{"name":"comment.line.type.yard.ruby"},"8":{"name":"comment.line.punctuation.yard.ruby"},"9":{"name":"comment.line.punctuation.yard.ruby"}}},"yard_name_types":{"name":"comment.line.number-sign.ruby","contentName":"comment.line.string.yard.ruby","begin":"^(\\s*)(#)(\\s*)(@)(attr|attr_reader|attr_writer|option|param|see|yieldparam)(?=\\s)(\\s+([a-z_][a-zA-Z_]*))?(\\s+((\\[).+(])))?","end":"^(?!\\s*#\\3\\s{2,})","patterns":[{"include":"#yard"},{"include":"#yard_continuation"}],"beginCaptures":{"1":{},"10":{"name":"comment.line.punctuation.yard.ruby"},"11":{"name":"comment.line.punctuation.yard.ruby"},"2":{"name":"punctuation.definition.comment.ruby"},"3":{},"4":{"name":"comment.line.keyword.punctuation.yard.ruby"},"5":{"name":"comment.line.keyword.yard.ruby"},"6":{"name":"comment.line.yard.ruby"},"7":{"name":"comment.line.parameter.yard.ruby"},"8":{"name":"comment.line.yard.ruby"},"9":{"name":"comment.line.type.yard.ruby"}}},"yard_tag":{"name":"comment.line.number-sign.ruby","match":"^(\\s*)(#)(\\s*)(@)(private)$","captures":{"1":{},"2":{"name":"punctuation.definition.comment.ruby"},"3":{},"4":{"name":"comment.line.keyword.punctuation.yard.ruby"},"5":{"name":"comment.line.keyword.yard.ruby"}}},"yard_types":{"name":"comment.line.number-sign.ruby","contentName":"comment.line.string.yard.ruby","begin":"^(\\s*)(#)(\\s*)(@)(raise|return|yield(?:return)?)(?=\\s)(\\s+((\\[).+(])))?","end":"^(?!\\s*#\\3\\s{2,})","patterns":[{"include":"#yard"},{"include":"#yard_continuation"}],"beginCaptures":{"1":{},"2":{"name":"punctuation.definition.comment.ruby"},"3":{},"4":{"name":"comment.line.keyword.punctuation.yard.ruby"},"5":{"name":"comment.line.keyword.yard.ruby"},"6":{"name":"comment.line.yard.ruby"},"7":{"name":"comment.line.type.yard.ruby"},"8":{"name":"comment.line.punctuation.yard.ruby"},"9":{"name":"comment.line.punctuation.yard.ruby"}}}}}
|