github-linguist-grammars 4.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/grammars/file.lasso.json +713 -0
- data/grammars/module.ceylon.json +54 -0
- data/grammars/objdump.x86asm.json +73 -0
- data/grammars/source.Inform7.json +45 -0
- data/grammars/source.Kotlin.json +774 -0
- data/grammars/source.LS.json +104 -0
- data/grammars/source.MCPOST.json +68 -0
- data/grammars/source.MOD.json +70 -0
- data/grammars/source.abap.json +176 -0
- data/grammars/source.abl.json +138 -0
- data/grammars/source.actionscript.3.json +1571 -0
- data/grammars/source.acucobol.json +16 -0
- data/grammars/source.ada.json +140 -0
- data/grammars/source.agda.json +254 -0
- data/grammars/source.ahk.json +171 -0
- data/grammars/source.alloy.json +44 -0
- data/grammars/source.ampl.json +157 -0
- data/grammars/source.antlr.json +300 -0
- data/grammars/source.apache-config.json +352 -0
- data/grammars/source.apache-config.mod_perl.json +70 -0
- data/grammars/source.apl.json +442 -0
- data/grammars/source.applescript.json +1385 -0
- data/grammars/source.apt.json +25 -0
- data/grammars/source.asm.x86.json +182 -0
- data/grammars/source.asp.json +157 -0
- data/grammars/source.aspectj.json +963 -0
- data/grammars/source.ats.json +170 -0
- data/grammars/source.autoit.3.json +132 -0
- data/grammars/source.awk.json +388 -0
- data/grammars/source.befunge.json +38 -0
- data/grammars/source.bf.json +36 -0
- data/grammars/source.bison.json +59 -0
- data/grammars/source.blitzmax.json +912 -0
- data/grammars/source.boo.json +452 -0
- data/grammars/source.brightauthorproject.json +29 -0
- data/grammars/source.brightscript.json +158 -0
- data/grammars/source.bro.json +409 -0
- data/grammars/source.bsv.json +283 -0
- data/grammars/source.c++.json +364 -0
- data/grammars/source.c++.qt.json +37 -0
- data/grammars/source.c.ec.json +39 -0
- data/grammars/source.c.json +727 -0
- data/grammars/source.c.platform.json +154 -0
- data/grammars/source.cache.cmake.json +75 -0
- data/grammars/source.cake.json +16 -0
- data/grammars/source.camlp4.ocaml.json +63 -0
- data/grammars/source.capnp.json +93 -0
- data/grammars/source.ceylon.json +77 -0
- data/grammars/source.cfscript.cfc.json +170 -0
- data/grammars/source.cfscript.json +744 -0
- data/grammars/source.chapel.json +240 -0
- data/grammars/source.cirru.json +66 -0
- data/grammars/source.clarion.json +159 -0
- data/grammars/source.clips.json +80 -0
- data/grammars/source.clojure.json +397 -0
- data/grammars/source.cm.json +54 -0
- data/grammars/source.cmake.json +181 -0
- data/grammars/source.cobol.json +528 -0
- data/grammars/source.coffee.json +678 -0
- data/grammars/source.compiled-papyrus.json +11 -0
- data/grammars/source.cool.json +103 -0
- data/grammars/source.coq.json +62 -0
- data/grammars/source.crystal.json +2760 -0
- data/grammars/source.cs.json +556 -0
- data/grammars/source.css.json +630 -0
- data/grammars/source.css.less.json +276 -0
- data/grammars/source.css.mss.json +256 -0
- data/grammars/source.csx.json +16 -0
- data/grammars/source.cuda-c++.json +137 -0
- data/grammars/source.cython.json +2108 -0
- data/grammars/source.d.json +722 -0
- data/grammars/source.dart.json +763 -0
- data/grammars/source.desktop.json +90 -0
- data/grammars/source.diff.json +162 -0
- data/grammars/source.dockerfile.json +89 -0
- data/grammars/source.dosbatch.json +70 -0
- data/grammars/source.dot.json +126 -0
- data/grammars/source.dylan.json +217 -0
- data/grammars/source.eiffel.json +138 -0
- data/grammars/source.elixir.json +737 -0
- data/grammars/source.elm.json +355 -0
- data/grammars/source.erazor.json +126 -0
- data/grammars/source.erlang.json +1674 -0
- data/grammars/source.essl.json +50 -0
- data/grammars/source.factor.json +260 -0
- data/grammars/source.fan.json +188 -0
- data/grammars/source.fancy.json +270 -0
- data/grammars/source.fish.json +214 -0
- data/grammars/source.forth.json +101 -0
- data/grammars/source.fortran.json +499 -0
- data/grammars/source.fortran.modern.json +226 -0
- data/grammars/source.fsharp.json +403 -0
- data/grammars/source.gap.json +167 -0
- data/grammars/source.gcode.json +25 -0
- data/grammars/source.gdscript.json +154 -0
- data/grammars/source.gfm.json +1270 -0
- data/grammars/source.glsl.json +71 -0
- data/grammars/source.gnuplot.json +276 -0
- data/grammars/source.go.json +552 -0
- data/grammars/source.golo.json +182 -0
- data/grammars/source.gosu.2.json +163 -0
- data/grammars/source.grace.json +679 -0
- data/grammars/source.groovy.gradle.json +73 -0
- data/grammars/source.groovy.json +1385 -0
- data/grammars/source.harbour.json +450 -0
- data/grammars/source.haskell.json +449 -0
- data/grammars/source.haxe.2.json +1243 -0
- data/grammars/source.hss.1.json +464 -0
- data/grammars/source.httpspec.json +287 -0
- data/grammars/source.hxml.json +26 -0
- data/grammars/source.hy.json +270 -0
- data/grammars/source.idl-dlm.json +112 -0
- data/grammars/source.idl.json +267 -0
- data/grammars/source.idris.json +537 -0
- data/grammars/source.ini.json +113 -0
- data/grammars/source.inno.json +65 -0
- data/grammars/source.io.json +164 -0
- data/grammars/source.ioke.json +272 -0
- data/grammars/source.isabelle.root.json +68 -0
- data/grammars/source.isabelle.theory.json +106 -0
- data/grammars/source.j.json +49 -0
- data/grammars/source.jade.json +1009 -0
- data/grammars/source.jasmin.json +299 -0
- data/grammars/source.java-properties.json +97 -0
- data/grammars/source.java.json +1026 -0
- data/grammars/source.jcl.json +49 -0
- data/grammars/source.jflex.json +490 -0
- data/grammars/source.jq.json +218 -0
- data/grammars/source.js.json +948 -0
- data/grammars/source.js.jsx.json +2937 -0
- data/grammars/source.js.objj.json +424 -0
- data/grammars/source.js.regexp.json +150 -0
- data/grammars/source.js.regexp.replacement.json +30 -0
- data/grammars/source.json.json +149 -0
- data/grammars/source.julia.json +407 -0
- data/grammars/source.lean.json +145 -0
- data/grammars/source.lid.json +23 -0
- data/grammars/source.lilypond.json +623 -0
- data/grammars/source.lisp.json +111 -0
- data/grammars/source.litcoffee.json +669 -0
- data/grammars/source.livescript.json +616 -0
- data/grammars/source.llvm.json +71 -0
- data/grammars/source.logos.json +31 -0
- data/grammars/source.logtalk.json +315 -0
- data/grammars/source.loomscript.json +214 -0
- data/grammars/source.lsl.json +216 -0
- data/grammars/source.lua.json +191 -0
- data/grammars/source.makefile.json +474 -0
- data/grammars/source.makegen.json +13 -0
- data/grammars/source.man.json +53 -0
- data/grammars/source.mask.json +701 -0
- data/grammars/source.mata.json +133 -0
- data/grammars/source.mathematica.json +429 -0
- data/grammars/source.matlab.json +776 -0
- data/grammars/source.mercury.json +251 -0
- data/grammars/source.ml.json +291 -0
- data/grammars/source.modelica.json +142 -0
- data/grammars/source.modula2.json +103 -0
- data/grammars/source.monkey.json +701 -0
- data/grammars/source.moonscript.json +149 -0
- data/grammars/source.mupad.json +149 -0
- data/grammars/source.nant-build.json +86 -0
- data/grammars/source.ncl.json +66 -0
- data/grammars/source.nemerle.json +137 -0
- data/grammars/source.nesc.json +27 -0
- data/grammars/source.netlinx.erb.json +47 -0
- data/grammars/source.netlinx.json +768 -0
- data/grammars/source.nginx.json +797 -0
- data/grammars/source.nim.json +1150 -0
- data/grammars/source.nim_filter.json +133 -0
- data/grammars/source.nimcfg.json +116 -0
- data/grammars/source.ninja.json +66 -0
- data/grammars/source.nit.json +238 -0
- data/grammars/source.nix.json +1200 -0
- data/grammars/source.nmml.json +87 -0
- data/grammars/source.nsis.json +150 -0
- data/grammars/source.objc++.json +19 -0
- data/grammars/source.objc.json +918 -0
- data/grammars/source.objc.platform.json +277 -0
- data/grammars/source.ocaml.json +1426 -0
- data/grammars/source.ocamllex.json +305 -0
- data/grammars/source.ocamlyacc.json +346 -0
- data/grammars/source.octave.json +451 -0
- data/grammars/source.ooc.json +692 -0
- data/grammars/source.opa.json +206 -0
- data/grammars/source.opal.json +415 -0
- data/grammars/source.opalsysdefs.json +70 -0
- data/grammars/source.opencobol.json +65 -0
- data/grammars/source.ox.json +97 -0
- data/grammars/source.oz.json +84 -0
- data/grammars/source.papyrus-assembly.json +266 -0
- data/grammars/source.papyrus.json +231 -0
- data/grammars/source.parrot.pir.json +117 -0
- data/grammars/source.pascal.json +150 -0
- data/grammars/source.perl.6.json +310 -0
- data/grammars/source.perl.json +2413 -0
- data/grammars/source.php.zephir.json +362 -0
- data/grammars/source.pig_latin.json +172 -0
- data/grammars/source.pike.json +62 -0
- data/grammars/source.plsql.oracle.json +642 -0
- data/grammars/source.po.json +232 -0
- data/grammars/source.pogoscript.json +85 -0
- data/grammars/source.postscript.json +231 -0
- data/grammars/source.powershell.json +755 -0
- data/grammars/source.processing.json +885 -0
- data/grammars/source.prolog.eclipse.json +206 -0
- data/grammars/source.prolog.json +292 -0
- data/grammars/source.protobuf.json +395 -0
- data/grammars/source.pubspec.json +13 -0
- data/grammars/source.puppet.json +494 -0
- data/grammars/source.purescript.json +818 -0
- data/grammars/source.pyjade.json +1010 -0
- data/grammars/source.python.django.json +34 -0
- data/grammars/source.python.json +1960 -0
- data/grammars/source.python.salt.json +13 -0
- data/grammars/source.qmake.json +217 -0
- data/grammars/source.qml.json +195 -0
- data/grammars/source.r.json +203 -0
- data/grammars/source.racket.json +119 -0
- data/grammars/source.rebol.json +647 -0
- data/grammars/source.red.json +652 -0
- data/grammars/source.regexp.babel.json +190 -0
- data/grammars/source.regexp.python.json +187 -0
- data/grammars/source.regexp.spin.json +188 -0
- data/grammars/source.ruby.json +1956 -0
- data/grammars/source.ruby.rspec.cucumber.steps.json +274 -0
- data/grammars/source.rust.json +269 -0
- data/grammars/source.sas.json +322 -0
- data/grammars/source.sas_log.json +26 -0
- data/grammars/source.sass.json +248 -0
- data/grammars/source.sbt.json +36 -0
- data/grammars/source.scad.json +152 -0
- data/grammars/source.scala.json +739 -0
- data/grammars/source.scaml.json +466 -0
- data/grammars/source.scheme.json +370 -0
- data/grammars/source.scilab.json +103 -0
- data/grammars/source.scss.json +1321 -0
- data/grammars/source.shell.json +1212 -0
- data/grammars/source.smali.json +1668 -0
- data/grammars/source.smalltalk.json +135 -0
- data/grammars/source.smt.json +173 -0
- data/grammars/source.sp.json +118 -0
- data/grammars/source.sparql.json +23 -0
- data/grammars/source.spin.json +936 -0
- data/grammars/source.sqf.json +112 -0
- data/grammars/source.sql.json +473 -0
- data/grammars/source.stata.json +208 -0
- data/grammars/source.strings.json +53 -0
- data/grammars/source.stylus.json +1021 -0
- data/grammars/source.swift.json +965 -0
- data/grammars/source.systemverilog.json +1050 -0
- data/grammars/source.tcl.json +277 -0
- data/grammars/source.tea.json +180 -0
- data/grammars/source.thrift.json +704 -0
- data/grammars/source.toml.json +327 -0
- data/grammars/source.ts.json +1094 -0
- data/grammars/source.tsx.json +1324 -0
- data/grammars/source.turtle.json +505 -0
- data/grammars/source.txl.json +62 -0
- data/grammars/source.ucfconstraints.json +72 -0
- data/grammars/source.vala.json +814 -0
- data/grammars/source.varnish.vcl.json +343 -0
- data/grammars/source.vbnet.json +338 -0
- data/grammars/source.verilog.json +302 -0
- data/grammars/source.vhdl.json +1349 -0
- data/grammars/source.viml.json +224 -0
- data/grammars/source.webidl.json +814 -0
- data/grammars/source.x10.json +68 -0
- data/grammars/source.x86asm.json +47 -0
- data/grammars/source.xc.json +379 -0
- data/grammars/source.xq.json +241 -0
- data/grammars/source.xquery.json +193 -0
- data/grammars/source.xtend.json +733 -0
- data/grammars/source.yaml.json +334 -0
- data/grammars/source.yaml.salt.json +348 -0
- data/grammars/text.bibtex.json +251 -0
- data/grammars/text.cfml.basic.json +736 -0
- data/grammars/text.dart-analysis-output.json +162 -0
- data/grammars/text.dart-doccomments.json +19 -0
- data/grammars/text.elixir.json +45 -0
- data/grammars/text.gherkin.feature.json +135 -0
- data/grammars/text.groff.json +113 -0
- data/grammars/text.haml.json +299 -0
- data/grammars/text.html.abl.json +24 -0
- data/grammars/text.html.asciidoc.json +492 -0
- data/grammars/text.html.asdoc.json +541 -0
- data/grammars/text.html.asp.json +58 -0
- data/grammars/text.html.basic.json +552 -0
- data/grammars/text.html.cfm.json +811 -0
- data/grammars/text.html.creole.json +329 -0
- data/grammars/text.html.django.json +69 -0
- data/grammars/text.html.elixir.json +18 -0
- data/grammars/text.html.erb.json +157 -0
- data/grammars/text.html.erlang.yaws.json +72 -0
- data/grammars/text.html.factor.json +27 -0
- data/grammars/text.html.handlebars.json +783 -0
- data/grammars/text.html.jsp.json +1203 -0
- data/grammars/text.html.liquid.json +35 -0
- data/grammars/text.html.mako.json +729 -0
- data/grammars/text.html.markdown.source.gfm.apib.json +1297 -0
- data/grammars/text.html.markdown.source.gfm.mson.json +1165 -0
- data/grammars/text.html.mediawiki.json +972 -0
- data/grammars/text.html.php.json +2607 -0
- data/grammars/text.html.slash.json +313 -0
- data/grammars/text.html.smarty.json +216 -0
- data/grammars/text.html.ssp.json +49 -0
- data/grammars/text.html.tcl.json +44 -0
- data/grammars/text.html.twig.json +1353 -0
- data/grammars/text.html.vue.json +642 -0
- data/grammars/text.idl-idldoc.json +14 -0
- data/grammars/text.junit-test-report.json +92 -0
- data/grammars/text.log.latex.json +86 -0
- data/grammars/text.python.console.json +25 -0
- data/grammars/text.python.traceback.json +46 -0
- data/grammars/text.rdoc.json +48 -0
- data/grammars/text.restructuredtext.json +561 -0
- data/grammars/text.robot.json +73 -0
- data/grammars/text.shell-session.json +48 -0
- data/grammars/text.slim.json +527 -0
- data/grammars/text.tex.json +271 -0
- data/grammars/text.tex.latex.beamer.json +63 -0
- data/grammars/text.tex.latex.haskell.json +56 -0
- data/grammars/text.tex.latex.json +1013 -0
- data/grammars/text.tex.latex.memoir.json +99 -0
- data/grammars/text.tex.latex.rd.json +117 -0
- data/grammars/text.xml.ant.json +202 -0
- data/grammars/text.xml.flex-config.json +2634 -0
- data/grammars/text.xml.genshi.json +34 -0
- data/grammars/text.xml.json +364 -0
- data/grammars/text.xml.pom.json +774 -0
- data/grammars/text.xml.xsl.json +94 -0
- data/grammars/text.zone_file.json +72 -0
- data/lib/linguist/grammars.rb +13 -0
- metadata +389 -0
@@ -0,0 +1,16 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
|
4
|
+
],
|
5
|
+
"name": "ACUCOBOL",
|
6
|
+
"patterns": [
|
7
|
+
{
|
8
|
+
"match": "(^......[ a-zA-Z0-9\\-]...................................................................*$)",
|
9
|
+
"name": "invalid.illegal.cobol"
|
10
|
+
},
|
11
|
+
{
|
12
|
+
"include": "source.cobol"
|
13
|
+
}
|
14
|
+
],
|
15
|
+
"scopeName": "source.acucobol"
|
16
|
+
}
|
@@ -0,0 +1,140 @@
|
|
1
|
+
{
|
2
|
+
"comment": "Ada -- chris@cjack.com. Feel free to modify, distribute, be happy. Share and enjoy.",
|
3
|
+
"fileTypes": [
|
4
|
+
"adb",
|
5
|
+
"ads"
|
6
|
+
],
|
7
|
+
"keyEquivalent": "^~A",
|
8
|
+
"name": "Ada",
|
9
|
+
"patterns": [
|
10
|
+
{
|
11
|
+
"captures": {
|
12
|
+
"1": {
|
13
|
+
"name": "storage.type.function.ada"
|
14
|
+
},
|
15
|
+
"2": {
|
16
|
+
"name": "entity.name.function.ada"
|
17
|
+
}
|
18
|
+
},
|
19
|
+
"match": "\\b(?i:(function|procedure))\\b\\s+(\\w+(\\.\\w+)?|\"(?:\\+|-|=|\\*|/)\")",
|
20
|
+
"name": "meta.function.ada"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"captures": {
|
24
|
+
"1": {
|
25
|
+
"name": "storage.type.package.ada"
|
26
|
+
},
|
27
|
+
"2": {
|
28
|
+
"name": "keyword.other.body.ada"
|
29
|
+
},
|
30
|
+
"3": {
|
31
|
+
"name": "entity.name.type.package.ada"
|
32
|
+
}
|
33
|
+
},
|
34
|
+
"match": "\\b(?i:(package)(?:\\b\\s+(body))?)\\b\\s+(\\w+(\\.\\w+)*|\"(?:\\+|-|=|\\*|/)\")",
|
35
|
+
"name": "meta.function.ada"
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"captures": {
|
39
|
+
"1": {
|
40
|
+
"name": "storage.type.function.ada"
|
41
|
+
},
|
42
|
+
"2": {
|
43
|
+
"name": "entity.name.function.ada"
|
44
|
+
}
|
45
|
+
},
|
46
|
+
"match": "\\b(?i:(end))\\b\\s+(\\w+(\\.\\w+)*|\"(\\+|-|=|\\*|/)\")\\s?;",
|
47
|
+
"name": "meta.function.end.ada"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"captures": {
|
51
|
+
"1": {
|
52
|
+
"name": "keyword.control.import.limited.ada"
|
53
|
+
},
|
54
|
+
"2": {
|
55
|
+
"name": "keyword.control.import.private.ada"
|
56
|
+
},
|
57
|
+
"3": {
|
58
|
+
"name": "keyword.control.import.ada"
|
59
|
+
},
|
60
|
+
"4": {
|
61
|
+
"name": "entity.name.function.ada"
|
62
|
+
}
|
63
|
+
},
|
64
|
+
"match": "^\\s*(?:(limited)\\s+)?(?:(private)\\s+)?(with)\\s+(\\w+(\\.\\w+)*)\\s*;",
|
65
|
+
"name": "meta.import.ada"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"match": "\\b(?i:(begin|end|package))\\b",
|
69
|
+
"name": "keyword.control.ada"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"match": "\\b(?i:(\\=>|abort|abs|abstract|accept|access|aliased|all|and|array|at|body|case|constant|declare|delay|delta|digits|do|else|elsif|entry|exception|exit|for|function|generic|goto|if|in|interface|is|limited|loop|mod|new|not|null|of|or|others|out|overriding|pragma|private|procedure|protected|raise|range|record|rem|renames|requeue|return|reverse|select|separate|some|subtype|synchronized|tagged|task|terminate|then|type|until|use|when|while|with|xor))\\b",
|
73
|
+
"name": "keyword.other.ada"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"match": "\\b(?i:([0-9](_?[0-9])*((#[0-9a-f](_?[0-9a-f])*#((e(\\+|-)?[0-9](_?[0-9])*\\b)|\\B))|((\\.[0-9](_?[0-9])*)?(e(\\+|-)?[0-9](_?[0-9])*)?\\b))))",
|
77
|
+
"name": "constant.numeric.ada"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"begin": "\"",
|
81
|
+
"beginCaptures": {
|
82
|
+
"0": {
|
83
|
+
"name": "punctuation.definition.string.begin.ada"
|
84
|
+
}
|
85
|
+
},
|
86
|
+
"end": "\"(?!\")",
|
87
|
+
"endCaptures": {
|
88
|
+
"0": {
|
89
|
+
"name": "punctuation.definition.string.end.ada"
|
90
|
+
}
|
91
|
+
},
|
92
|
+
"name": "string.quoted.double.ada",
|
93
|
+
"patterns": [
|
94
|
+
{
|
95
|
+
"match": "\"\"",
|
96
|
+
"name": "constant.character.escape.ada"
|
97
|
+
},
|
98
|
+
{
|
99
|
+
"match": "\\n",
|
100
|
+
"name": "invalid.illegal.lf-in-string.ada"
|
101
|
+
}
|
102
|
+
]
|
103
|
+
},
|
104
|
+
{
|
105
|
+
"captures": {
|
106
|
+
"1": {
|
107
|
+
"name": "punctuation.definition.string.begin.ada"
|
108
|
+
},
|
109
|
+
"2": {
|
110
|
+
"name": "punctuation.definition.string.end.ada"
|
111
|
+
}
|
112
|
+
},
|
113
|
+
"match": "(').(')",
|
114
|
+
"name": "string.quoted.single.ada"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"begin": "(^[ \\t]+)?(?=--)",
|
118
|
+
"beginCaptures": {
|
119
|
+
"1": {
|
120
|
+
"name": "punctuation.whitespace.comment.leading.ada"
|
121
|
+
}
|
122
|
+
},
|
123
|
+
"end": "(?!\\G)",
|
124
|
+
"patterns": [
|
125
|
+
{
|
126
|
+
"begin": "--",
|
127
|
+
"beginCaptures": {
|
128
|
+
"0": {
|
129
|
+
"name": "punctuation.definition.comment.ada"
|
130
|
+
}
|
131
|
+
},
|
132
|
+
"end": "\\n",
|
133
|
+
"name": "comment.line.double-dash.ada"
|
134
|
+
}
|
135
|
+
]
|
136
|
+
}
|
137
|
+
],
|
138
|
+
"scopeName": "source.ada",
|
139
|
+
"uuid": "0AB8A36E-6B1D-11D9-B034-000D93589AF6"
|
140
|
+
}
|
@@ -0,0 +1,254 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"agda"
|
4
|
+
],
|
5
|
+
"keyEquivalent": "^~A",
|
6
|
+
"name": "Agda",
|
7
|
+
"patterns": [
|
8
|
+
{
|
9
|
+
"begin": "\\b(module)\\s+([^\\(\\)\\{\\}[:space:]=→λ∀?][^\\(\\)\\{\\}[:space:]]*)\\b",
|
10
|
+
"beginCaptures": {
|
11
|
+
"1": {
|
12
|
+
"name": "keyword.other.agda"
|
13
|
+
},
|
14
|
+
"2": {
|
15
|
+
"name": "storage.module.agda"
|
16
|
+
}
|
17
|
+
},
|
18
|
+
"end": "(\\bwhere\\b|=)",
|
19
|
+
"endCaptures": {
|
20
|
+
"1": {
|
21
|
+
"name": "keyword.other.agda"
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"name": "meta.declaration.module.agda",
|
25
|
+
"patterns": [
|
26
|
+
{
|
27
|
+
"include": "#module_param"
|
28
|
+
},
|
29
|
+
{
|
30
|
+
"include": "#module_params"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"include": "#module_params_implicit"
|
34
|
+
}
|
35
|
+
]
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"begin": "^\\s*(import|open(\\s+import)?)\\b",
|
39
|
+
"beginCaptures": {
|
40
|
+
"1": {
|
41
|
+
"name": "keyword.other.agda"
|
42
|
+
}
|
43
|
+
},
|
44
|
+
"end": "$",
|
45
|
+
"name": "meta.import.agda",
|
46
|
+
"patterns": [
|
47
|
+
{
|
48
|
+
"match": "\\b(as|using|renaming|hiding|public)\\b",
|
49
|
+
"name": "keyword.other.agda"
|
50
|
+
}
|
51
|
+
]
|
52
|
+
},
|
53
|
+
{
|
54
|
+
"begin": "^\\s*(record)\\s+([^\\(\\)\\{\\}[:space:]=→λ∀?][^\\(\\)\\{\\}[:space:]]*)\\b",
|
55
|
+
"beginCaptures": {
|
56
|
+
"1": {
|
57
|
+
"name": "keyword.other.agda"
|
58
|
+
},
|
59
|
+
"2": {
|
60
|
+
"name": "storage.record.agda"
|
61
|
+
}
|
62
|
+
},
|
63
|
+
"end": "\\b(where)\\b",
|
64
|
+
"endCaptures": {
|
65
|
+
"1": {
|
66
|
+
"name": "keyword.other.agda"
|
67
|
+
}
|
68
|
+
},
|
69
|
+
"name": "meta.declaration.record.agda",
|
70
|
+
"patterns": [
|
71
|
+
|
72
|
+
]
|
73
|
+
},
|
74
|
+
{
|
75
|
+
"begin": "\\b(data)\\s+([^\\(\\)\\{\\}[:space:]=→λ∀?][^\\(\\)\\{\\}[:space:]]*)\\b",
|
76
|
+
"beginCaptures": {
|
77
|
+
"1": {
|
78
|
+
"name": "keyword.other.agda"
|
79
|
+
},
|
80
|
+
"2": {
|
81
|
+
"name": "storage.data.agda"
|
82
|
+
}
|
83
|
+
},
|
84
|
+
"end": "\\b(where)\\b",
|
85
|
+
"endCaptures": {
|
86
|
+
"1": {
|
87
|
+
"name": "keyword.other.agda"
|
88
|
+
}
|
89
|
+
},
|
90
|
+
"name": "meta.declaration.record.agda",
|
91
|
+
"patterns": [
|
92
|
+
|
93
|
+
]
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"begin": "\"",
|
97
|
+
"end": "\"",
|
98
|
+
"name": "string.quoted.double.agda",
|
99
|
+
"patterns": [
|
100
|
+
{
|
101
|
+
"match": "\\\\.",
|
102
|
+
"name": "constant.character.escape.agda"
|
103
|
+
}
|
104
|
+
]
|
105
|
+
},
|
106
|
+
{
|
107
|
+
"match": "\\binfix[lr]\\b",
|
108
|
+
"name": "keyword.operator.agda"
|
109
|
+
},
|
110
|
+
{
|
111
|
+
"match": "\\b(where|as|case|field|constructor|record|private|public|abstract|mutual)\\b",
|
112
|
+
"name": "keyword.other.agda"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"match": "(?<=\\s)[=→λ∀?]",
|
116
|
+
"name": "keyword.operator.agda"
|
117
|
+
},
|
118
|
+
{
|
119
|
+
"captures": {
|
120
|
+
"1": {
|
121
|
+
"name": "entity.name.function.agda"
|
122
|
+
},
|
123
|
+
"2": {
|
124
|
+
"name": "keyword.other.colon.agda"
|
125
|
+
}
|
126
|
+
},
|
127
|
+
"match": "^\\s*([^\\(\\)\\{\\}[:space:]=→λ∀?][^\\(\\)\\{\\}[:space:]]*)\\s*(:)(?=\\s|$)",
|
128
|
+
"name": "meta.function.type-declaration.agda"
|
129
|
+
},
|
130
|
+
{
|
131
|
+
"begin": "\"",
|
132
|
+
"beginCaptures": {
|
133
|
+
"0": {
|
134
|
+
"name": "punctuation.definition.string.begin.agda"
|
135
|
+
}
|
136
|
+
},
|
137
|
+
"end": "\"",
|
138
|
+
"endCaptures": {
|
139
|
+
"0": {
|
140
|
+
"name": "punctuation.definition.string.end.agda"
|
141
|
+
}
|
142
|
+
},
|
143
|
+
"name": "string.quoted.double.agda",
|
144
|
+
"patterns": [
|
145
|
+
{
|
146
|
+
"match": "\\\\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[abfnrtv\\\\\\\"'\\&])",
|
147
|
+
"name": "constant.character.escape.agda"
|
148
|
+
},
|
149
|
+
{
|
150
|
+
"match": "\\\\o[0-7]+|\\\\x[0-9A-Fa-f]+|\\\\[0-9]+",
|
151
|
+
"name": "constant.character.escape.octal.agda"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"match": "\\^[A-Z@\\[\\]\\\\\\^_]",
|
155
|
+
"name": "constant.character.escape.control.agda"
|
156
|
+
}
|
157
|
+
]
|
158
|
+
},
|
159
|
+
{
|
160
|
+
"match": "\\b([0-9]+|0([xX][0-9a-fA-F]+))\\b",
|
161
|
+
"name": "constant.numeric.agda"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"include": "#dashComment"
|
165
|
+
},
|
166
|
+
{
|
167
|
+
"include": "#pragma"
|
168
|
+
},
|
169
|
+
{
|
170
|
+
"include": "#blockComment"
|
171
|
+
}
|
172
|
+
],
|
173
|
+
"repository": {
|
174
|
+
"blockComment": {
|
175
|
+
"begin": "{-",
|
176
|
+
"captures": {
|
177
|
+
"0": {
|
178
|
+
"name": "punctuation.definition.comment.agda"
|
179
|
+
}
|
180
|
+
},
|
181
|
+
"end": "-}",
|
182
|
+
"name": "comment.block.agda"
|
183
|
+
},
|
184
|
+
"dashComment": {
|
185
|
+
"begin": "(--) ",
|
186
|
+
"beginCaptures": {
|
187
|
+
"0": {
|
188
|
+
"name": "punctuation.definition.comment.agda"
|
189
|
+
}
|
190
|
+
},
|
191
|
+
"end": "$",
|
192
|
+
"name": "comment.line.double-dash.agda"
|
193
|
+
},
|
194
|
+
"identifier": {
|
195
|
+
"comment": "not so much here to be used as to be a reference",
|
196
|
+
"match": "\\b[^\\(\\)\\{\\}[:space:]=→λ∀?][^\\(\\)\\{\\}[:space:]]*",
|
197
|
+
"name": "entity.name.function.agda"
|
198
|
+
},
|
199
|
+
"module_param": {
|
200
|
+
"match": "\\b[^\\(\\)\\{\\}[:space:]=→λ∀?][^\\(\\)\\{\\}[:space:]]*",
|
201
|
+
"name": "entity.name.parameter.agda"
|
202
|
+
},
|
203
|
+
"module_params": {
|
204
|
+
"begin": "\\(",
|
205
|
+
"end": "\\)",
|
206
|
+
"name": "meta.declaration.module.params.agda",
|
207
|
+
"patterns": [
|
208
|
+
{
|
209
|
+
"include": "#module_param"
|
210
|
+
},
|
211
|
+
{
|
212
|
+
"include": "#type_sig_rhs"
|
213
|
+
}
|
214
|
+
]
|
215
|
+
},
|
216
|
+
"module_params_implicit": {
|
217
|
+
"begin": "\\{",
|
218
|
+
"end": "\\}",
|
219
|
+
"name": "meta.declaration.module.params.agda",
|
220
|
+
"patterns": [
|
221
|
+
{
|
222
|
+
"include": "#module_param"
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"include": "#type_sig_rhs"
|
226
|
+
}
|
227
|
+
]
|
228
|
+
},
|
229
|
+
"pragma": {
|
230
|
+
"applyEndPatternLast": 1,
|
231
|
+
"begin": "\\{-#",
|
232
|
+
"captures": {
|
233
|
+
"0": {
|
234
|
+
"name": "punctuation.definition.pragma.agda"
|
235
|
+
}
|
236
|
+
},
|
237
|
+
"end": "#-\\}",
|
238
|
+
"name": "support.pragma.block.agda"
|
239
|
+
},
|
240
|
+
"type_sig_rhs": {
|
241
|
+
"begin": ":",
|
242
|
+
"end": "(?=[\\)\\}])",
|
243
|
+
"name": "meta.declaration.module.params.typesig.agda",
|
244
|
+
"patterns": [
|
245
|
+
{
|
246
|
+
"match": "\\b[^\\(\\)\\{\\}[:space:]=→λ∀?][^\\(\\)\\{\\}[:space:]]*",
|
247
|
+
"name": "storage.type.agda"
|
248
|
+
}
|
249
|
+
]
|
250
|
+
}
|
251
|
+
},
|
252
|
+
"scopeName": "source.agda",
|
253
|
+
"uuid": "F9829CA7-1CEB-4A7E-AD45-0C1622729B8A"
|
254
|
+
}
|
@@ -0,0 +1,171 @@
|
|
1
|
+
{
|
2
|
+
"fileTypes": [
|
3
|
+
"ahk"
|
4
|
+
],
|
5
|
+
"name": "AutoHotkey",
|
6
|
+
"patterns": [
|
7
|
+
{
|
8
|
+
"captures": {
|
9
|
+
"1": {
|
10
|
+
"name": "punctuation.definition.comment.ahk"
|
11
|
+
}
|
12
|
+
},
|
13
|
+
"match": "(;).*",
|
14
|
+
"name": "comment.line.semicolon.ahk"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"begin": "/\\*",
|
18
|
+
"end": "\\*/",
|
19
|
+
"name": "comment.block.slashstar.ahk"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"begin": "^\\s*\\((?!.*\\))",
|
23
|
+
"end": "^\\s*\\)",
|
24
|
+
"name": "string.ahk"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"captures": {
|
28
|
+
"1": {
|
29
|
+
"name": "entity.name.function.label.ahk"
|
30
|
+
},
|
31
|
+
"2": {
|
32
|
+
"name": "comment.line.semicolon.label.ahk"
|
33
|
+
}
|
34
|
+
},
|
35
|
+
"match": "^\\s*(\\w+:)\\s*(;.*)?$",
|
36
|
+
"name": "labelline.ahk"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"captures": {
|
40
|
+
"1": {
|
41
|
+
"name": "string.parameter.import.ahk"
|
42
|
+
}
|
43
|
+
},
|
44
|
+
"match": "#\\b(?i:include|include-once)\\b(.*)$",
|
45
|
+
"name": "keyword.control.import.ahk"
|
46
|
+
},
|
47
|
+
{
|
48
|
+
"captures": {
|
49
|
+
"1": {
|
50
|
+
"name": "string.parameter.directives.ahk"
|
51
|
+
},
|
52
|
+
"2": {
|
53
|
+
"name": "comment.line.semicolon.directive.ahk"
|
54
|
+
}
|
55
|
+
},
|
56
|
+
"match": "#\\b(?i:allowsamelinecomments|clipboardtimeout|commentflag|errorstdout|escapechar|hotkeyinterval|hotkeymodifiertimeout|hotstring|if|iftimeout|ifwinactive|ifwinexist|ifwinnotactive|ifwinnotexist|include|includeagain|inputlevel|installkeybdhook|installmousehook|keyhistory|ltrim|maxhotkeysperinterval|maxmem|maxthreads|maxthreadsbuffer|maxthreadsperhotkey|menumaskkey|noenv|notrayicon|persistent|singleinstance|usehook|warn|winactivateforce)\\b([^;]*)(;.*)?$",
|
57
|
+
"name": "keyword.control.directives.ahk"
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"match": "\\b(?i:autotrim|blockinput|click|clipwait|control|controlclick|controlfocus|controlget|controlgetfocus|controlgetpos|controlgettext|controlmove|controlsend|controlsendraw|controlsettext|coordmode|detecthiddentext|detecthiddenwindows|drive|driveget|drivespacefree|edit|envadd|envdiv|envget|envmult|envset|envsub|envupdate|fileappend|filecopy|filecopydir|filecreatedir|filecreateshortcut|filedelete|fileencoding|filegetattrib|filegetshortcut|filegetsize|filegettime|filegetversion|fileinstall|filemove|filemovedir|fileread|filereadline|filerecycle|filerecycleempty|fileremovedir|fileselectfile|fileselectfolder|filesetattrib|filesettime|formattime|getkeystate|gosub|goto|groupactivate|groupadd|groupclose|groupdeactivate|gui|guicontrol|guicontrolget|hotkey|ifequal|ifexist|ifgreater|ifgreaterorequal|ifinstring|ifless|iflessorequal|ifmsgbox|ifnotequal|ifnotexist|ifnotinstring|ifwinactive|ifwinexist|ifwinnotactive|ifwinnotexist|imagesearch|inidelete|iniread|iniwrite|input|inputbox|keyhistory|keywait|listhotkeys|listlines|listvars|menu|mouseclick|mouseclickdrag|mousegetpos|mousemove|msgbox|onexit|outputdebug|pause|pixelgetcolor|pixelsearch|postmessage|process|progress|random|regdelete|regread|regwrite|reload|run|runas|runwait|send|sendevent|sendinput|sendlevel|sendmessage|sendmode|sendplay|sendraw|setbatchlines|setcapslockstate|setcontroldelay|setdefaultmousespeed|setenv|setformat|setkeydelay|setmousedelay|setnumlockstate|setscrolllockstate|setstorecapslockmode|setregview|settimer|settitlematchmode|setwindelay|setworkingdir|shutdown|sleep|sort|soundbeep|soundget|soundgetwavevolume|soundplay|soundset|soundsetwavevolume|splashimage|splashtextoff|splashtexton|splitpath|statusbargettext|statusbarwait|stringcasesense|stringgetpos|stringleft|stringlen|stringlower|stringmid|stringreplace|stringright|stringsplit|stringtrimleft|stringtrimright|stringupper|suspend|sysget|thread|tooltip|transform|traytip|urldownloadtofile|winactivate|winactivatebottom|winclose|winget|wingetactivestats|wingetactivetitle|wingetclass|wingetpos|wingettext|wingettitle|winhide|winkill|winmaximize|winmenuselectitem|winminimize|winminimizeall|winminimizeallundo|winmove|winrestore|winset|winsettitle|winshow|winwait|winwaitactive|winwaitclose|winwaitnotactive)\\b",
|
61
|
+
"name": "support.function.ahk"
|
62
|
+
},
|
63
|
+
{
|
64
|
+
"match": "\\b(?!MsgBox)(?i:abs|acos|asc|asin|atan|ceil|chr|cos|comobjcreate|comobjactive|comobjarray|comobjconnect|comobjenwrap|comobjerror|comobjflags|comobjget|comobjmissing|comobjparameter|comobjquery|comobjtype|comobjunwrap|comobjvalue|dllcall|exp|fileexist|fileopen|floor|func|getkeyname|getkeyvk|getkeysc|getkeystate|il_add|il_create|il_destroy|instr|isbyref|isfunc|islabel|isobject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|onmessage|numget|numput|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strget|strlen|strput|strsplit|substr|tan|trim|tv_add|tv_delete|tv_getchild|tv_getcount|tv_getnext|tv_get|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist)(?=\\()\\b",
|
65
|
+
"name": "support.function.ahk"
|
66
|
+
},
|
67
|
+
{
|
68
|
+
"match": "\\b(?!MsgBox)(?<=\\.)(?i:read|write|readline|writeline|readuint|readint|readint64|readshort|readushort|readchar|readuchar|readdouble|readfloat|writeuint|writeint|writeint64|writeshort|writeushort|writechar|writeuchar|writedouble|writefloat|rawread|rawwrite|seek|tell|close|insert|remove|minindex|maxindex|setcapacity|getcapacity|getaddress|newenum|haskey|clone|isoptional|__new|__call|__get|__set|__delete)(?=\\()\\b",
|
69
|
+
"name": "support.function.ahk"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"match": "\\b(?!MsgBox)(?<=\\.)(?i:length|ateof|encoding|__handle|name|isbuiltin|isvariadic|minparams|maxparams|position|pos)(?!\\[|\\(|\\.)\\b",
|
73
|
+
"name": "support.function.ahk"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"match": "^MsgBox",
|
77
|
+
"name": "support.function.msgbox.ahk"
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"match": "\\b(?!MsgBox)(?i:a_ahkpath|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_computername|a_controldelay|a_cursor|a_dd|a_ddd|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guievent|a_guicontrol|a_guicontrolevent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelay|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mm|a_mmm|a_mmmm|a_mon|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles|true|false)\\b",
|
81
|
+
"name": "support.type.builtin.ahk"
|
82
|
+
},
|
83
|
+
{
|
84
|
+
"match": "\\b(?!MsgBox)(?i:shift|lshift|rshift|alt|lalt|ralt|control|lcontrol|rcontrol|ctrl|lctrl|rctrl|lwin|rwin|appskey|altdown|altup|shiftdown|shiftup|ctrldown|ctrlup|lwindown|lwinup|rwindown|rwinup|lbutton|rbutton|mbutton|wheelup|wheelleft|wheelright|wheeldown|xbutton1|xbutton2|joy1|joy2|joy3|joy4|joy5|joy6|joy7|joy8|joy9|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy30|joy31|joy32|joyx|joyy|joyz|joyr|joyu|joyv|joypov|joyname|joybuttons|joyaxes|joyinfo|space|tab|enter|escape|esc|backspace|bs|delete|del|insert|ins|pgup|pgdn|home|end|up|down|left|right|printscreen|ctrlbreak|pause|scrolllock|capslock|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadmult|numpadadd|numpadsub|numpaddiv|numpaddot|numpaddel|numpadins|numpadclear|numpadup|numpaddown|numpadleft|numpadright|numpadhome|numpadend|numpadpgup|numpadpgdn|numpadenter|f1|f2|f3|f4|f5|f6|f7|f8|f9|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f20|f21|f22|f23|f24|browser_back|browser_forward|browser_refresh|browser_stop|browser_search|browser_favorites|browser_home|volume_mute|volume_down|volume_up|media_next|media_prev|media_stop|media_play_pause|launch_mail|launch_media|launch_app1|launch_app2)\\b",
|
85
|
+
"name": "keyword.keys.ahk"
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"match": "\\b(?!MsgBox)(?<!\\.)(?i:pixel|mouse|screen|relative|rgb|ltrim|rtrim|join|low|belownormal|normal|abovenormal|high|realtime|ahk_id|ahk_pid|ahk_class|ahk_group|between|contains|in|is|integer|float|integerfast|floatfast|number|digit|xdigit|alpha|upper|lower|alnum|time|date|not|or|and|alwaysontop|topmost|top|bottom|transparent|transcolor|redraw|region|id|idlast|processname|minmax|controllist|count|list|capacity|statuscd|eject|lock|unlock|label|filesystem|label|setlabel|serial|type|status|static|global|local|byref|seconds|minutes|hours|days|read|parse|logoff|close|error|single|tray|add|rename|check|uncheck|togglecheck|enable|disable|toggleenable|default|nodefault|standard|nostandard|color|delete|deleteall|icon|noicon|tip|click|show|mainwindow|nomainwindow|useerrorlevel|text|picture|pic|groupbox|button|checkbox|radio|dropdownlist|ddl|combobox|listbox|listview|datetime|monthcal|updown|slider|tab|tab2|statusbar|treeview|iconsmall|tile|report|sortdesc|nosort|nosorthdr|grid|hdr|autosize|range|xm|ym|ys|xs|xp|yp|font|resize|owner|submit|nohide|minimize|maximize|restore|noactivate|na|cancel|destroy|center|margin|maxsize|minsize|owndialogs|guiescape|guiclose|guisize|guicontextmenu|guidropfiles|tabstop|section|altsubmit|wrap|hscroll|vscroll|border|top|bottom|buttons|expand|first|imagelist|lines|wantctrla|wantf2|vis|visfirst|number|uppercase|lowercase|limit|password|multi|wantreturn|group|background|bold|italic|strike|underline|norm|backgroundtrans|theme|caption|delimiter|minimizebox|maximizebox|sysmenu|toolwindow|flash|style|exstyle|check3|checked|checkedgray|readonly|password|hidden|left|right|center|notab|section|move|focus|hide|choose|choosestring|text|pos|enabled|disabled|visible|lastfound|lastfoundexist|alttab|shiftalttab|alttabmenu|alttabandmenu|alttabmenudismiss|notimers|interrupt|priority|waitclose|blind|raw|unicode|deref|pow|bitnot|bitand|bitor|bitxor|bitshiftleft|bitshiftright|yes|no|ok|cancel|abort|retry|ignore|tryagain|on|off|all|hkey_local_machine|hkey_users|hkey_current_user|hkey_classes_root|hkey_current_config|hklm|hku|hkcu|hkcr|hkcc|reg_sz|reg_expand_sz|reg_multi_sz|reg_dword|reg_qword|reg_binary|reg_link|reg_resource_list|reg_full_resource_descriptor|reg_resource_requirements_list|reg_dword_big_endian|alwayson|alwaysoff|dpiscale|parent)(?!\\[|\\(|\\.)\\b",
|
89
|
+
"name": "keyword.other.ahk"
|
90
|
+
},
|
91
|
+
{
|
92
|
+
"match": "\\b(?!MsgBox)(?<!\\.)(?i:if|else|return|loop|break|for|while|class|extends|catch|finally|throw|try|until|continue|critical|exit|exitapp)\\b",
|
93
|
+
"name": "keyword.control.ahk"
|
94
|
+
},
|
95
|
+
{
|
96
|
+
"match": "(?x) \\b\n((0(x|X)[0-9a-fA-F]*)\n|(\n ([0-9]+\\.?[0-9]*)\n |(\\.[0-9]+)\n )((e|E)(\\+|-)?[0-9]+)?\n)\\b\n",
|
97
|
+
"name": "constant.numeric.ahk"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"match": "\\+|-|\\*|\\^|/|&|#|!|~|\\|",
|
101
|
+
"name": "keyword.operator.arithmetic.ahk"
|
102
|
+
},
|
103
|
+
{
|
104
|
+
"match": ":=|\\.=|=|::",
|
105
|
+
"name": "keyword.operator.assignment.ahk"
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"match": "<|>|<>|[<>=]=|!=",
|
109
|
+
"name": "keyword.operator.comparison.ahk"
|
110
|
+
},
|
111
|
+
{
|
112
|
+
"match": ":|\\?|`|,",
|
113
|
+
"name": "punctuation.ahk"
|
114
|
+
},
|
115
|
+
{
|
116
|
+
"match": "[\\[\\](){}]",
|
117
|
+
"name": "punctuation.bracket.ahk"
|
118
|
+
},
|
119
|
+
{
|
120
|
+
"match": "%",
|
121
|
+
"name": "punctuation.definition.variable.percent.ahk"
|
122
|
+
},
|
123
|
+
{
|
124
|
+
"begin": "(\")",
|
125
|
+
"beginCaptures": {
|
126
|
+
"1": {
|
127
|
+
"name": "punctuation.definition.string.begin.ahk"
|
128
|
+
}
|
129
|
+
},
|
130
|
+
"end": "(\")(?!\")|^",
|
131
|
+
"endCaptures": {
|
132
|
+
"1": {
|
133
|
+
"name": "punctuation.definition.string.end.ahk"
|
134
|
+
}
|
135
|
+
},
|
136
|
+
"name": "string.quoted.double.ahk",
|
137
|
+
"patterns": [
|
138
|
+
{
|
139
|
+
"match": "\"\"",
|
140
|
+
"name": "constant.character.escape.ahk"
|
141
|
+
}
|
142
|
+
]
|
143
|
+
},
|
144
|
+
{
|
145
|
+
"captures": {
|
146
|
+
"1": {
|
147
|
+
"name": "entity.name.function.ahk"
|
148
|
+
},
|
149
|
+
"2": {
|
150
|
+
"name": "punctuation.bracket.parenthesis.ahk"
|
151
|
+
},
|
152
|
+
"3": {
|
153
|
+
"name": "string.function.arguments.ahk"
|
154
|
+
},
|
155
|
+
"4": {
|
156
|
+
"name": "punctuation.bracket.parenthesis.ahk"
|
157
|
+
},
|
158
|
+
"5": {
|
159
|
+
"name": "punctuation.bracket.curly.ahk"
|
160
|
+
},
|
161
|
+
"6": {
|
162
|
+
"name": "comment.line.semicolon.functionline.ahk"
|
163
|
+
}
|
164
|
+
},
|
165
|
+
"match": "^(\\s*\\w+)(\\()(.*)(\\))\\s*({)\\s*(;?.*)$",
|
166
|
+
"name": "functionline.ahk"
|
167
|
+
}
|
168
|
+
],
|
169
|
+
"scopeName": "source.ahk",
|
170
|
+
"uuid": "77AC23B6-8A90-11D9-BAA4-000A9584EC8D"
|
171
|
+
}
|