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,94 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "Nextflow",
|
3
|
-
"scopeName": "source.nextflow",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"include": "#nfl-rules"
|
7
|
-
}
|
8
|
-
],
|
9
|
-
"repository": {
|
10
|
-
"code-block": {
|
11
|
-
"name": "code.block.nextflow",
|
12
|
-
"begin": "{",
|
13
|
-
"end": "}",
|
14
|
-
"patterns": [
|
15
|
-
{
|
16
|
-
"include": "#nfl-rules"
|
17
|
-
}
|
18
|
-
]
|
19
|
-
},
|
20
|
-
"nfl-rules": {
|
21
|
-
"patterns": [
|
22
|
-
{
|
23
|
-
"include": "#process-def"
|
24
|
-
},
|
25
|
-
{
|
26
|
-
"include": "#code-block"
|
27
|
-
},
|
28
|
-
{
|
29
|
-
"include": "source.nextflow-groovy"
|
30
|
-
}
|
31
|
-
]
|
32
|
-
},
|
33
|
-
"process-body": {
|
34
|
-
"name": "process.body.nextflow",
|
35
|
-
"begin": "{",
|
36
|
-
"end": "(?=})",
|
37
|
-
"patterns": [
|
38
|
-
{
|
39
|
-
"name": "process.directive.type.nextflow",
|
40
|
-
"match": "(?:accelerator|afterScript|beforeScript|cache|cpus|conda|container|containerOptions|clusterOptions|disk|echo|errorStrategy|executor|ext|label|machineType|maxErrors|maxForks|maxRetries|memory|module|penv|pod|publishDir|queue|scratch|stageInMode|stageOutMode|storeDir|tag|time|validExitStatus)\\b"
|
41
|
-
},
|
42
|
-
{
|
43
|
-
"name": "constant.block.nextflow",
|
44
|
-
"match": "(?:input|output|when|script|shell|exec):"
|
45
|
-
},
|
46
|
-
{
|
47
|
-
"include": "source.nextflow-groovy#comments"
|
48
|
-
},
|
49
|
-
{
|
50
|
-
"include": "source.nextflow-groovy#support-functions"
|
51
|
-
},
|
52
|
-
{
|
53
|
-
"include": "source.nextflow-groovy#keyword"
|
54
|
-
},
|
55
|
-
{
|
56
|
-
"include": "source.nextflow-groovy#values"
|
57
|
-
},
|
58
|
-
{
|
59
|
-
"include": "source.nextflow-groovy#anonymous-classes-and-new"
|
60
|
-
},
|
61
|
-
{
|
62
|
-
"include": "source.nextflow-groovy#types"
|
63
|
-
},
|
64
|
-
{
|
65
|
-
"include": "source.nextflow-groovy#parens"
|
66
|
-
},
|
67
|
-
{
|
68
|
-
"include": "source.nextflow-groovy#closures"
|
69
|
-
},
|
70
|
-
{
|
71
|
-
"include": "source.nextflow-groovy#braces"
|
72
|
-
}
|
73
|
-
]
|
74
|
-
},
|
75
|
-
"process-def": {
|
76
|
-
"name": "process.nextflow",
|
77
|
-
"begin": "^\\s*(process)\\s+(\\w+|\"[^\"]+\"|'[^']+')\\s*",
|
78
|
-
"end": "}",
|
79
|
-
"patterns": [
|
80
|
-
{
|
81
|
-
"include": "#process-body"
|
82
|
-
}
|
83
|
-
],
|
84
|
-
"beginCaptures": {
|
85
|
-
"1": {
|
86
|
-
"name": "keyword.nextflow"
|
87
|
-
},
|
88
|
-
"2": {
|
89
|
-
"name": "function.nextflow"
|
90
|
-
}
|
91
|
-
}
|
92
|
-
}
|
93
|
-
}
|
94
|
-
}
|
1
|
+
{"name":"Nextflow","scopeName":"source.nextflow","patterns":[{"include":"#nfl-rules"}],"repository":{"code-block":{"name":"code.block.nextflow","begin":"{","end":"}","patterns":[{"include":"#nfl-rules"}]},"nfl-rules":{"patterns":[{"include":"#process-def"},{"include":"#code-block"},{"include":"source.nextflow-groovy"}]},"process-body":{"name":"process.body.nextflow","begin":"{","end":"(?=})","patterns":[{"name":"process.directive.type.nextflow","match":"(?:accelerator|afterScript|beforeScript|cache|cpus|conda|container|containerOptions|clusterOptions|disk|echo|errorStrategy|executor|ext|label|machineType|maxErrors|maxForks|maxRetries|memory|module|penv|pod|publishDir|queue|scratch|stageInMode|stageOutMode|storeDir|tag|time|validExitStatus)\\b"},{"name":"constant.block.nextflow","match":"(?:input|output|when|script|shell|exec):"},{"include":"source.nextflow-groovy#comments"},{"include":"source.nextflow-groovy#support-functions"},{"include":"source.nextflow-groovy#keyword"},{"include":"source.nextflow-groovy#values"},{"include":"source.nextflow-groovy#anonymous-classes-and-new"},{"include":"source.nextflow-groovy#types"},{"include":"source.nextflow-groovy#parens"},{"include":"source.nextflow-groovy#closures"},{"include":"source.nextflow-groovy#braces"}]},"process-def":{"name":"process.nextflow","begin":"^\\s*(process)\\s+(\\w+|\"[^\"]+\"|'[^']+')\\s*","end":"}","patterns":[{"include":"#process-body"}],"beginCaptures":{"1":{"name":"keyword.nextflow"},"2":{"name":"function.nextflow"}}}}}
|
data/grammars/source.nginx.json
CHANGED
@@ -1,815 +1 @@
|
|
1
|
-
{
|
2
|
-
"name": "nginx",
|
3
|
-
"scopeName": "source.nginx",
|
4
|
-
"patterns": [
|
5
|
-
{
|
6
|
-
"name": "comment.line.number-sign",
|
7
|
-
"match": "\\#.*"
|
8
|
-
},
|
9
|
-
{
|
10
|
-
"name": "meta.context.events.nginx",
|
11
|
-
"begin": "\\b(events) +\\{",
|
12
|
-
"end": "\\}",
|
13
|
-
"patterns": [
|
14
|
-
{
|
15
|
-
"include": "$self"
|
16
|
-
}
|
17
|
-
],
|
18
|
-
"beginCaptures": {
|
19
|
-
"1": {
|
20
|
-
"name": "storage.type.context.nginx"
|
21
|
-
}
|
22
|
-
}
|
23
|
-
},
|
24
|
-
{
|
25
|
-
"name": "meta.context.http.nginx",
|
26
|
-
"begin": "\\b(http) +\\{",
|
27
|
-
"end": "\\}",
|
28
|
-
"patterns": [
|
29
|
-
{
|
30
|
-
"include": "$self"
|
31
|
-
}
|
32
|
-
],
|
33
|
-
"beginCaptures": {
|
34
|
-
"1": {
|
35
|
-
"name": "storage.type.context.nginx"
|
36
|
-
}
|
37
|
-
}
|
38
|
-
},
|
39
|
-
{
|
40
|
-
"name": "meta.context.types.nginx",
|
41
|
-
"begin": "\\b(types) +\\{",
|
42
|
-
"end": "\\}",
|
43
|
-
"patterns": [
|
44
|
-
{
|
45
|
-
"include": "$self"
|
46
|
-
}
|
47
|
-
],
|
48
|
-
"beginCaptures": {
|
49
|
-
"1": {
|
50
|
-
"name": "storage.type.context.nginx"
|
51
|
-
}
|
52
|
-
}
|
53
|
-
},
|
54
|
-
{
|
55
|
-
"name": "meta.context.server.nginx",
|
56
|
-
"begin": "\\b(server) +\\{",
|
57
|
-
"end": "\\}",
|
58
|
-
"patterns": [
|
59
|
-
{
|
60
|
-
"include": "$self"
|
61
|
-
}
|
62
|
-
],
|
63
|
-
"beginCaptures": {
|
64
|
-
"1": {
|
65
|
-
"name": "storage.type.context.nginx"
|
66
|
-
}
|
67
|
-
}
|
68
|
-
},
|
69
|
-
{
|
70
|
-
"name": "meta.context.location.nginx",
|
71
|
-
"begin": "\\b(location) +[\\^]?~[\\*]? +(.*?)\\{",
|
72
|
-
"end": "\\}",
|
73
|
-
"patterns": [
|
74
|
-
{
|
75
|
-
"include": "$self"
|
76
|
-
}
|
77
|
-
],
|
78
|
-
"beginCaptures": {
|
79
|
-
"1": {
|
80
|
-
"name": "storage.type.context.location.nginx"
|
81
|
-
},
|
82
|
-
"2": {
|
83
|
-
"name": "string.regexp.nginx"
|
84
|
-
}
|
85
|
-
}
|
86
|
-
},
|
87
|
-
{
|
88
|
-
"name": "meta.context.location.nginx",
|
89
|
-
"begin": "\\b(location) +(.*?)\\{",
|
90
|
-
"end": "\\}",
|
91
|
-
"patterns": [
|
92
|
-
{
|
93
|
-
"include": "$self"
|
94
|
-
}
|
95
|
-
],
|
96
|
-
"beginCaptures": {
|
97
|
-
"1": {
|
98
|
-
"name": "storage.type.context.location.nginx"
|
99
|
-
},
|
100
|
-
"2": {
|
101
|
-
"name": "entity.name.context.location.nginx"
|
102
|
-
}
|
103
|
-
}
|
104
|
-
},
|
105
|
-
{
|
106
|
-
"name": "meta.context.upstream.nginx",
|
107
|
-
"begin": "\\b(upstream) +(.*?)\\{",
|
108
|
-
"end": "\\}",
|
109
|
-
"patterns": [
|
110
|
-
{
|
111
|
-
"include": "$self"
|
112
|
-
}
|
113
|
-
],
|
114
|
-
"beginCaptures": {
|
115
|
-
"1": {
|
116
|
-
"name": "storage.type.context.nginx"
|
117
|
-
},
|
118
|
-
"2": {
|
119
|
-
"name": "entity.name.context.location.nginx"
|
120
|
-
}
|
121
|
-
}
|
122
|
-
},
|
123
|
-
{
|
124
|
-
"begin": "\\b(if) +\\(",
|
125
|
-
"end": "\\)",
|
126
|
-
"patterns": [
|
127
|
-
{
|
128
|
-
"include": "#values"
|
129
|
-
}
|
130
|
-
],
|
131
|
-
"beginCaptures": {
|
132
|
-
"1": {
|
133
|
-
"name": "keyword.control.nginx"
|
134
|
-
}
|
135
|
-
}
|
136
|
-
},
|
137
|
-
{
|
138
|
-
"name": "meta.block.nginx",
|
139
|
-
"begin": "\\{",
|
140
|
-
"end": "\\}",
|
141
|
-
"patterns": [
|
142
|
-
{
|
143
|
-
"include": "$self"
|
144
|
-
}
|
145
|
-
]
|
146
|
-
},
|
147
|
-
{
|
148
|
-
"name": "punctuation.definition.variable",
|
149
|
-
"begin": "\\b(daemon|env|debug_points|error_log|include|lock_file|master_process|pid|ssl_engine|timer_resolution|user|worker_cpu_affinity|worker_priority|worker_processes|worker_rlimit_core|worker_rlimit_nofile|worker_rlimit_sigpending|working_directory)\\b",
|
150
|
-
"end": ";",
|
151
|
-
"patterns": [
|
152
|
-
{
|
153
|
-
"include": "#values"
|
154
|
-
}
|
155
|
-
],
|
156
|
-
"captures": {
|
157
|
-
"1": {
|
158
|
-
"name": "keyword.directive.nginx"
|
159
|
-
}
|
160
|
-
}
|
161
|
-
},
|
162
|
-
{
|
163
|
-
"name": "punctuation.definition.variable",
|
164
|
-
"begin": "\\b(accept_mutex|accept_mutex_delay|debug_connection|devpoll_changes|devpoll_events|epoll_events|kqueue_changes|kqueue_events|multi_accept|rtsig_signo|rtsig_overflow_events|rtsig_overflow_test|rtsig_overflow_threshold|use|worker_connections)\\b",
|
165
|
-
"end": ";",
|
166
|
-
"patterns": [
|
167
|
-
{
|
168
|
-
"include": "#values"
|
169
|
-
}
|
170
|
-
],
|
171
|
-
"captures": {
|
172
|
-
"1": {
|
173
|
-
"name": "keyword.directive.module.events.nginx"
|
174
|
-
}
|
175
|
-
}
|
176
|
-
},
|
177
|
-
{
|
178
|
-
"name": "punctuation.definition.variable",
|
179
|
-
"begin": "\\b(aio|alias|chunked_transfer_encoding|client_body_in_file_only|client_body_in_single_buffer|client_body_buffer_size|client_body_temp_path|client_body_timeout|client_header_buffer_size|client_header_timeout|client_max_body_size|connection_pool_size|default_type|directio|error_page|if_modified_since|internal|keepalive_disable|keepalive_timeout|keepalive_requests|large_client_header_buffers|limit_except|limit_rate|limit_rate_after|lingering_close|lingering_time|lingering_timeout|listen|log_not_found|log_subrequest|msie_padding|msie_refresh|open_file_cache|open_file_cache_errors|open_file_cache_min_uses|open_file_cache_valid|optimize_server_names|port_in_redirect|post_action|recursive_error_pages|request_pool_size|reset_timedout_connection|resolver|resolver_timeout|root|satisfy|satisfy_any|send_timeout|sendfile|server_name|server_name_in_redirect|server_names_hash_max_size|server_names_hash_bucket_size|server_tokens|tcp_nodelay|tcp_nopush|try_files|types\\ |underscores_in_hashes|variables_hash_bucket_size|variables_hash_max_size|types_hash_max_size)\\b",
|
180
|
-
"end": ";",
|
181
|
-
"patterns": [
|
182
|
-
{
|
183
|
-
"include": "#values"
|
184
|
-
}
|
185
|
-
],
|
186
|
-
"captures": {
|
187
|
-
"1": {
|
188
|
-
"name": "keyword.directive.module.http.nginx"
|
189
|
-
}
|
190
|
-
}
|
191
|
-
},
|
192
|
-
{
|
193
|
-
"name": "punctuation.definition.variable",
|
194
|
-
"begin": "\\b(set_real_ip_from|real_ip_recursive|real_ip_header)\\b",
|
195
|
-
"end": ";",
|
196
|
-
"patterns": [
|
197
|
-
{
|
198
|
-
"include": "#values"
|
199
|
-
}
|
200
|
-
],
|
201
|
-
"captures": {
|
202
|
-
"1": {
|
203
|
-
"name": "keyword.directive.module.http.realip.nginx"
|
204
|
-
}
|
205
|
-
}
|
206
|
-
},
|
207
|
-
{
|
208
|
-
"name": "punctuation.definition.variable",
|
209
|
-
"begin": "\\b(allow|deny)\\b",
|
210
|
-
"end": ";",
|
211
|
-
"patterns": [
|
212
|
-
{
|
213
|
-
"include": "#values"
|
214
|
-
}
|
215
|
-
],
|
216
|
-
"captures": {
|
217
|
-
"1": {
|
218
|
-
"name": "keyword.directive.module.http.access.nginx"
|
219
|
-
}
|
220
|
-
}
|
221
|
-
},
|
222
|
-
{
|
223
|
-
"name": "punctuation.definition.variable",
|
224
|
-
"begin": "\\b(auth_basic|auth_basic_user_file)\\b",
|
225
|
-
"end": ";",
|
226
|
-
"patterns": [
|
227
|
-
{
|
228
|
-
"include": "#values"
|
229
|
-
}
|
230
|
-
],
|
231
|
-
"captures": {
|
232
|
-
"1": {
|
233
|
-
"name": "keyword.directive.module.http.auth_basic.nginx"
|
234
|
-
}
|
235
|
-
}
|
236
|
-
},
|
237
|
-
{
|
238
|
-
"name": "punctuation.definition.variable",
|
239
|
-
"begin": "\\b(autoindex|autoindex_exact_size|autoindex_localtime)\\b",
|
240
|
-
"end": ";",
|
241
|
-
"patterns": [
|
242
|
-
{
|
243
|
-
"include": "#values"
|
244
|
-
}
|
245
|
-
],
|
246
|
-
"captures": {
|
247
|
-
"1": {
|
248
|
-
"name": "keyword.directive.module.http.autoindex.nginx"
|
249
|
-
}
|
250
|
-
}
|
251
|
-
},
|
252
|
-
{
|
253
|
-
"name": "punctuation.definition.variable",
|
254
|
-
"begin": "\\b(ancient_browser|ancient_browser_value|modern_browser|modern_browser_value)\\b",
|
255
|
-
"end": ";",
|
256
|
-
"patterns": [
|
257
|
-
{
|
258
|
-
"include": "#values"
|
259
|
-
}
|
260
|
-
],
|
261
|
-
"captures": {
|
262
|
-
"1": {
|
263
|
-
"name": "keyword.directive.module.http.browser.nginx"
|
264
|
-
}
|
265
|
-
}
|
266
|
-
},
|
267
|
-
{
|
268
|
-
"name": "punctuation.definition.variable",
|
269
|
-
"begin": "\\b(charset|charset_map|override_charset|source_charset)\\b",
|
270
|
-
"end": ";",
|
271
|
-
"patterns": [
|
272
|
-
{
|
273
|
-
"include": "#values"
|
274
|
-
}
|
275
|
-
],
|
276
|
-
"captures": {
|
277
|
-
"1": {
|
278
|
-
"name": "keyword.directive.module.http.charset.nginx"
|
279
|
-
}
|
280
|
-
}
|
281
|
-
},
|
282
|
-
{
|
283
|
-
"name": "punctuation.definition.variable",
|
284
|
-
"begin": "\\b(empty_gif)\\b",
|
285
|
-
"end": ";",
|
286
|
-
"patterns": [
|
287
|
-
{
|
288
|
-
"include": "#values"
|
289
|
-
}
|
290
|
-
],
|
291
|
-
"captures": {
|
292
|
-
"1": {
|
293
|
-
"name": "keyword.directive.module.http.empty_gif.nginx"
|
294
|
-
}
|
295
|
-
}
|
296
|
-
},
|
297
|
-
{
|
298
|
-
"name": "punctuation.definition.variable",
|
299
|
-
"begin": "\\b(fastcgi_bind|fastcgi_buffer_size|fastcgi_buffers|fastcgi_cache|fastcgi_cache_key|fastcgi_cache_path|fastcgi_cache_methods|fastcgi_cache_min_uses|fastcgi_cache_use_stale|fastcgi_cache_valid|fastcgi_connect_timeout|fastcgi_index|fastcgi_hide_header|fastcgi_ignore_client_abort|fastcgi_ignore_headers|fastcgi_intercept_errors|fastcgi_max_temp_file_size|fastcgi_no_cache|fastcgi_next_upstream|fastcgi_param|fastcgi_pass|fastcgi_pass_header|fastcgi_pass_request_body|fastcgi_pass_request_headers|fastcgi_read_timeout|fastcgi_redirect_errors|fastcgi_send_timeout|fastcgi_split_path_info|fastcgi_store|fastcgi_store_access|fastcgi_temp_path)\\b",
|
300
|
-
"end": ";",
|
301
|
-
"patterns": [
|
302
|
-
{
|
303
|
-
"include": "#values"
|
304
|
-
}
|
305
|
-
],
|
306
|
-
"captures": {
|
307
|
-
"1": {
|
308
|
-
"name": "keyword.directive.module.http.fastcgi.nginx"
|
309
|
-
}
|
310
|
-
}
|
311
|
-
},
|
312
|
-
{
|
313
|
-
"name": "punctuation.definition.variable",
|
314
|
-
"begin": "\\b(geo)\\b",
|
315
|
-
"end": ";",
|
316
|
-
"patterns": [
|
317
|
-
{
|
318
|
-
"include": "#values"
|
319
|
-
}
|
320
|
-
],
|
321
|
-
"captures": {
|
322
|
-
"1": {
|
323
|
-
"name": "keyword.directive.module.http.geo.nginx"
|
324
|
-
}
|
325
|
-
}
|
326
|
-
},
|
327
|
-
{
|
328
|
-
"name": "punctuation.definition.variable",
|
329
|
-
"begin": "\\b(gzip|gzip_buffers|gzip_comp_level|gzip_disable|gzip_http_version|gzip_min_length|gzip_proxied|gzip_types|gzip_vary)\\b",
|
330
|
-
"end": ";",
|
331
|
-
"patterns": [
|
332
|
-
{
|
333
|
-
"include": "#values"
|
334
|
-
}
|
335
|
-
],
|
336
|
-
"captures": {
|
337
|
-
"1": {
|
338
|
-
"name": "keyword.directive.module.http.gzip.nginx"
|
339
|
-
}
|
340
|
-
}
|
341
|
-
},
|
342
|
-
{
|
343
|
-
"name": "punctuation.definition.variable",
|
344
|
-
"begin": "\\b(gzip_static|gzip_disable|gzip_http_version|gzip_proxied|gzip_vary)\\b",
|
345
|
-
"end": ";",
|
346
|
-
"patterns": [
|
347
|
-
{
|
348
|
-
"include": "#values"
|
349
|
-
}
|
350
|
-
],
|
351
|
-
"captures": {
|
352
|
-
"1": {
|
353
|
-
"name": "keyword.directive.module.http.gzip_static.nginx"
|
354
|
-
}
|
355
|
-
}
|
356
|
-
},
|
357
|
-
{
|
358
|
-
"name": "punctuation.definition.variable",
|
359
|
-
"begin": "\\b(add_header|expires)\\b",
|
360
|
-
"end": ";",
|
361
|
-
"patterns": [
|
362
|
-
{
|
363
|
-
"include": "#values"
|
364
|
-
}
|
365
|
-
],
|
366
|
-
"captures": {
|
367
|
-
"1": {
|
368
|
-
"name": "keyword.directive.module.http.headers.nginx"
|
369
|
-
}
|
370
|
-
}
|
371
|
-
},
|
372
|
-
{
|
373
|
-
"name": "punctuation.definition.variable",
|
374
|
-
"begin": "\\b(index)\\b",
|
375
|
-
"end": ";",
|
376
|
-
"patterns": [
|
377
|
-
{
|
378
|
-
"include": "#values"
|
379
|
-
}
|
380
|
-
],
|
381
|
-
"captures": {
|
382
|
-
"1": {
|
383
|
-
"name": "keyword.directive.module.http.index.nginx"
|
384
|
-
}
|
385
|
-
}
|
386
|
-
},
|
387
|
-
{
|
388
|
-
"name": "punctuation.definition.variable",
|
389
|
-
"match": "\\b(limit_req_log_level|limit_req_zone|limit_req)\\b",
|
390
|
-
"end": ";",
|
391
|
-
"patterns": [
|
392
|
-
{
|
393
|
-
"include": "#values"
|
394
|
-
}
|
395
|
-
],
|
396
|
-
"captures": {
|
397
|
-
"1": {
|
398
|
-
"name": "keyword.directive.module.http.limit_req.nginx"
|
399
|
-
}
|
400
|
-
}
|
401
|
-
},
|
402
|
-
{
|
403
|
-
"name": "punctuation.definition.variable",
|
404
|
-
"begin": "\\b(limit_zone|limit_conn|limit_conn_log_level)\\b",
|
405
|
-
"end": ";",
|
406
|
-
"patterns": [
|
407
|
-
{
|
408
|
-
"include": "#values"
|
409
|
-
}
|
410
|
-
],
|
411
|
-
"captures": {
|
412
|
-
"1": {
|
413
|
-
"name": "keyword.directive.module.http.limit_zone.nginx"
|
414
|
-
}
|
415
|
-
}
|
416
|
-
},
|
417
|
-
{
|
418
|
-
"name": "punctuation.definition.variable",
|
419
|
-
"begin": "\\b(limit_conn_zone|limit_conn|limit_conn_log_level)\\b",
|
420
|
-
"end": ";",
|
421
|
-
"patterns": [
|
422
|
-
{
|
423
|
-
"include": "#values"
|
424
|
-
}
|
425
|
-
],
|
426
|
-
"captures": {
|
427
|
-
"1": {
|
428
|
-
"name": "keyword.directive.module.http.limit_conn.nginx"
|
429
|
-
}
|
430
|
-
}
|
431
|
-
},
|
432
|
-
{
|
433
|
-
"name": "punctuation.definition.variable",
|
434
|
-
"begin": "\\b(access_log|log_format|open_log_file_cache)\\b",
|
435
|
-
"end": ";",
|
436
|
-
"patterns": [
|
437
|
-
{
|
438
|
-
"include": "#values"
|
439
|
-
}
|
440
|
-
],
|
441
|
-
"captures": {
|
442
|
-
"1": {
|
443
|
-
"name": "keyword.directive.module.http.log.nginx"
|
444
|
-
}
|
445
|
-
}
|
446
|
-
},
|
447
|
-
{
|
448
|
-
"name": "meta.context.map.nginx",
|
449
|
-
"begin": "\\b(map) +(\\$[A-Za-z0-9\\_]+) +(\\$[A-Za-z0-9\\_]+) *\\{",
|
450
|
-
"end": "\\}",
|
451
|
-
"patterns": [
|
452
|
-
{
|
453
|
-
"include": "#values"
|
454
|
-
},
|
455
|
-
{
|
456
|
-
"name": "punctuation.definition.map.nginx",
|
457
|
-
"match": ";"
|
458
|
-
},
|
459
|
-
{
|
460
|
-
"name": "comment.line.number-sign",
|
461
|
-
"match": "\\#.*"
|
462
|
-
}
|
463
|
-
],
|
464
|
-
"beginCaptures": {
|
465
|
-
"1": {
|
466
|
-
"name": "storage.type.context.nginx"
|
467
|
-
},
|
468
|
-
"2": {
|
469
|
-
"name": "variable.other.nginx"
|
470
|
-
},
|
471
|
-
"3": {
|
472
|
-
"name": "variable.other.nginx"
|
473
|
-
}
|
474
|
-
}
|
475
|
-
},
|
476
|
-
{
|
477
|
-
"name": "punctuation.definition.variable",
|
478
|
-
"begin": "\\b(map_hash_max_size|map_hash_bucket_size)\\b",
|
479
|
-
"end": ";",
|
480
|
-
"patterns": [
|
481
|
-
{
|
482
|
-
"include": "#values"
|
483
|
-
}
|
484
|
-
],
|
485
|
-
"captures": {
|
486
|
-
"1": {
|
487
|
-
"name": "keyword.directive.module.http.map.nginx"
|
488
|
-
}
|
489
|
-
}
|
490
|
-
},
|
491
|
-
{
|
492
|
-
"name": "punctuation.definition.variable",
|
493
|
-
"begin": "\\b(memcached_pass|memcached_connect_timeout|memcached_read_timeout|memcached_send_timeout|memcached_buffer_size|memcached_next_upstream)\\b",
|
494
|
-
"end": ";",
|
495
|
-
"patterns": [
|
496
|
-
{
|
497
|
-
"include": "#values"
|
498
|
-
}
|
499
|
-
],
|
500
|
-
"captures": {
|
501
|
-
"1": {
|
502
|
-
"name": "keyword.directive.module.http.memcached.nginx"
|
503
|
-
}
|
504
|
-
}
|
505
|
-
},
|
506
|
-
{
|
507
|
-
"name": "punctuation.definition.variable",
|
508
|
-
"begin": "\\b(proxy_bind|proxy_buffer_size|proxy_buffering|proxy_buffers|proxy_busy_buffers_size|proxy_cache|proxy_cache_bypass|proxy_cache_key|proxy_cache_methods|proxy_cache_min_uses|proxy_cache_path|proxy_cache_use_stale|proxy_cache_valid|proxy_connect_timeout|proxy_headers_hash_bucket_size|proxy_headers_hash_max_size|proxy_hide_header|proxy_ignore_client_abort|proxy_ignore_headers|proxy_intercept_errors|proxy_max_temp_file_size|proxy_method|proxy_next_upstream|proxy_no_cache|proxy_pass|proxy_http_version|proxy_pass_header|proxy_pass_request_body|proxy_pass_request_headers|proxy_redirect|proxy_read_timeout|proxy_redirect_errors|proxy_send_lowat|proxy_send_timeout|proxy_set_body|proxy_set_header|proxy_ssl_session_reuse|proxy_store|proxy_store_access|proxy_temp_file_write_size|proxy_temp_path|proxy_upstream_fail_timeout|proxy_upstream_max_fails)\\b",
|
509
|
-
"end": ";",
|
510
|
-
"patterns": [
|
511
|
-
{
|
512
|
-
"include": "#values"
|
513
|
-
}
|
514
|
-
],
|
515
|
-
"captures": {
|
516
|
-
"1": {
|
517
|
-
"name": "keyword.directive.module.http.proxy.nginx"
|
518
|
-
}
|
519
|
-
}
|
520
|
-
},
|
521
|
-
{
|
522
|
-
"name": "punctuation.definition.variable",
|
523
|
-
"begin": "\\b(valid_referers)\\b",
|
524
|
-
"end": ";",
|
525
|
-
"patterns": [
|
526
|
-
{
|
527
|
-
"include": "#values"
|
528
|
-
}
|
529
|
-
],
|
530
|
-
"captures": {
|
531
|
-
"1": {
|
532
|
-
"name": "keyword.directive.module.http.referer.nginx"
|
533
|
-
}
|
534
|
-
}
|
535
|
-
},
|
536
|
-
{
|
537
|
-
"name": "punctuation.definition.variable",
|
538
|
-
"begin": "\\b(rewrite_log|set|uninitialized_variable_warn)\\b",
|
539
|
-
"end": ";",
|
540
|
-
"patterns": [
|
541
|
-
{
|
542
|
-
"include": "#values"
|
543
|
-
}
|
544
|
-
],
|
545
|
-
"captures": {
|
546
|
-
"1": {
|
547
|
-
"name": "keyword.directive.module.http.rewrite.nginx"
|
548
|
-
}
|
549
|
-
}
|
550
|
-
},
|
551
|
-
{
|
552
|
-
"name": "punctuation.definition.variable",
|
553
|
-
"begin": "\\b(break|return)\\b",
|
554
|
-
"end": ";",
|
555
|
-
"patterns": [
|
556
|
-
{
|
557
|
-
"include": "#values"
|
558
|
-
}
|
559
|
-
],
|
560
|
-
"captures": {
|
561
|
-
"1": {
|
562
|
-
"name": "support.function.module.http.rewrite.nginx"
|
563
|
-
}
|
564
|
-
}
|
565
|
-
},
|
566
|
-
{
|
567
|
-
"name": "punctuation.definition.variable",
|
568
|
-
"begin": "\\b(rewrite)\\b *(\".+?(?\u003c!\\\\)\"|'.+?(?\u003c!\\\\)'|((.+?)(?\u003c!\\\\)\\s))",
|
569
|
-
"end": ";",
|
570
|
-
"patterns": [
|
571
|
-
{
|
572
|
-
"include": "#values"
|
573
|
-
}
|
574
|
-
],
|
575
|
-
"captures": {
|
576
|
-
"1": {
|
577
|
-
"name": "keyword.directive.module.http.rewrite.nginx"
|
578
|
-
},
|
579
|
-
"2": {
|
580
|
-
"name": "string.regexp.nginx"
|
581
|
-
}
|
582
|
-
}
|
583
|
-
},
|
584
|
-
{
|
585
|
-
"name": "punctuation.definition.variable",
|
586
|
-
"begin": "\\b(scgi_bind|scgi_buffer_size|scgi_buffering|scgi_buffers|scgi_busy_buffers_size|scgi_cache|scgi_cache_bypass|scgi_cache_key|scgi_cache_methods|scgi_cache_min_uses|scgi_cache_path|scgi_cache_use_stale|scgi_cache_valid|scgi_connect_timeout|scgi_hide_header|scgi_ignore_client_abort|scgi_ignore_headers|scgi_intercept_errors|scgi_max_temp_file_size|scgi_next_upstream|scgi_no_cache|scgi_param|scgi_pass|scgi_pass_header|scgi_pass_request_body|scgi_pass_request_headers|scgi_read_timeout|scgi_send_timeout|scgi_store|scgi_store_access|scgi_temp_file_write_size|scgi_temp_path)\\b",
|
587
|
-
"end": ";",
|
588
|
-
"patterns": [
|
589
|
-
{
|
590
|
-
"include": "#values"
|
591
|
-
}
|
592
|
-
],
|
593
|
-
"captures": {
|
594
|
-
"1": {
|
595
|
-
"name": "keyword.directive.module.http.scgi.nginx"
|
596
|
-
}
|
597
|
-
}
|
598
|
-
},
|
599
|
-
{
|
600
|
-
"name": "punctuation.definition.variable",
|
601
|
-
"begin": "\\b(split_clients)\\b",
|
602
|
-
"end": ";",
|
603
|
-
"patterns": [
|
604
|
-
{
|
605
|
-
"include": "#values"
|
606
|
-
}
|
607
|
-
],
|
608
|
-
"captures": {
|
609
|
-
"1": {
|
610
|
-
"name": "keyword.directive.module.http.split_clients.nginx"
|
611
|
-
}
|
612
|
-
}
|
613
|
-
},
|
614
|
-
{
|
615
|
-
"name": "punctuation.definition.variable",
|
616
|
-
"begin": "\\b(ssi|ssi_silent_errors|ssi_types|ssi_value_length)\\b",
|
617
|
-
"end": ";",
|
618
|
-
"patterns": [
|
619
|
-
{
|
620
|
-
"include": "#values"
|
621
|
-
}
|
622
|
-
],
|
623
|
-
"captures": {
|
624
|
-
"1": {
|
625
|
-
"name": "keyword.directive.module.http.ssi.nginx"
|
626
|
-
}
|
627
|
-
}
|
628
|
-
},
|
629
|
-
{
|
630
|
-
"name": "punctuation.definition.variable",
|
631
|
-
"begin": "\\b(ssl|ssl_certificate|ssl_certificate_key|ssl_client_certificate|ssl_dhparam|ssl_ciphers|ssl_crl|ssl_prefer_server_ciphers|ssl_protocols|ssl_verify_client|ssl_verify_depth|ssl_session_cache|ssl_session_timeout|ssl_engine)\\b",
|
632
|
-
"end": ";",
|
633
|
-
"patterns": [
|
634
|
-
{
|
635
|
-
"include": "#values"
|
636
|
-
}
|
637
|
-
],
|
638
|
-
"captures": {
|
639
|
-
"1": {
|
640
|
-
"name": "keyword.directive.module.http.ssl.nginx"
|
641
|
-
}
|
642
|
-
}
|
643
|
-
},
|
644
|
-
{
|
645
|
-
"name": "punctuation.definition.variable",
|
646
|
-
"begin": "\\b(ip_hash|server)\\b",
|
647
|
-
"end": ";",
|
648
|
-
"patterns": [
|
649
|
-
{
|
650
|
-
"include": "#values"
|
651
|
-
}
|
652
|
-
],
|
653
|
-
"captures": {
|
654
|
-
"1": {
|
655
|
-
"name": "keyword.directive.module.http.upstream.nginx"
|
656
|
-
}
|
657
|
-
}
|
658
|
-
},
|
659
|
-
{
|
660
|
-
"name": "punctuation.definition.variable",
|
661
|
-
"begin": "\\b(userid|userid_domain|userid_expires|userid_name|userid_p3p|userid_path|userid_service)\\b",
|
662
|
-
"end": ";",
|
663
|
-
"patterns": [
|
664
|
-
{
|
665
|
-
"include": "#values"
|
666
|
-
}
|
667
|
-
],
|
668
|
-
"captures": {
|
669
|
-
"1": {
|
670
|
-
"name": "keyword.directive.module.http.userid.nginx"
|
671
|
-
}
|
672
|
-
}
|
673
|
-
},
|
674
|
-
{
|
675
|
-
"name": "punctuation.definition.variable",
|
676
|
-
"begin": "\\b(uwsgi_bind|uwsgi_buffer_size|uwsgi_buffering|uwsgi_buffers|uwsgi_busy_buffers_size|uwsgi_cache|uwsgi_cache_bypass|uwsgi_cache_key|uwsgi_cache_methods|uwsgi_cache_min_uses|uwsgi_cache_path|uwsgi_cache_use_stale|uwsgi_cache_valid|uwsgi_connect_timeout|uwsgi_hide_header|uwsgi_ignore_client_abort|uwsgi_ignore_headers|uwsgi_intercept_errors|uwsgi_max_temp_file_size|uwsgi_modifier1|uwsgi_modifier2|uwsgi_next_upstream|uwsgi_no_cache|uwsgi_param|uwsgi_pass|uwsgi_pass_header|uwsgi_pass_request_body|uwsgi_pass_request_headers|uwsgi_read_timeout|uwsgi_send_timeout|uwsgi_store|uwsgi_store_access|uwsgi_string|uwsgi_temp_file_write_size|uwsgi_temp_path)\\b",
|
677
|
-
"end": ";",
|
678
|
-
"patterns": [
|
679
|
-
{
|
680
|
-
"include": "#values"
|
681
|
-
}
|
682
|
-
],
|
683
|
-
"captures": {
|
684
|
-
"1": {
|
685
|
-
"name": "keyword.directive.module.http.uwsgi.nginx"
|
686
|
-
}
|
687
|
-
}
|
688
|
-
},
|
689
|
-
{
|
690
|
-
"name": "punctuation.definition.variable",
|
691
|
-
"begin": "\\b([a-zA-Z0-9\\_]+)\\s+",
|
692
|
-
"end": "(;|$)",
|
693
|
-
"patterns": [
|
694
|
-
{
|
695
|
-
"include": "#values"
|
696
|
-
}
|
697
|
-
],
|
698
|
-
"beginCaptures": {
|
699
|
-
"1": {
|
700
|
-
"name": "keyword.directive.module.unsupported.nginx"
|
701
|
-
}
|
702
|
-
}
|
703
|
-
},
|
704
|
-
{
|
705
|
-
"name": "punctuation.definition.variable",
|
706
|
-
"begin": "\\b(stub_status)\\b",
|
707
|
-
"end": ";",
|
708
|
-
"patterns": [
|
709
|
-
{
|
710
|
-
"include": "#values"
|
711
|
-
}
|
712
|
-
],
|
713
|
-
"captures": {
|
714
|
-
"1": {
|
715
|
-
"name": "keyword.directive.module.http.stub_status.nginx"
|
716
|
-
}
|
717
|
-
}
|
718
|
-
},
|
719
|
-
{
|
720
|
-
"name": "punctuation.definition.variable",
|
721
|
-
"begin": "\\b([a-z]+\\/[a-z0-9\\-\\.\\+]+)\\b",
|
722
|
-
"end": ";",
|
723
|
-
"patterns": [
|
724
|
-
{
|
725
|
-
"include": "#values"
|
726
|
-
}
|
727
|
-
],
|
728
|
-
"captures": {
|
729
|
-
"1": {
|
730
|
-
"name": "keyword.directive.module.http.nginx"
|
731
|
-
}
|
732
|
-
}
|
733
|
-
}
|
734
|
-
],
|
735
|
-
"repository": {
|
736
|
-
"values": {
|
737
|
-
"patterns": [
|
738
|
-
{
|
739
|
-
"include": "#variables"
|
740
|
-
},
|
741
|
-
{
|
742
|
-
"match": "[\\t ]([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}|[0-9a-f:]+)(\\/[0-9]{2})?(?=[\\t ;])",
|
743
|
-
"captures": {
|
744
|
-
"1": {
|
745
|
-
"name": "string.ipaddress.nginx"
|
746
|
-
},
|
747
|
-
"2": {
|
748
|
-
"name": "constant.numeric.cidr.nginx"
|
749
|
-
}
|
750
|
-
}
|
751
|
-
},
|
752
|
-
{
|
753
|
-
"match": "[\\t ](=?[0-9][0-9\\.]*[bBkKmMgGtTsShHdD]?)(?=[\\t ;])",
|
754
|
-
"captures": {
|
755
|
-
"1": {
|
756
|
-
"name": "constant.numeric.nginx"
|
757
|
-
}
|
758
|
-
}
|
759
|
-
},
|
760
|
-
{
|
761
|
-
"name": "constant.language.nginx",
|
762
|
-
"match": "[\\t ](on|off|true|false)(?=[\\t ;])"
|
763
|
-
},
|
764
|
-
{
|
765
|
-
"name": "constant.language.nginx",
|
766
|
-
"match": "[\\t ](kqueue|rtsig|epoll|\\/dev\\/poll|select|poll|eventport|max|all|default_server|default|main|crit|error|debug|warn|notice|last)(?=[\\t ;])"
|
767
|
-
},
|
768
|
-
{
|
769
|
-
"name": "string.regexp.nginx",
|
770
|
-
"match": "\\\\.*\\ |\\~\\*|\\~|\\!\\~\\*|\\!\\~"
|
771
|
-
},
|
772
|
-
{
|
773
|
-
"name": "string.regexp.nginx",
|
774
|
-
"match": "\\^.*?\\$"
|
775
|
-
},
|
776
|
-
{
|
777
|
-
"name": "string.quoted.double.nginx",
|
778
|
-
"begin": "\"",
|
779
|
-
"end": "\"",
|
780
|
-
"patterns": [
|
781
|
-
{
|
782
|
-
"name": "constant.character.escape.nginx",
|
783
|
-
"match": "\\\\\""
|
784
|
-
},
|
785
|
-
{
|
786
|
-
"include": "#variables"
|
787
|
-
}
|
788
|
-
]
|
789
|
-
},
|
790
|
-
{
|
791
|
-
"name": "string.quoted.single.nginx",
|
792
|
-
"begin": "'",
|
793
|
-
"end": "'",
|
794
|
-
"patterns": [
|
795
|
-
{
|
796
|
-
"name": "constant.character.escape.nginx",
|
797
|
-
"match": "\\\\'"
|
798
|
-
},
|
799
|
-
{
|
800
|
-
"include": "#variables"
|
801
|
-
}
|
802
|
-
]
|
803
|
-
}
|
804
|
-
]
|
805
|
-
},
|
806
|
-
"variables": {
|
807
|
-
"patterns": [
|
808
|
-
{
|
809
|
-
"name": "variable.other.nginx",
|
810
|
-
"match": "(\\$[A-Za-z0-9\\_]+)\\b"
|
811
|
-
}
|
812
|
-
]
|
813
|
-
}
|
814
|
-
}
|
815
|
-
}
|
1
|
+
{"name":"nginx","scopeName":"source.nginx","patterns":[{"name":"comment.line.number-sign","match":"\\#.*"},{"name":"meta.context.events.nginx","begin":"\\b(events) +\\{","end":"\\}","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"storage.type.context.nginx"}}},{"name":"meta.context.http.nginx","begin":"\\b(http) +\\{","end":"\\}","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"storage.type.context.nginx"}}},{"name":"meta.context.types.nginx","begin":"\\b(types) +\\{","end":"\\}","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"storage.type.context.nginx"}}},{"name":"meta.context.server.nginx","begin":"\\b(server) +\\{","end":"\\}","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"storage.type.context.nginx"}}},{"name":"meta.context.location.nginx","begin":"\\b(location) +[\\^]?~[\\*]? +(.*?)\\{","end":"\\}","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"storage.type.context.location.nginx"},"2":{"name":"string.regexp.nginx"}}},{"name":"meta.context.location.nginx","begin":"\\b(location) +(.*?)\\{","end":"\\}","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"storage.type.context.location.nginx"},"2":{"name":"entity.name.context.location.nginx"}}},{"name":"meta.context.upstream.nginx","begin":"\\b(upstream) +(.*?)\\{","end":"\\}","patterns":[{"include":"$self"}],"beginCaptures":{"1":{"name":"storage.type.context.nginx"},"2":{"name":"entity.name.context.location.nginx"}}},{"begin":"\\b(if) +\\(","end":"\\)","patterns":[{"include":"#values"}],"beginCaptures":{"1":{"name":"keyword.control.nginx"}}},{"name":"meta.block.nginx","begin":"\\{","end":"\\}","patterns":[{"include":"$self"}]},{"name":"punctuation.definition.variable","begin":"\\b(daemon|env|debug_points|error_log|include|lock_file|master_process|pid|ssl_engine|timer_resolution|user|worker_cpu_affinity|worker_priority|worker_processes|worker_rlimit_core|worker_rlimit_nofile|worker_rlimit_sigpending|working_directory)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(accept_mutex|accept_mutex_delay|debug_connection|devpoll_changes|devpoll_events|epoll_events|kqueue_changes|kqueue_events|multi_accept|rtsig_signo|rtsig_overflow_events|rtsig_overflow_test|rtsig_overflow_threshold|use|worker_connections)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.events.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(aio|alias|chunked_transfer_encoding|client_body_in_file_only|client_body_in_single_buffer|client_body_buffer_size|client_body_temp_path|client_body_timeout|client_header_buffer_size|client_header_timeout|client_max_body_size|connection_pool_size|default_type|directio|error_page|if_modified_since|internal|keepalive_disable|keepalive_timeout|keepalive_requests|large_client_header_buffers|limit_except|limit_rate|limit_rate_after|lingering_close|lingering_time|lingering_timeout|listen|log_not_found|log_subrequest|msie_padding|msie_refresh|open_file_cache|open_file_cache_errors|open_file_cache_min_uses|open_file_cache_valid|optimize_server_names|port_in_redirect|post_action|recursive_error_pages|request_pool_size|reset_timedout_connection|resolver|resolver_timeout|root|satisfy|satisfy_any|send_timeout|sendfile|server_name|server_name_in_redirect|server_names_hash_max_size|server_names_hash_bucket_size|server_tokens|tcp_nodelay|tcp_nopush|try_files|types\\ |underscores_in_hashes|variables_hash_bucket_size|variables_hash_max_size|types_hash_max_size)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(set_real_ip_from|real_ip_recursive|real_ip_header)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.realip.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(allow|deny)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.access.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(auth_basic|auth_basic_user_file)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.auth_basic.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(autoindex|autoindex_exact_size|autoindex_localtime)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.autoindex.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(ancient_browser|ancient_browser_value|modern_browser|modern_browser_value)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.browser.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(charset|charset_map|override_charset|source_charset)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.charset.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(empty_gif)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.empty_gif.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(fastcgi_bind|fastcgi_buffer_size|fastcgi_buffers|fastcgi_cache|fastcgi_cache_key|fastcgi_cache_path|fastcgi_cache_methods|fastcgi_cache_min_uses|fastcgi_cache_use_stale|fastcgi_cache_valid|fastcgi_connect_timeout|fastcgi_index|fastcgi_hide_header|fastcgi_ignore_client_abort|fastcgi_ignore_headers|fastcgi_intercept_errors|fastcgi_max_temp_file_size|fastcgi_no_cache|fastcgi_next_upstream|fastcgi_param|fastcgi_pass|fastcgi_pass_header|fastcgi_pass_request_body|fastcgi_pass_request_headers|fastcgi_read_timeout|fastcgi_redirect_errors|fastcgi_send_timeout|fastcgi_split_path_info|fastcgi_store|fastcgi_store_access|fastcgi_temp_path)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.fastcgi.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(geo)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.geo.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(gzip|gzip_buffers|gzip_comp_level|gzip_disable|gzip_http_version|gzip_min_length|gzip_proxied|gzip_types|gzip_vary)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.gzip.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(gzip_static|gzip_disable|gzip_http_version|gzip_proxied|gzip_vary)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.gzip_static.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(add_header|expires)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.headers.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(index)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.index.nginx"}}},{"name":"punctuation.definition.variable","match":"\\b(limit_req_log_level|limit_req_zone|limit_req)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.limit_req.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(limit_zone|limit_conn|limit_conn_log_level)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.limit_zone.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(limit_conn_zone|limit_conn|limit_conn_log_level)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.limit_conn.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(access_log|log_format|open_log_file_cache)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.log.nginx"}}},{"name":"meta.context.map.nginx","begin":"\\b(map) +(\\$[A-Za-z0-9\\_]+) +(\\$[A-Za-z0-9\\_]+) *\\{","end":"\\}","patterns":[{"include":"#values"},{"name":"punctuation.definition.map.nginx","match":";"},{"name":"comment.line.number-sign","match":"\\#.*"}],"beginCaptures":{"1":{"name":"storage.type.context.nginx"},"2":{"name":"variable.other.nginx"},"3":{"name":"variable.other.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(map_hash_max_size|map_hash_bucket_size)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.map.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(memcached_pass|memcached_connect_timeout|memcached_read_timeout|memcached_send_timeout|memcached_buffer_size|memcached_next_upstream)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.memcached.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(proxy_bind|proxy_buffer_size|proxy_buffering|proxy_buffers|proxy_busy_buffers_size|proxy_cache|proxy_cache_bypass|proxy_cache_key|proxy_cache_methods|proxy_cache_min_uses|proxy_cache_path|proxy_cache_use_stale|proxy_cache_valid|proxy_connect_timeout|proxy_headers_hash_bucket_size|proxy_headers_hash_max_size|proxy_hide_header|proxy_ignore_client_abort|proxy_ignore_headers|proxy_intercept_errors|proxy_max_temp_file_size|proxy_method|proxy_next_upstream|proxy_no_cache|proxy_pass|proxy_http_version|proxy_pass_header|proxy_pass_request_body|proxy_pass_request_headers|proxy_redirect|proxy_read_timeout|proxy_redirect_errors|proxy_send_lowat|proxy_send_timeout|proxy_set_body|proxy_set_header|proxy_ssl_session_reuse|proxy_store|proxy_store_access|proxy_temp_file_write_size|proxy_temp_path|proxy_upstream_fail_timeout|proxy_upstream_max_fails)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.proxy.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(valid_referers)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.referer.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(rewrite_log|set|uninitialized_variable_warn)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.rewrite.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(break|return)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"support.function.module.http.rewrite.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(rewrite)\\b *(\".+?(?\u003c!\\\\)\"|'.+?(?\u003c!\\\\)'|((.+?)(?\u003c!\\\\)\\s))","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.rewrite.nginx"},"2":{"name":"string.regexp.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(scgi_bind|scgi_buffer_size|scgi_buffering|scgi_buffers|scgi_busy_buffers_size|scgi_cache|scgi_cache_bypass|scgi_cache_key|scgi_cache_methods|scgi_cache_min_uses|scgi_cache_path|scgi_cache_use_stale|scgi_cache_valid|scgi_connect_timeout|scgi_hide_header|scgi_ignore_client_abort|scgi_ignore_headers|scgi_intercept_errors|scgi_max_temp_file_size|scgi_next_upstream|scgi_no_cache|scgi_param|scgi_pass|scgi_pass_header|scgi_pass_request_body|scgi_pass_request_headers|scgi_read_timeout|scgi_send_timeout|scgi_store|scgi_store_access|scgi_temp_file_write_size|scgi_temp_path)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.scgi.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(split_clients)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.split_clients.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(ssi|ssi_silent_errors|ssi_types|ssi_value_length)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.ssi.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(ssl|ssl_certificate|ssl_certificate_key|ssl_client_certificate|ssl_dhparam|ssl_ciphers|ssl_crl|ssl_prefer_server_ciphers|ssl_protocols|ssl_verify_client|ssl_verify_depth|ssl_session_cache|ssl_session_timeout|ssl_engine)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.ssl.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(ip_hash|server)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.upstream.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(userid|userid_domain|userid_expires|userid_name|userid_p3p|userid_path|userid_service)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.userid.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(uwsgi_bind|uwsgi_buffer_size|uwsgi_buffering|uwsgi_buffers|uwsgi_busy_buffers_size|uwsgi_cache|uwsgi_cache_bypass|uwsgi_cache_key|uwsgi_cache_methods|uwsgi_cache_min_uses|uwsgi_cache_path|uwsgi_cache_use_stale|uwsgi_cache_valid|uwsgi_connect_timeout|uwsgi_hide_header|uwsgi_ignore_client_abort|uwsgi_ignore_headers|uwsgi_intercept_errors|uwsgi_max_temp_file_size|uwsgi_modifier1|uwsgi_modifier2|uwsgi_next_upstream|uwsgi_no_cache|uwsgi_param|uwsgi_pass|uwsgi_pass_header|uwsgi_pass_request_body|uwsgi_pass_request_headers|uwsgi_read_timeout|uwsgi_send_timeout|uwsgi_store|uwsgi_store_access|uwsgi_string|uwsgi_temp_file_write_size|uwsgi_temp_path)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.uwsgi.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b([a-zA-Z0-9\\_]+)\\s+","end":"(;|$)","patterns":[{"include":"#values"}],"beginCaptures":{"1":{"name":"keyword.directive.module.unsupported.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b(stub_status)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.stub_status.nginx"}}},{"name":"punctuation.definition.variable","begin":"\\b([a-z]+\\/[a-z0-9\\-\\.\\+]+)\\b","end":";","patterns":[{"include":"#values"}],"captures":{"1":{"name":"keyword.directive.module.http.nginx"}}}],"repository":{"values":{"patterns":[{"include":"#variables"},{"match":"[\\t ]([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}|[0-9a-f:]+)(\\/[0-9]{2})?(?=[\\t ;])","captures":{"1":{"name":"string.ipaddress.nginx"},"2":{"name":"constant.numeric.cidr.nginx"}}},{"match":"[\\t ](=?[0-9][0-9\\.]*[bBkKmMgGtTsShHdD]?)(?=[\\t ;])","captures":{"1":{"name":"constant.numeric.nginx"}}},{"name":"constant.language.nginx","match":"[\\t ](on|off|true|false)(?=[\\t ;])"},{"name":"constant.language.nginx","match":"[\\t ](kqueue|rtsig|epoll|\\/dev\\/poll|select|poll|eventport|max|all|default_server|default|main|crit|error|debug|warn|notice|last)(?=[\\t ;])"},{"name":"string.regexp.nginx","match":"\\\\.*\\ |\\~\\*|\\~|\\!\\~\\*|\\!\\~"},{"name":"string.regexp.nginx","match":"\\^.*?\\$"},{"name":"string.quoted.double.nginx","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.nginx","match":"\\\\\""},{"include":"#variables"}]},{"name":"string.quoted.single.nginx","begin":"'","end":"'","patterns":[{"name":"constant.character.escape.nginx","match":"\\\\'"},{"include":"#variables"}]}]},"variables":{"patterns":[{"name":"variable.other.nginx","match":"(\\$[A-Za-z0-9\\_]+)\\b"}]}}}
|