github-linguist 9.0.0 → 9.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/github-linguist +3 -3
- data/grammars/etc.json +1 -1
- data/grammars/inline.edgeql.json +1 -1
- data/grammars/liquid.injection.json +1 -1
- data/grammars/source.4dm.json +1 -1
- data/grammars/source.QB64.json +1 -1
- data/grammars/source.abap.json +1 -1
- data/grammars/source.abl.json +1 -1
- data/grammars/source.aiken.json +1 -0
- data/grammars/source.answersetprogramming.json +1 -0
- data/grammars/source.apacheconf.json +1 -0
- data/grammars/source.apex.json +1 -1
- data/grammars/source.assembly.json +1 -1
- data/grammars/source.ats.json +1 -1
- data/grammars/source.ballerina.json +1 -1
- data/grammars/source.brs.json +1 -1
- data/grammars/source.bst.json +1 -0
- data/grammars/source.c++.json +1 -1
- data/grammars/source.c.calendar.json +1 -0
- data/grammars/source.c.json +1 -1
- data/grammars/source.c.linker.json +1 -0
- data/grammars/source.cairo0.json +1 -1
- data/grammars/source.cl.json +1 -1
- data/grammars/source.clue.json +1 -0
- data/grammars/source.cmake.json +1 -1
- data/grammars/source.cmakecache.json +1 -1
- data/grammars/source.cobol.json +1 -1
- data/grammars/source.cs.json +1 -1
- data/grammars/source.curlrc.json +1 -1
- data/grammars/source.curry.json +1 -1
- data/grammars/source.daslang.json +1 -0
- data/grammars/source.dds.dspf.json +1 -1
- data/grammars/source.erlang.json +1 -1
- data/grammars/source.gdscript.json +1 -1
- data/grammars/source.git-revlist.json +1 -1
- data/grammars/source.gleam.json +1 -1
- data/grammars/source.hack.json +1 -1
- data/grammars/source.hcl.json +1 -1
- data/grammars/source.hx.json +1 -1
- data/grammars/source.ice.json +1 -1
- data/grammars/source.ilecobol.json +1 -0
- data/grammars/source.ispc.json +1 -0
- data/grammars/source.jai.json +1 -0
- data/grammars/source.json.comments.json +1 -0
- data/grammars/source.julia.console.json +1 -1
- data/grammars/source.julia.json +1 -1
- data/grammars/source.just.json +1 -1
- data/grammars/source.kdl.json +1 -0
- data/grammars/source.koka.json +1 -0
- data/grammars/source.lean.markdown.json +1 -1
- data/grammars/source.lean4.markdown.json +1 -1
- data/grammars/source.leo.json +1 -0
- data/grammars/source.livescript.json +1 -1
- data/grammars/source.m2.json +1 -1
- data/grammars/source.m3u.json +1 -0
- data/grammars/source.matlab.json +1 -1
- data/grammars/source.mo.json +1 -1
- data/grammars/source.moonbit.json +1 -1
- data/grammars/source.mzn.json +1 -0
- data/grammars/source.nasl.json +1 -1
- data/grammars/source.nim.json +1 -1
- data/grammars/source.nr.json +1 -1
- data/grammars/source.nushell.json +1 -1
- data/grammars/source.objc.json +1 -1
- data/grammars/source.odin.json +1 -1
- data/grammars/source.openesql.json +1 -1
- data/grammars/source.openqasm.json +1 -0
- data/grammars/source.overpassql.json +1 -0
- data/grammars/source.polar.json +1 -1
- data/grammars/source.prisma.json +1 -1
- data/grammars/source.purescript.json +1 -1
- data/grammars/source.ql.json +1 -1
- data/grammars/source.qsharp.json +1 -1
- data/grammars/source.rescript.json +1 -1
- data/grammars/source.roc.json +1 -1
- data/grammars/source.rpgle.json +1 -1
- data/grammars/source.rust.json +1 -1
- data/grammars/source.sail.json +1 -0
- data/grammars/source.scala.json +1 -1
- data/grammars/source.scm.json +1 -0
- data/grammars/source.slang.json +1 -0
- data/grammars/source.slice.json +1 -1
- data/grammars/source.slint.json +1 -1
- data/grammars/source.smithy.json +1 -1
- data/grammars/source.soql.json +1 -1
- data/grammars/source.sourcepawn.json +1 -1
- data/grammars/source.stan.json +1 -1
- data/grammars/source.sway.json +1 -1
- data/grammars/source.swift.json +1 -1
- data/grammars/source.tact.json +1 -1
- data/grammars/source.talon.json +1 -1
- data/grammars/source.templ.json +1 -1
- data/grammars/source.textgrid.json +1 -1
- data/grammars/source.toc.json +1 -1
- data/grammars/source.torrc.json +1 -0
- data/grammars/source.ts.prismaClientRawSQL.json +1 -1
- data/grammars/source.tsp.json +1 -1
- data/grammars/source.typst.json +1 -1
- data/grammars/source.uplc.json +1 -0
- data/grammars/source.vba.json +1 -1
- data/grammars/source.vento.json +1 -0
- data/grammars/source.vue.json +1 -1
- data/grammars/source.wdl.json +1 -1
- data/grammars/source.wit.json +1 -1
- data/grammars/source.xmake.json +1 -0
- data/grammars/source.zmodel.json +1 -0
- data/grammars/text.adblock.json +1 -1
- data/grammars/text.html.liquid.json +1 -1
- data/grammars/text.html.markdown.d2.json +1 -1
- data/grammars/text.html.vento.json +1 -0
- data/grammars/text.rtf.json +1 -1
- data/grammars/text.valve-cfg.json +1 -1
- data/grammars/version +1 -1
- data/lib/linguist/VERSION +1 -1
- data/lib/linguist/generated.rb +24 -2
- data/lib/linguist/heuristics.yml +65 -18
- data/lib/linguist/languages.json +1 -1
- data/lib/linguist/languages.yml +298 -33
- data/lib/linguist/samples.json +1 -1
- data/lib/linguist/shebang.rb +1 -1
- metadata +34 -14
- data/grammars/source.apache-config.json +0 -1
- data/grammars/source.apache-config.mod_perl.json +0 -1
- data/grammars/source.c.platform.json +0 -1
- data/grammars/text.html.erlang.yaws.json +0 -1
data/lib/linguist/shebang.rb
CHANGED
@@ -59,7 +59,7 @@ module Linguist
|
|
59
59
|
|
60
60
|
# Check for multiline shebang hacks that call `exec`
|
61
61
|
if script == 'sh' &&
|
62
|
-
data.lines.first(5).any? { |l| l.match(/exec (\w+)
|
62
|
+
data.lines.first(5).any? { |l| l.match(/exec (\w+)[\s"']+\$0[\s"']+\$@/) }
|
63
63
|
script = $1
|
64
64
|
end
|
65
65
|
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github-linguist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 9.
|
4
|
+
version: 9.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitHub
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: cgi
|
@@ -170,14 +169,14 @@ dependencies:
|
|
170
169
|
requirements:
|
171
170
|
- - "~>"
|
172
171
|
- !ruby/object:Gem::Version
|
173
|
-
version: '
|
172
|
+
version: '5.0'
|
174
173
|
type: :development
|
175
174
|
prerelease: false
|
176
175
|
version_requirements: !ruby/object:Gem::Requirement
|
177
176
|
requirements:
|
178
177
|
- - "~>"
|
179
178
|
- !ruby/object:Gem::Version
|
180
|
-
version: '
|
179
|
+
version: '5.0'
|
181
180
|
- !ruby/object:Gem::Dependency
|
182
181
|
name: licensee
|
183
182
|
requirement: !ruby/object:Gem::Requirement
|
@@ -209,10 +208,9 @@ dependencies:
|
|
209
208
|
description: We use this library at GitHub to detect blob languages, highlight code,
|
210
209
|
ignore binary files, suppress generated files in diffs, and generate language breakdown
|
211
210
|
graphs.
|
212
|
-
email:
|
213
211
|
executables:
|
214
|
-
- github-linguist
|
215
212
|
- git-linguist
|
213
|
+
- github-linguist
|
216
214
|
extensions:
|
217
215
|
- ext/linguist/extconf.rb
|
218
216
|
extra_rdoc_files: []
|
@@ -294,14 +292,15 @@ files:
|
|
294
292
|
- grammars/source.agda.json
|
295
293
|
- grammars/source.ahk.json
|
296
294
|
- grammars/source.aidl.json
|
295
|
+
- grammars/source.aiken.json
|
297
296
|
- grammars/source.al.json
|
298
297
|
- grammars/source.alloy.json
|
299
298
|
- grammars/source.ampl.json
|
300
299
|
- grammars/source.amxxpawn.json
|
301
300
|
- grammars/source.angelscript.json
|
301
|
+
- grammars/source.answersetprogramming.json
|
302
302
|
- grammars/source.antlr.json
|
303
|
-
- grammars/source.
|
304
|
-
- grammars/source.apache-config.mod_perl.json
|
303
|
+
- grammars/source.apacheconf.json
|
305
304
|
- grammars/source.apex.json
|
306
305
|
- grammars/source.apl.json
|
307
306
|
- grammars/source.applescript.json
|
@@ -339,13 +338,15 @@ files:
|
|
339
338
|
- grammars/source.bqn.json
|
340
339
|
- grammars/source.brs.json
|
341
340
|
- grammars/source.bsl.json
|
341
|
+
- grammars/source.bst.json
|
342
342
|
- grammars/source.bsv.json
|
343
343
|
- grammars/source.c++.json
|
344
344
|
- grammars/source.c++.qt.json
|
345
|
+
- grammars/source.c.calendar.json
|
345
346
|
- grammars/source.c.ec.json
|
346
347
|
- grammars/source.c.json
|
348
|
+
- grammars/source.c.linker.json
|
347
349
|
- grammars/source.c.nwscript.json
|
348
|
-
- grammars/source.c.platform.json
|
349
350
|
- grammars/source.c2hs.json
|
350
351
|
- grammars/source.cabal.json
|
351
352
|
- grammars/source.cadence.json
|
@@ -369,6 +370,7 @@ files:
|
|
369
370
|
- grammars/source.click.json
|
370
371
|
- grammars/source.clips.json
|
371
372
|
- grammars/source.clojure.json
|
373
|
+
- grammars/source.clue.json
|
372
374
|
- grammars/source.cm.json
|
373
375
|
- grammars/source.cmake.json
|
374
376
|
- grammars/source.cmakecache.json
|
@@ -408,6 +410,7 @@ files:
|
|
408
410
|
- grammars/source.d.json
|
409
411
|
- grammars/source.d2.json
|
410
412
|
- grammars/source.dart.json
|
413
|
+
- grammars/source.daslang.json
|
411
414
|
- grammars/source.data-weave.json
|
412
415
|
- grammars/source.dc.json
|
413
416
|
- grammars/source.dds.dspf.json
|
@@ -543,6 +546,7 @@ files:
|
|
543
546
|
- grammars/source.idl.json
|
544
547
|
- grammars/source.idris.json
|
545
548
|
- grammars/source.igor.json
|
549
|
+
- grammars/source.ilecobol.json
|
546
550
|
- grammars/source.imba.json
|
547
551
|
- grammars/source.inform7.json
|
548
552
|
- grammars/source.ini.json
|
@@ -554,7 +558,9 @@ files:
|
|
554
558
|
- grammars/source.ioke.json
|
555
559
|
- grammars/source.isabelle.root.json
|
556
560
|
- grammars/source.isabelle.theory.json
|
561
|
+
- grammars/source.ispc.json
|
557
562
|
- grammars/source.j.json
|
563
|
+
- grammars/source.jai.json
|
558
564
|
- grammars/source.janet.json
|
559
565
|
- grammars/source.jasmin.json
|
560
566
|
- grammars/source.java-properties.json
|
@@ -573,6 +579,7 @@ files:
|
|
573
579
|
- grammars/source.js.regexp.replacement.json
|
574
580
|
- grammars/source.jsdoc.json
|
575
581
|
- grammars/source.jsligo.json
|
582
|
+
- grammars/source.json.comments.json
|
576
583
|
- grammars/source.json.json
|
577
584
|
- grammars/source.jsoniq.json
|
578
585
|
- grammars/source.jsonnet.json
|
@@ -580,9 +587,11 @@ files:
|
|
580
587
|
- grammars/source.julia.json
|
581
588
|
- grammars/source.just.json
|
582
589
|
- grammars/source.kakscript.json
|
590
|
+
- grammars/source.kdl.json
|
583
591
|
- grammars/source.kerboscript.json
|
584
592
|
- grammars/source.keyvalues.json
|
585
593
|
- grammars/source.kickstart.json
|
594
|
+
- grammars/source.koka.json
|
586
595
|
- grammars/source.kotlin.json
|
587
596
|
- grammars/source.kusto.json
|
588
597
|
- grammars/source.lark.json
|
@@ -593,6 +602,7 @@ files:
|
|
593
602
|
- grammars/source.lean.markdown.json
|
594
603
|
- grammars/source.lean4.json
|
595
604
|
- grammars/source.lean4.markdown.json
|
605
|
+
- grammars/source.leo.json
|
596
606
|
- grammars/source.lex.json
|
597
607
|
- grammars/source.lex.regexp.json
|
598
608
|
- grammars/source.lid.json
|
@@ -612,6 +622,7 @@ files:
|
|
612
622
|
- grammars/source.lua.json
|
613
623
|
- grammars/source.luau.json
|
614
624
|
- grammars/source.m2.json
|
625
|
+
- grammars/source.m3u.json
|
615
626
|
- grammars/source.m4.json
|
616
627
|
- grammars/source.m68k.json
|
617
628
|
- grammars/source.mailmap.json
|
@@ -665,6 +676,7 @@ files:
|
|
665
676
|
- grammars/source.msg.json
|
666
677
|
- grammars/source.msl.json
|
667
678
|
- grammars/source.mupad.json
|
679
|
+
- grammars/source.mzn.json
|
668
680
|
- grammars/source.nanorc.json
|
669
681
|
- grammars/source.nasal.json
|
670
682
|
- grammars/source.nasl.json
|
@@ -707,8 +719,10 @@ files:
|
|
707
719
|
- grammars/source.opalsysdefs.json
|
708
720
|
- grammars/source.openbsd-pkg.contents.json
|
709
721
|
- grammars/source.openesql.json
|
722
|
+
- grammars/source.openqasm.json
|
710
723
|
- grammars/source.opentype.json
|
711
724
|
- grammars/source.opts.json
|
725
|
+
- grammars/source.overpassql.json
|
712
726
|
- grammars/source.ox.json
|
713
727
|
- grammars/source.oz.json
|
714
728
|
- grammars/source.p4.json
|
@@ -811,6 +825,7 @@ files:
|
|
811
825
|
- grammars/source.ruby.json
|
812
826
|
- grammars/source.ruby.rspec.cucumber.steps.json
|
813
827
|
- grammars/source.rust.json
|
828
|
+
- grammars/source.sail.json
|
814
829
|
- grammars/source.sas.json
|
815
830
|
- grammars/source.sass.json
|
816
831
|
- grammars/source.sassdoc.json
|
@@ -820,6 +835,7 @@ files:
|
|
820
835
|
- grammars/source.scenic.json
|
821
836
|
- grammars/source.scheme.json
|
822
837
|
- grammars/source.scilab.json
|
838
|
+
- grammars/source.scm.json
|
823
839
|
- grammars/source.sdbl.json
|
824
840
|
- grammars/source.sed.json
|
825
841
|
- grammars/source.sentinel.json
|
@@ -832,6 +848,7 @@ files:
|
|
832
848
|
- grammars/source.shen.json
|
833
849
|
- grammars/source.sieve.json
|
834
850
|
- grammars/source.singularity.json
|
851
|
+
- grammars/source.slang.json
|
835
852
|
- grammars/source.slice.json
|
836
853
|
- grammars/source.slint.json
|
837
854
|
- grammars/source.smali.json
|
@@ -880,6 +897,7 @@ files:
|
|
880
897
|
- grammars/source.toc.json
|
881
898
|
- grammars/source.toit.json
|
882
899
|
- grammars/source.toml.json
|
900
|
+
- grammars/source.torrc.json
|
883
901
|
- grammars/source.ts.json
|
884
902
|
- grammars/source.ts.prismaClientRawSQL.json
|
885
903
|
- grammars/source.tsp.json
|
@@ -892,6 +910,7 @@ files:
|
|
892
910
|
- grammars/source.ucd.nameslist.json
|
893
911
|
- grammars/source.ucd.unidata.json
|
894
912
|
- grammars/source.ucfconstraints.json
|
913
|
+
- grammars/source.uplc.json
|
895
914
|
- grammars/source.ur.json
|
896
915
|
- grammars/source.utreport.json
|
897
916
|
- grammars/source.v.json
|
@@ -902,6 +921,7 @@ files:
|
|
902
921
|
- grammars/source.vcard.json
|
903
922
|
- grammars/source.velocity.html.json
|
904
923
|
- grammars/source.velocity.json
|
924
|
+
- grammars/source.vento.json
|
905
925
|
- grammars/source.verilog.json
|
906
926
|
- grammars/source.vhdl.json
|
907
927
|
- grammars/source.vim-snippet.json
|
@@ -929,6 +949,7 @@ files:
|
|
929
949
|
- grammars/source.x86asm.json
|
930
950
|
- grammars/source.xc.json
|
931
951
|
- grammars/source.xlfd.json
|
952
|
+
- grammars/source.xmake.json
|
932
953
|
- grammars/source.xojo.json
|
933
954
|
- grammars/source.xq.json
|
934
955
|
- grammars/source.xtend.json
|
@@ -944,6 +965,7 @@ files:
|
|
944
965
|
- grammars/source.zenscript.json
|
945
966
|
- grammars/source.zig.json
|
946
967
|
- grammars/source.zil.json
|
968
|
+
- grammars/source.zmodel.json
|
947
969
|
- grammars/sp-jsdoc.injection.json
|
948
970
|
- grammars/text.adblock.json
|
949
971
|
- grammars/text.bibtex.json
|
@@ -977,7 +999,6 @@ files:
|
|
977
999
|
- grammars/text.html.elixir.json
|
978
1000
|
- grammars/text.html.ember-handlebars.json
|
979
1001
|
- grammars/text.html.erb.json
|
980
|
-
- grammars/text.html.erlang.yaws.json
|
981
1002
|
- grammars/text.html.factor.json
|
982
1003
|
- grammars/text.html.ftl.json
|
983
1004
|
- grammars/text.html.handlebars.json
|
@@ -1005,6 +1026,7 @@ files:
|
|
1005
1026
|
- grammars/text.html.statamic.json
|
1006
1027
|
- grammars/text.html.tcl.json
|
1007
1028
|
- grammars/text.html.twig.json
|
1029
|
+
- grammars/text.html.vento.json
|
1008
1030
|
- grammars/text.idl-idldoc.json
|
1009
1031
|
- grammars/text.info.json
|
1010
1032
|
- grammars/text.jade.json
|
@@ -1097,7 +1119,6 @@ licenses:
|
|
1097
1119
|
- MIT
|
1098
1120
|
metadata:
|
1099
1121
|
github_repo: ssh://github.com/github-linguist/linguist
|
1100
|
-
post_install_message:
|
1101
1122
|
rdoc_options: []
|
1102
1123
|
require_paths:
|
1103
1124
|
- lib
|
@@ -1113,8 +1134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1113
1134
|
- !ruby/object:Gem::Version
|
1114
1135
|
version: '0'
|
1115
1136
|
requirements: []
|
1116
|
-
rubygems_version: 3.
|
1117
|
-
signing_key:
|
1137
|
+
rubygems_version: 3.6.7
|
1118
1138
|
specification_version: 4
|
1119
1139
|
summary: GitHub Language detection
|
1120
1140
|
test_files: []
|
@@ -1 +0,0 @@
|
|
1
|
-
{"name":"Apache","scopeName":"source.apache-config","patterns":[{"begin":"(^[ \\t]+)?(?=#)","end":"(?!\\G)","patterns":[{"name":"comment.line.number-sign.apache-config","begin":"#","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.apache-config"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.apache-config"}}},{"name":"meta.tag.any.html","match":"^[ ]*(\u003c)([a-zA-Z0-9:]+)[^\u003e]*(\u003e(\u003c)/)(\\2)(\u003e)","captures":{"1":{"name":"punctuation.definition.tag.apache-config"},"2":{"name":"entity.name.tag.apache-config"},"3":{"name":"punctuation.definition.tag.apache-config"},"4":{"name":"meta.scope.between-tag-pair.apache-config"},"5":{"name":"entity.name.tag.apache-config"},"6":{"name":"punctuation.definition.tag.apache-config"}}},{"name":"meta.vhost.apache-config","begin":"^[ ]*((\u003c)(VirtualHost)(?:[ ]+([^\u003e]+))?(\u003e))","end":"^[ ]*((\u003c/)(VirtualHost)[^\u003e]*(\u003e))","patterns":[{"include":"$base"}],"beginCaptures":{"1":{"name":"meta.tag.apache-config"},"2":{"name":"punctuation.definition.tag.apache-config"},"3":{"name":"entity.name.tag.apache-config"},"4":{"name":"meta.toc-list.virtual-host.apache-config"},"5":{"name":"punctuation.definition.tag.apache-config"}},"endCaptures":{"1":{"name":"meta.tag.apache-config"},"2":{"name":"punctuation.definition.tag.apache-config"},"3":{"name":"entity.name.tag.apache-config"},"4":{"name":"punctuation.definition.tag.apache-config"}}},{"name":"meta.directory.apache-config","begin":"^[ ]*((\u003c)(Directory(?:Match)?)(?:[ ]+([^\u003e]+))?(\u003e))","end":"^[ ]*((\u003c/)(Directory(?:Match)?)[^\u003e]*(\u003e))","patterns":[{"include":"$base"}],"beginCaptures":{"1":{"name":"meta.tag.apache-config"},"2":{"name":"punctuation.definition.tag.apache-config"},"3":{"name":"entity.name.tag.apache-config"},"4":{"name":"meta.toc-list.directory.apache-config"},"5":{"name":"punctuation.definition.tag.apache-config"}},"endCaptures":{"1":{"name":"meta.tag.apache-config"},"2":{"name":"punctuation.definition.tag.apache-config"},"3":{"name":"entity.name.tag.apache-config"},"4":{"name":"punctuation.definition.tag.apache-config"}}},{"name":"meta.location.apache-config","begin":"^[ ]*((\u003c)(Location(?:Match)?)(?:[ ]+([^\u003e]+))?(\u003e))","end":"^[ ]*((\u003c/)(Location(?:Match)?)[^\u003e]*(\u003e))","patterns":[{"include":"$base"}],"beginCaptures":{"1":{"name":"meta.tag.apache-config"},"2":{"name":"punctuation.definition.tag.apache-config"},"3":{"name":"entity.name.tag.apache-config"},"4":{"name":"meta.toc-list.location.apache-config"},"5":{"name":"punctuation.definition.tag.apache-config"}},"endCaptures":{"1":{"name":"meta.tag.apache-config"},"2":{"name":"punctuation.definition.tag.apache-config"},"3":{"name":"entity.name.tag.apache-config"},"4":{"name":"punctuation.definition.tag.apache-config"}}},{"name":"source.include.apache-config","begin":"(^Include)","end":"(\\n)","patterns":[{"name":"text.include.apache-config","match":"(.*)"}],"beginCaptures":{"1":{"name":"support.constant.include.start.apache-config"}},"endCaptures":{"1":{"name":"support.constant.include.end.apache-config"}}},{"begin":"^[ ]*\\b(RewriteCond)\\b","end":"$","patterns":[{"begin":"[ ]+","end":"$","patterns":[{"include":"#vars"},{"name":"string.regexp.rewrite-test.apache-config","match":"[^ %\\n]+"},{"begin":"[ ]+","end":"$","patterns":[{"name":"string.other.rewrite-condition.apache-config","match":"[^ %\\n]+"},{"match":"[ ]+(\\[[^\\]]+\\])","captures":{"1":{"name":"string.regexp.rewrite-operator.apache-config"}}}]}]}],"captures":{"1":{"name":"support.constant.rewritecond.apache-config"}}},{"begin":"^[ ]*\\b(RewriteRule)\\b","end":"$","patterns":[{"begin":"[ ]+","end":"$","patterns":[{"include":"#vars"},{"name":"string.regexp.rewrite-pattern.apache-config","match":"[^ %]+"},{"begin":"[ ]+","end":"$","patterns":[{"include":"#vars"},{"name":"string.other.rewrite-substitution.apache-config","match":"[^ %\\n]+"},{"match":"[ ]+(\\[[^\\]]+\\])","captures":{"1":{"name":"string.regexp.rewrite-operator.apache-config"}}}]}]}],"captures":{"1":{"name":"support.constant.rewriterule.apache-config"}}},{"name":"support.constant.apache-config","match":"\\b(R(e(sourceConfig|direct(Match|Temp|Permanent)?|qu(ire|estHeader)|ferer(Ignore|Log)|write(Rule|Map|Base|Cond|Options|Engine|Lo(ck|g(Level)?))|admeName|move(Handler|Charset|Type|InputFilter|OutputFilter|Encoding|Language))|Limit(MEM|NPROC|CPU))|Group|XBitHack|M(MapFile|i(nSpare(Servers|Threads)|meMagicFile)|odMimeUsePathInfo|Cache(RemovalAlgorithm|M(inObjectSize|ax(StreamingBuffer|Object(Size|Count)))|Size)|ultiviewsMatch|eta(Suffix|Dir|Files)|ax(RequestsPer(Child|Thread)|MemFree|Spare(Servers|Threads)|Clients|Threads(PerChild)?|KeepAliveRequests))|B(indAddress|S2000Account|rowserMatch(NoCase)?)|S(hmemUIDisUser|c(oreBoardFile|ript(Sock|InterpreterSource|Log(Buffer|Length)?|Alias(Match)?)?)|tart(Servers|Threads)|S(I(StartTag|TimeFormat|UndefinedEcho|E(ndTag|rrorMsg))|L(R(equire(SSL)?|andomSeed)|Mutex|SessionCache(Timeout)?|C(ipherSuite|ertificate(ChainFile|KeyFile|File)|A(Revocation(Path|File)|Certificate(Path|File)))|Options|P(assPhraseDialog|ro(tocol|xy(MachineCertificate(Path|File)|C(ipherSuite|A(Revocation(Path|File)|Certificate(Path|File)))|Protocol|Engine|Verify(Depth)?)))|Engine|Verify(Client|Depth)))|uexecUserGroup|e(ndBufferSize|cureListen|t(Handler|InputFilter|OutputFilter|Env(If(NoCase)?)?)|rver(Root|Signature|Name|T(ype|okens)|Path|Limit|A(dmin|lias)))|atisfy)|H(ostnameLookups|eader(Name)?)|N(o(Cache|Proxy)|umServers|ameVirtualHost|WSSL(TrustedCerts|Upgradeable))|C(h(ildPerUserID|eckSpelling|arset(SourceEnc|Options|Default))|GI(MapExtension|CommandArgs)|o(ntentDigest|okie(Style|Name|Tracking|Domain|Prefix|Expires|Format|Log)|reDumpDirectory)|ustomLog|learModuleList|ache(Root|Gc(MemUsage|Clean|Interval|Daily|Unused)|M(inFileSize|ax(Expire|FileSize))|Size|NegotiatedDocs|TimeMargin|Ignore(NoLastMod|CacheControl)|D(i(sable|rLe(ngth|vels))|efaultExpire)|E(nable|xpiryCheck)|F(ile|orceCompletion)|LastModifiedFactor))|T(hread(sPerChild|StackSize|Limit)|ypesConfig|ime(out|Out)|ransferLog)|I(n(clude|dex(Ignore|O(ptions|rderDefault)))|SAPI(ReadAheadBuffer|CacheFile|FakeAsync|LogNotSupported|AppendLogTo(Errors|Query))|dentityCheck|f(Module|Define)|map(Menu|Base|Default))|O(ptions|rder)|D(irectory(Match|Slash|Index)?|ocumentRoot|e(ny|f(late(MemLevel|BufferSize|CompressionLevel|FilterNote|WindowSize)|ault(Type|Icon|Language)))|av(MinTimeout|DepthInfinity|LockDB)?)|U(se(CanonicalName|r(Dir)?)|nsetEnv)|P(idFile|ort|assEnv|ro(tocol(ReqCheck|Echo)|xy(Re(ceiveBufferSize|quests|mote(Match)?)|Ma(tch|xForwards)|B(lock|adHeader)|Timeout|IOBufferSize|Domain|P(ass(Reverse)?|reserveHost)|ErrorOverride|Via)?))|E(nable(MMAP|Sendfile|ExceptionHook)|BCDIC(Convert(ByType)?|Kludge)|rror(Header|Document|Log)|x(t(endedStatus|Filter(Options|Define))|pires(ByType|Default|Active)|ample))|Virtual(ScriptAlias(IP)?|Host|DocumentRoot(IP)?)|KeepAlive(Timeout)?|F(ile(s(Match)?|ETag)|or(ce(Type|LanguagePriority)|ensicLog)|ancyIndexing)|Win32DisableAcceptEx|L(i(sten(Back(log|Log))?|mit(Request(Body|Field(s(ize)?|Size)|Line)|XMLRequestBody|InternalRecursion|Except)?)|o(c(kFile|ation(Match)?)|ad(Module|File)|g(Format|Level))|DAP(SharedCache(Size|File)|Cache(TTL|Entries)|TrustedCA(Type)?|OpCache(TTL|Entries))|anguagePriority)|A(ssignUserID|nonymous(_(MustGiveEmail|NoUserID|VerifyEmail|LogEmail|Authoritative))?|c(ce(ss(Config|FileName)|pt(Mutex|PathInfo|Filter))|tion)|dd(Module(Info)?|Handler|Charset|Type|I(nputFilter|con(By(Type|Encoding))?)|OutputFilter(ByType)?|De(scription|faultCharset)|Encoding|Language|Alt(By(Type|Encoding))?)|uth(GroupFile|Name|Type|D(B(GroupFile|M(GroupFile|Type|UserFile|Authoritative)|UserFile|Authoritative)|igest(GroupFile|ShmemSize|N(cCheck|once(Format|Lifetime))|Domain|Qop|File|Algorithm))|UserFile|LDAP(RemoteUserIsDN|GroupAttribute(IsDN)?|Bind(DN|Password)|C(harsetConfig|ompareDNOnServer)|DereferenceAliases|Url|Enabled|FrontPageHack|Authoritative)|Authoritative)|l(ias(Match)?|low(CONNECT|Override|EncodedSlashes)?)|gentLog)|MIMEMagicFile|WSGI(.[^ ]+))\\b"},{"name":"support.class.apache-config","match":"\\b(access_module|actions_module|action_module|alias_module|anon_auth_module|asis_module|authn_alias_module|authn_anon_module|authn_dbd_module|authn_dbm_module|authn_default_module|authn_file_module|authnz_ldap_module|authz_dbm_module|authz_default_module|authz_groupfile_module|authz_host_module|authz_owner_module|authz_user_module|auth_basic_module|auth_digest_module|auth_module|autoindex_module|bonjour_module|cache_module|cern_meta_module|cgi_module|config_log_module|dav_fs_module|dav_module|dbd_module|dbm_auth_module|deflate_module|digest_module|dir_module|disk_cache_module|dumpio_module|env_module|expires_module|ext_filter_module|fastcgi_module|filter_module|foo_module|headers_module|hfs_apple_module|ident_module|imagemap_module|imap_module|includes_module|include_module|info_module|jk_module|ldap_module|logio_module|log_config_module|log_forensic_module|mem_cache_module|mime_magic_module|mime_module|negotiation_module|perl_module|php4_module|php5_module|proxy_ajp_module|proxy_balancer_module|proxy_connect_module|proxy_ftp_module|proxy_http_module|proxy_module|rendezvous_apple_module|rendezvous_module|rewrite_module|setenvif_module|speling_module|ssl_module|status_module|suexec_module|substitute_module|unique_id_module|userdir_module|usertrack_module|version_module|vhost_alias_module|wsgi_module)\\b"},{"name":"string.quoted.double.apache-config","begin":"\"","end":"\"(?!\")","patterns":[{"name":"constant.character.escape.apostrophe.apache","match":"\"\""}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.apache-config"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.apache-config"}}},{"name":"meta.tag.apache-config","begin":"(\u003c/?)([a-zA-Z]+)","end":"(/?\u003e)","captures":{"1":{"name":"punctuation.definition.tag.apache-config"},"2":{"name":"entity.name.tag.apache-config"}}}],"repository":{"vars":{"patterns":[{"name":"support.variable.apache-config","match":"(%\\{)(?:API_VERSION|AUTH_TYPE|CONN_REMOTE_ADDR|CONTEXT_(?:PREFIX|DOCUMENT_ROOT)|DOCUMENT_ROOT|HTTP(S|_(?:ACCEPT|COOKIE|FORWARDED|HOST|PROXY_CONNECTION|REFERER|USER_AGENT))|IPV6|IS_SUBREQ|REMOTE_(?:ADDR|HOST|IDENT|PORT|USER)|REQUEST_(?:FILENAME|METHOD|SCHEME|URI)|SCRIPT_(?:FILENAME|GROUP|USER)|PATH_INFO|QUERY_STRING|SERVER_(?:ADDR|ADMIN|NAME|PORT|PROTOCOL|SOFTWARE)|THE_REQUEST|TIME_(?:YEAR|MON|DAY|HOUR|MIN|SEC|WDAY)|TIME|(?:ENV|HTTP|LA-F|LA-U|SSL):[^\\}]+)(\\})","captures":{"1":{"name":"punctuation.definition.variable.apache-config"},"3":{"name":"punctuation.definition.variable.apache-config"}}},{"name":"invalid.illegal.bad-var.apache-config","match":"%\\{[^\\}]+\\}"}]}}}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"name":"mod_perl","scopeName":"source.apache-config.mod_perl","patterns":[{"name":"comment.block.documentation.apache-config.mod_perl","begin":"^=","end":"^=cut","captures":{"0":{"name":"punctuation.definition.comment.mod_perl"}}},{"name":"support.constant.apache-config.mod_perl","match":"\\b(PerlAddVar|PerlConfigRequire|PerlLoadModule|PerlModule|PerlOptions|PerlPassEnv|PerlPostConfigRequire|PerlRequire|PerlSetEnv|PerlSetVar|PerlSwitches|SetHandler|PerlOpenLogsHandler|PerlPostConfigHandler|PerlChildInitHandler|PerlChildExitHandler|PerlPreConnectionHandler|PerlProcessConnectionHandler|PerlInputFilterHandler|PerlOutputFilterHandler|PerlSetInputFilter|PerlSetOutputFilter|PerlPostReadRequestHandler|PerlTransHandler|PerlMapToStorageHandler|PerlInitHandler|PerlHeaderParserHandler|PerlAccessHandler|PerlAuthenHandler|PerlAuthzHandler|PerlTypeHandler|PerlFixupHandler|PerlResponseHandler|PerlLogHandler|PerlCleanupHandler|PerlInterpStart|PerlInterpMax|PerlInterpMinSpare|PerlInterpMaxSpare|PerlInterpMaxRequests|PerlInterpScope|PerlTrace)\\b"},{"name":"support.constant.apache-config.mod_perl_1.mod_perl","match":"\\b(PerlHandler|PerlScript|PerlSendHeader|PerlSetupEnv|PerlTaintCheck|PerlWarn|PerlFreshRestart)\\b"},{"name":"meta.perl-section.apache-config.mod_perl","begin":"^\\s*((\u003c)(Perl)(\u003e))","end":"^\\s*((\u003c/)(Perl)(\u003e))","patterns":[{"include":"source.perl"}],"beginCaptures":{"1":{"name":"meta.tag.apache-config"},"2":{"name":"punctuation.definition.tag.apache-config"},"3":{"name":"entity.name.tag.apache-config"},"4":{"name":"punctuation.definition.tag.apache-config"}},"endCaptures":{"1":{"name":"meta.tag.apache-config"},"2":{"name":"punctuation.definition.tag.apache-config"},"3":{"name":"entity.name.tag.apache-config"},"4":{"name":"punctuation.definition.tag.apache-config"}}},{"include":"source.apache-config"}]}
|