github-linguist 7.28.0 → 7.30.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. checksums.yaml +4 -4
  2. data/bin/git-linguist +7 -3
  3. data/bin/github-linguist +6 -3
  4. data/grammars/etc.json +1 -1
  5. data/grammars/inline.graphql.json +1 -1
  6. data/grammars/inline.graphql.markdown.codeblock.json +1 -0
  7. data/grammars/inline.hbs.json +1 -1
  8. data/grammars/markdown.commonlisp.codeblock.json +1 -0
  9. data/grammars/markdown.gleam.codeblock.json +1 -0
  10. data/grammars/markdown.glimmer.codeblock.json +1 -0
  11. data/grammars/markdown.move.codeblock.json +1 -1
  12. data/grammars/markdown.rego.codeblock.json +1 -0
  13. data/grammars/source.8xp.json +1 -0
  14. data/grammars/source.Caddyfile-test.json +1 -0
  15. data/grammars/source.Caddyfile.json +1 -0
  16. data/grammars/source.abl.json +1 -1
  17. data/grammars/source.amxxpawn.json +1 -0
  18. data/grammars/source.astro.json +1 -1
  19. data/grammars/source.bb.json +1 -0
  20. data/grammars/source.bh.json +1 -0
  21. data/grammars/source.bicep.json +1 -1
  22. data/grammars/source.bms.json +1 -1
  23. data/grammars/source.bqn.json +1 -0
  24. data/grammars/source.brs.json +1 -1
  25. data/grammars/source.clarion.json +1 -1
  26. data/grammars/source.cobol.json +1 -1
  27. data/grammars/source.commonlisp.json +1 -0
  28. data/grammars/source.cs.json +1 -1
  29. data/grammars/source.csound.json +1 -1
  30. data/grammars/source.d2.json +1 -1
  31. data/grammars/source.dart.json +1 -1
  32. data/grammars/source.did.json +1 -1
  33. data/grammars/source.elvish-transcript.json +1 -1
  34. data/grammars/source.firrtl.json +1 -0
  35. data/grammars/source.fsharp.json +1 -1
  36. data/grammars/source.gdscript.json +1 -1
  37. data/grammars/source.generic-db.json +1 -1
  38. data/grammars/source.gjs.json +1 -1
  39. data/grammars/source.gleam.json +1 -1
  40. data/grammars/source.gts.json +1 -1
  41. data/grammars/source.hcl.json +1 -1
  42. data/grammars/source.hcl.terraform.json +1 -1
  43. data/grammars/source.hx.json +1 -1
  44. data/grammars/source.ice.json +1 -1
  45. data/grammars/source.julia.json +1 -1
  46. data/grammars/source.kotlin.json +1 -1
  47. data/grammars/source.lean4.json +1 -1
  48. data/grammars/source.lua.json +1 -1
  49. data/grammars/source.luau.json +1 -0
  50. data/grammars/source.m2.json +1 -1
  51. data/grammars/source.markdown.caddy.codeblock.json +1 -0
  52. data/grammars/source.matlab.json +1 -1
  53. data/grammars/source.mdx.json +1 -1
  54. data/grammars/source.mojo.json +1 -0
  55. data/grammars/source.move.json +1 -1
  56. data/grammars/source.nasal.json +1 -1
  57. data/grammars/source.nim.json +1 -1
  58. data/grammars/source.nushell.json +1 -1
  59. data/grammars/source.odin.json +1 -1
  60. data/grammars/source.p4.json +1 -1
  61. data/grammars/source.pip-requirements.json +1 -0
  62. data/grammars/source.pkl.json +1 -0
  63. data/grammars/source.praat.json +1 -1
  64. data/grammars/source.rego.json +1 -1
  65. data/grammars/source.rescript.json +1 -1
  66. data/grammars/source.roc.json +1 -0
  67. data/grammars/source.ron.json +1 -0
  68. data/grammars/source.rust.json +1 -1
  69. data/grammars/source.scala.json +1 -1
  70. data/grammars/source.slice.json +1 -1
  71. data/grammars/source.slint.json +1 -0
  72. data/grammars/source.solidity.json +1 -1
  73. data/grammars/source.sourcepawn.json +1 -1
  74. data/grammars/source.sqf.json +1 -1
  75. data/grammars/source.swift.json +1 -1
  76. data/grammars/source.templ.json +1 -0
  77. data/grammars/source.toit.json +1 -1
  78. data/grammars/source.ts.json +1 -1
  79. data/grammars/source.tsx.json +1 -1
  80. data/grammars/source.vba.json +1 -1
  81. data/grammars/source.wsd.json +1 -1
  82. data/grammars/sp-jsdoc.injection.json +1 -0
  83. data/grammars/text.adblock.json +1 -1
  84. data/grammars/text.crontab.json +1 -0
  85. data/grammars/text.html.edge.json +1 -0
  86. data/grammars/text.html.ember-handlebars.json +1 -1
  87. data/grammars/text.html.statamic.json +1 -1
  88. data/grammars/text.md.json +1 -1
  89. data/grammars/text.srt.json +1 -1
  90. data/grammars/text.valve-cfg.json +1 -0
  91. data/grammars/text.valve-kv.json +1 -0
  92. data/grammars/version +1 -1
  93. data/lib/linguist/VERSION +1 -1
  94. data/lib/linguist/generated.rb +39 -1
  95. data/lib/linguist/heuristics.yml +26 -2
  96. data/lib/linguist/languages.json +1 -1
  97. data/lib/linguist/languages.yml +195 -9
  98. data/lib/linguist/repository.rb +8 -6
  99. data/lib/linguist/samples.json +1 -1
  100. metadata +31 -5
  101. data/grammars/markdown.graphql.codeblock.json +0 -1
  102. data/grammars/source.terraform.json +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a1c752348074aea00f1e02f30c90278c9e8559c6d0b28fb70d928180c47793e
4
- data.tar.gz: 46d7db861ac47c0beece8b5226681526747c3181bce4aa0438809a719a68f2d4
3
+ metadata.gz: d5eed9ce714b3df74927cad209058ec23aed466612fcbee1a5de8db31a3eccfe
4
+ data.tar.gz: 49b1e8f9bc20acc8d205c17618bfb2b7ab47e333435662fc7715a8ac851053e1
5
5
  SHA512:
6
- metadata.gz: a888616db2b7298a87f1897ffbbc7d54cc9df4c0b77f3000d681cb7b99fe2a3167270f43f9d86b4fb752e1f464b07d1402110f2ea862f98c11b6374c08d58cf9
7
- data.tar.gz: 61a9f7470e59b078714ac93dda943a0ab0a673408ed95dfd0d2fe094d442de8ca58a78f724303106eaa349746cf327380a4446623ffb105c79342366382ae17f
6
+ metadata.gz: b2011bf99b5d4345796c43a4f35e442ae124518d9dd1b262f747f6fce7c575768fd7d53659f1fff934337a5d5b82a668c8120949b0219a4e23b908c2d3344b2e
7
+ data.tar.gz: a5614144122bc1a56efd559da7fe5efd8e7fbdf44cb33612a691658ee0f172aea09dbda2d29ca58e88bc5f4e7aa47561176541588e4bfaa895011eb42c30d561
data/bin/git-linguist CHANGED
@@ -10,17 +10,18 @@ require 'tempfile'
10
10
  require 'zlib'
11
11
 
12
12
  class GitLinguist
13
- def initialize(path, commit_oid, incremental = true)
13
+ def initialize(path, commit_oid, incremental = true, tree_size = Linguist::Repository.MAX_TREE_SIZE)
14
14
  @repo_path = path
15
15
  @commit_oid = commit_oid
16
16
  @incremental = incremental
17
+ @tree_size = tree_size
17
18
  end
18
19
 
19
20
  def linguist
20
21
  if @commit_oid.nil?
21
22
  raise "git-linguist must be called with a specific commit OID to perform language computation"
22
23
  end
23
- repo = Linguist::Repository.new(rugged, @commit_oid)
24
+ repo = Linguist::Repository.new(rugged, @commit_oid, @tree_size)
24
25
 
25
26
  if @incremental && stats = load_language_stats
26
27
  old_commit_oid, old_stats = stats
@@ -98,6 +99,7 @@ end
98
99
  def git_linguist(args)
99
100
  incremental = true
100
101
  commit = nil
102
+ tree_size = Linguist::Repository::MAX_TREE_SIZE
101
103
 
102
104
  parser = OptionParser.new do |opts|
103
105
  opts.banner = <<~HELP
@@ -110,12 +112,14 @@ def git_linguist(args)
110
112
 
111
113
  opts.on("-f", "--force", "Force a full rescan") { incremental = false }
112
114
  opts.on("-c", "--commit=COMMIT", "Commit to index") { |v| commit = v}
115
+ opts.on("-t", "--tree-size=NUMBER", Integer,
116
+ "Maximum number of files scanned to detect languages (default: #{Linguist::Repository::MAX_TREE_SIZE})" ) { |t| tree_size = t }
113
117
  end
114
118
 
115
119
  parser.parse!(args)
116
120
  git_dir = `git rev-parse --git-dir`.strip
117
121
  raise "git-linguist must be run in a Git repository" unless $?.success?
118
- wrapper = GitLinguist.new(git_dir, commit, incremental)
122
+ wrapper = GitLinguist.new(git_dir, commit, incremental, tree_size)
119
123
 
120
124
  case args.pop
121
125
  when "stats"
data/bin/github-linguist CHANGED
@@ -13,13 +13,14 @@ Linguist v#{Linguist::VERSION}
13
13
  Detect language type and determine language breakdown for a given Git repository.
14
14
 
15
15
  Usage: linguist <path>
16
- linguist <path> [--rev REV] [--breakdown] [--json]
17
- linguist [--rev REV] [--breakdown] [--json]
16
+ linguist <path> [--rev REV] [--tree-size] [--breakdown] [--json]
17
+ linguist [--rev REV] [--tree-size] [--breakdown] [--json]
18
18
  HELP
19
19
 
20
20
  def github_linguist(args)
21
21
  breakdown = false
22
22
  json_output = false
23
+ tree_size = Linguist::Repository::MAX_TREE_SIZE
23
24
  rev = 'HEAD'
24
25
  path = Dir.pwd
25
26
 
@@ -32,6 +33,8 @@ def github_linguist(args)
32
33
  opts.on("-r", "--rev REV", String,
33
34
  "Analyze specific git revision",
34
35
  "defaults to HEAD, see gitrevisions(1) for alternatives") { |r| rev = r }
36
+ opts.on("-t", "--tree-size=NUMBER", Integer,
37
+ "Maximum number of files scanned to detect languages (default: #{Linguist::Repository::MAX_TREE_SIZE})") { |t| tree_size = t }
35
38
  opts.on("-h", "--help", "Display a short usage summary, then exit") do
36
39
  puts opts
37
40
  exit
@@ -56,7 +59,7 @@ def github_linguist(args)
56
59
  puts "invalid revision '#{rev}' for repo '#{path}'"
57
60
  exit 1
58
61
  end
59
- repo = Linguist::Repository.new(rugged, target_oid)
62
+ repo = Linguist::Repository.new(rugged, target_oid, tree_size)
60
63
 
61
64
  full_results = {}
62
65
  repo.languages.each do |language, size|
data/grammars/etc.json CHANGED
@@ -1 +1 @@
1
- {"scopeName":"etc","patterns":[{"include":"#comma"},{"include":"#comment"},{"include":"#esc"},{"include":"#float"},{"include":"#int"},{"include":"#str"},{"include":"#colon"},{"include":"#eql"},{"include":"#dot"}],"repository":{"bareword":{"name":"string.unquoted.bareword","match":"[^\"\\s][\\S]*"},"base64":{"name":"constant.numeric.base64","match":"[A-Za-z0-9+/=]{4,}"},"bool":{"name":"constant.logical.bool.boolean.${1:/downcase}","match":"\\b(true|false|TRUE|FALSE)\\b"},"bracket":{"patterns":[{"name":"punctuation.definition.bracket.curly.brace.begin","match":"\\{"},{"name":"punctuation.definition.bracket.curly.brace.end","match":"\\}"},{"name":"punctuation.definition.bracket.square.begin","match":"\\["},{"name":"punctuation.definition.bracket.square.end","match":"\\]"},{"name":"punctuation.definition.bracket.round.parenthesis.begin","match":"\\("},{"name":"punctuation.definition.bracket.round.parenthesis.end","match":"\\)"},{"name":"punctuation.definition.bracket.angle.ascii.begin","match":"\u003c"},{"name":"punctuation.definition.bracket.angle.ascii.end","match":"\u003e"},{"name":"punctuation.definition.bracket.angle.unicode.begin","match":"⟨"},{"name":"punctuation.definition.bracket.angle.unicode.end","match":"⟩"}]},"colon":{"name":"punctuation.delimiter.separator.colon","match":":"},"comma":{"name":"punctuation.separator.delimiter.comma","match":","},"comment":{"patterns":[{"include":"#commentHash"}]},"commentHash":{"name":"comment.line.number-sign","begin":"#","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment"}}},"commentSemi":{"name":"comment.line.semicolon","begin":";+","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment"}}},"commentSlash":{"name":"comment.line.double-slash","begin":"//","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment"}}},"dash":{"name":"punctuation.delimiter.separator.dash.hyphen","match":"-"},"dot":{"name":"punctuation.delimiter.separator.property.period.dot","match":"\\."},"dotPair":{"name":"keyword.operator.punctuation.dots.splat.range.spread.rest","match":"\\.\\.|‥"},"dotTrail":{"name":"punctuation.delimiter.separator.dotted.border.leader.dots","match":"\\.{4,}"},"dots":{"patterns":[{"include":"#ellipsis"},{"include":"#dotPair"},{"include":"#dot"}]},"ellipsis":{"name":"keyword.operator.punctuation.ellipsis.splat.range.spread.rest","match":"\\.{3}|…"},"email":{"patterns":[{"include":"#emailBracketed"},{"include":"#emailQuoted"},{"include":"#emailUnquoted"}]},"emailBracketed":{"patterns":[{"name":"meta.email-address.bracketed.ascii.angle-brackets","match":"(\u003c)\\s*([^\u003e@\\s]+@[^\u003e@\\s]+)\\s*(\u003e)","captures":{"1":{"patterns":[{"include":"#bracket"}]},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"patterns":[{"include":"#bracket"}]}}},{"name":"meta.email-address.bracketed.unicode.angle-brackets","match":"(⟨)\\s*([^⟩@\\s]+@[^⟩@\\s]+)\\s*(⟩)","captures":{"1":{"patterns":[{"include":"#bracket"}]},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"patterns":[{"include":"#bracket"}]}}},{"name":"meta.email-address.bracketed.guillemots","match":"(«)\\s*([^»@\\s]+@[^»@\\s]+)\\s*(»)","captures":{"1":{"patterns":[{"include":"#bracket"}]},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"patterns":[{"include":"#bracket"}]}}},{"name":"meta.email-address.bracketed.round-brackets","match":"(\\()\\s*([^\\)@\\s]+@[^\\)@\\s]+)\\s*(\\))","captures":{"1":{"patterns":[{"include":"#bracket"}]},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"patterns":[{"include":"#bracket"}]}}},{"name":"meta.email-address.bracketed.curly-brackets","match":"({)\\s*([^}@\\s]+@[^}@\\s]+)\\s*(})","captures":{"1":{"patterns":[{"include":"#bracket"}]},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"patterns":[{"include":"#bracket"}]}}},{"name":"meta.email-address.bracketed.square-brackets","match":"(\\[)\\s*([^\\]@\\s]+@[^\\]@\\s]+)\\s*(\\])","captures":{"1":{"patterns":[{"include":"#bracket"}]},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"patterns":[{"include":"#bracket"}]}}}]},"emailInnards":{"name":"constant.other.reference.link.underline.email","match":"(?:\\G|^|(?\u003c=\\n)).+","captures":{"0":{"patterns":[{"match":"\\G([^@]*)(@)(.*)","captures":{"1":{"name":"meta.local-part"},"2":{"name":"punctuation.separator.at-sign.email"},"3":{"name":"meta.domain"}}}]}}},"emailQuoted":{"patterns":[{"name":"meta.email-address.quoted.ascii.double-quotes","match":"(\")\\s*([^\"@\\s]+@[^\"@\\s]+)\\s*(\")","captures":{"0":{"name":"string.quoted.double"},"1":{"name":"punctuation.definition.string.begin.email-address"},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"name":"punctuation.definition.string.end.email-address"}}},{"name":"meta.email-address.quoted.unicode.double-quotes","match":"(“)\\s*([^”@\\s]+@[^”@\\s]+)\\s*(”)","captures":{"0":{"name":"string.quoted.double"},"1":{"name":"punctuation.definition.string.begin.email-address"},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"name":"punctuation.definition.string.end.email-address"}}},{"name":"meta.email-address.quoted.unicode.single-quotes","match":"(‘)\\s*([^’@\\s]+@[^’@\\s]+)\\s*(’)","captures":{"0":{"name":"string.quoted.single"},"1":{"name":"punctuation.definition.string.begin.email-address"},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"name":"punctuation.definition.string.end.email-address"}}},{"name":"meta.email-address.quoted.backticks","match":"(`)\\s*([^`@\\s]+@[^`@\\s]+)\\s*(`)","captures":{"0":{"name":"string.quoted.template.backticks"},"1":{"name":"punctuation.definition.string.begin.email-address"},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"name":"punctuation.definition.string.end.email-address"}}},{"name":"meta.email-address.quoted.single-quotes","match":"(`|')\\s*([^'@\\s]+@[^'@\\s]+)\\s*(')","captures":{"0":{"name":"string.quoted.single"},"1":{"name":"punctuation.definition.string.begin.email-address"},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"name":"punctuation.definition.string.end.email-address"}}}]},"emailUnquoted":{"name":"meta.email-address.unquoted","match":"(?x)\n((?!\\.) (?:[^\\[\\(\u003c⟨«\"'\\s@.]|\\.(?!\\.))++ @\n([^\\[\\(\u003c⟨«\"'\\s@.]+?\\.(?=[^\\.\\s])(?:[^\\[\\(\u003c⟨«\"'\\s@.]|\\.(?!\\.))++))","captures":{"1":{"name":"string.unquoted.email-address","patterns":[{"include":"#emailInnards"}]}}},"eql":{"name":"keyword.operator.assignment.key-value.equals-sign","match":"="},"esc":{"name":"constant.character.escape.backslash","match":"(\\\\).","captures":{"1":{"name":"punctuation.definition.escape.backslash"}}},"float":{"patterns":[{"include":"#floatExp"},{"include":"#floatNoExp"}]},"floatExp":{"name":"constant.numeric.float.real.decimal.dec.exponential.scientific","match":"[-+]?(?:[0-9]*\\.[0-9]+|[0-9]+\\.)(?:[eE][-+]?[0-9]+)++"},"floatNoExp":{"name":"constant.numeric.float.real.decimal.dec","match":"[-+]?(?:[0-9]*\\.[0-9]+|[0-9]+\\.)++"},"glob":{"patterns":[{"include":"#globSimple"},{"include":"#globSet"},{"include":"#globBraces"}]},"globBraces":{"patterns":[{"include":"#globBracesSeq"},{"include":"#globBracesAlt"}]},"globBracesAlt":{"name":"meta.brace-expansion.alternation","match":"(?x)\n(?\u003cchar\u003e[^\\s{,}\\\\]|\\\\[{,}\\\\]|\\g\u003cbraced\u003e){0}\n(?\u003cbraced\u003e{(?:[^{},\\\\]|\\\\.)*+}){0}\n(?\u003calt\u003e\\g\u003cchar\u003e*+,\\g\u003cchar\u003e*+|\\g\u003cchar\u003e++){0}\n(?\u003cseq\u003e{(?:-?\\d+\\.\\.-?\\d+|[a-zA-Z]\\.\\.[a-zA-Z])(?:\\.\\.-?\\d+)?}){0}\n(?\u003centry\u003e \\g\u003cchar\u003e*+ (?:\n\t\\g\u003cseq\u003e+\n\t|\n\t(?!\\g\u003cbraced\u003e)\n\t{\n\t\t(?\u003cbraces\u003e\n\t\t\t\\g\u003calt\u003e*+\n\t\t\t(?:(?!\\g\u003cbraced\u003e) { \\g\u003cbraces\u003e*+ } | \\g\u003cseq\u003e++)\n\t\t\t\\g\u003calt\u003e*+\n\t\t\t|\n\t\t\t\\g\u003calt\u003e++\n\t\t)\n\t}\n) \\g\u003cchar\u003e*+)","captures":{"0":{"patterns":[{"include":"#globBracesSeq"},{"match":"{(?:\\.?+(?:[^{},.\\\\]|\\\\.))*+}","captures":{"0":{"patterns":[{"include":"#esc"}]}}},{"include":"#esc"},{"include":"#globSet"},{"include":"#globSimple"},{"match":"({|})|(,)","captures":{"1":{"patterns":[{"include":"#bracket"}]},"2":{"patterns":[{"include":"#comma"}]}}}]}}},"globBracesSeq":{"name":"meta.brace-expansion.sequence","match":"({)(?:(-?\\d+\\.\\.-?\\d+)|([a-zA-Z]\\.\\.[a-zA-Z]))(\\.\\.-?\\d+)?(})","captures":{"1":{"patterns":[{"include":"etc#bracket"}]},"2":{"name":"meta.range.numeric","patterns":[{"include":"#dots"},{"include":"#intNoExp"}]},"3":{"name":"meta.range.alphabetic","patterns":[{"include":"#dots"},{"name":"constant.character.letter","match":"\\w"}]},"4":{"name":"meta.increment","patterns":[{"include":"#dots"},{"include":"#intNoExp"}]},"5":{"patterns":[{"include":"etc#bracket"}]}}},"globSet":{"name":"meta.character-class.set","match":"(?x)\n(\\[) (!|\\^)?\n(\n\t(?: [^\\\\\\[\\]]\n\t| \\\\.\n\t| \\[ (?::[!^]?\\w+:|\\..+?\\.|=.+?=) \\]\n\t)*+\n)(\\])","captures":{"1":{"name":"brackethighlighter.square.punctuation.definition.character-class.set.begin"},"2":{"name":"keyword.operator.logical.not"},"3":{"patterns":[{"include":"#esc"},{"match":"(?!^|\\G)(-)(?!\\])(-)?","captures":{"1":{"patterns":[{"include":"#dash"}]},"2":{"name":"constant.character.single"}}},{"include":"source.regexp.posix#charClass"},{"include":"source.regexp.posix#localeClasses"},{"name":"constant.character.single","match":"."}]},"4":{"name":"brackethighlighter.square.punctuation.definition.character-class.set.end"}}},"globSimple":{"patterns":[{"name":"keyword.operator.glob.wildcard.globstar","match":"\\*{2}"},{"name":"keyword.operator.glob.wildcard","match":"[*?]"}]},"hex":{"name":"constant.numeric.integer.int.hexadecimal.hex","match":"[-+]?[A-Fa-f0-9]+"},"hexNoSign":{"name":"constant.numeric.integer.int.hexadecimal.hex","match":"[A-Fa-f0-9]+"},"int":{"patterns":[{"include":"#intExp"},{"include":"#intNoExp"}]},"intExp":{"name":"constant.numeric.integer.int.decimal.dec.exponential.scientific","match":"[-+]?[0-9]+[eE][-+]?[0-9]+"},"intNoExp":{"name":"constant.numeric.integer.int.decimal.dec","match":"[-+]?[0-9]+"},"ip":{"name":"constant.numeric.other.ip-address","match":"(?:\\d+\\.){3,}\\d+(?=\\s|$)","captures":{"0":{"patterns":[{"include":"#dot"}]}}},"kolon":{"name":"keyword.operator.assignment.key-value.colon","match":":"},"num":{"patterns":[{"include":"#float"},{"include":"#int"}]},"op":{"patterns":[{"include":"#opBitAssign"},{"include":"#opMathAssign"},{"include":"#opBit"},{"include":"#opFix"},{"include":"#opCmp"},{"include":"#opLog"},{"include":"#opMath"}]},"opBit":{"patterns":[{"name":"keyword.operator.bitwise.xor","match":"\\^"},{"name":"keyword.operator.bitwise.not","match":"~"},{"name":"keyword.operator.bitwise.and","match":"\u0026"},{"name":"keyword.operator.bitwise.or","match":"\\|"},{"name":"keyword.operator.bitwise.shift.left","match":"\u003c\u003c"},{"name":"keyword.operator.bitwise.shift.right.unsigned","match":"\u003e\u003e\u003e"},{"name":"keyword.operator.bitwise.shift.right.signed","match":"\u003e\u003e"}]},"opBitAssign":{"patterns":[{"name":"keyword.operator.assignment.bitwise.xor","match":"\\^="},{"name":"keyword.operator.assignment.bitwise.not","match":"~="},{"name":"keyword.operator.assignment.bitwise.and","match":"\u0026="},{"name":"keyword.operator.assignment.bitwise.or","match":"\\|="},{"name":"keyword.operator.assignment.bitwise.shift.left","match":"\u003c\u003c="},{"name":"keyword.operator.assignment.bitwise.shift.right.unsigned","match":"\u003e\u003e\u003e="},{"name":"keyword.operator.assignment.bitwise.shift.right.signed","match":"\u003e\u003e="}]},"opCmp":{"patterns":[{"name":"keyword.operator.logical.comparison.starship.spaceship","match":"\u003c=\u003e"},{"name":"keyword.operator.logical.comparison.less-than-or-equal-to.lte","match":"\u003c="},{"name":"keyword.operator.logical.comparison.less-than.lt","match":"\u003c"},{"name":"keyword.operator.logical.comparison.greater-than-or-equal-to.gte","match":"\u003e="},{"name":"keyword.operator.logical.comparison.greater-than.gt","match":"\u003e"},{"name":"keyword.operator.logical.comparison.equal-to.equals.equal.eql.eq.strict","match":"==="},{"name":"keyword.operator.logical.comparison.equal-to.equals.equal.eql.eq","match":"=="},{"name":"keyword.operator.logical.comparison.not-equal-to.not-equal.unequal.neql.ne.strict","match":"!=="},{"name":"keyword.operator.logical.comparison.not-equal-to.not-equal.unequal.neql.ne","match":"!="}]},"opFix":{"patterns":[{"name":"keyword.operator.increment","match":"\\+{2}"},{"name":"keyword.operator.decrement","match":"-{2}"}]},"opLog":{"patterns":[{"name":"keyword.operator.logical.boolean.cast","match":"!!"},{"name":"keyword.operator.logical.boolean.not.negation.negate","match":"!"},{"name":"keyword.operator.logical.boolean.and","match":"\u0026\u0026"},{"name":"keyword.operator.logical.boolean.or","match":"\\|{2}"},{"name":"keyword.operator.logical.boolean.or.nullish","match":"\\?{2}"}]},"opMath":{"patterns":[{"name":"keyword.operator.arithmetic.exponentiation.exponent.exp.power","match":"\\*{2}|\\^"},{"name":"keyword.operator.arithmetic.addition.add.plus","match":"\\+"},{"name":"keyword.operator.arithmetic.multiplication.multiply.times","match":"\\*"},{"name":"keyword.operator.arithmetic.division.divide","match":"/"},{"name":"keyword.operator.arithmetic.remainder.modulo.modulus.mod","match":"%"},{"name":"keyword.operator.arithmetic.subtraction.subtract.minus","match":"[-֊־᐀᠆‐-―⸗⸚⸺⸻⹀〜〰゠︱︲﹘﹣-]"}]},"opMathAssign":{"patterns":[{"name":"keyword.operator.assignment.arithmetic.exponentiation.exponent.exp.power","match":"\\*{2}=|\\^="},{"name":"keyword.operator.assignment.arithmetic.addition.add.plus","match":"\\+="},{"name":"keyword.operator.assignment.arithmetic.multiplication.multiply.times","match":"\\*="},{"name":"keyword.operator.assignment.arithmetic.division.divide","match":"/="},{"name":"keyword.operator.assignment.arithmetic.remainder.modulo.modulus.mod","match":"%="},{"name":"keyword.operator.assignment.arithmetic.subtraction.subtract.minus","match":"[-֊־᐀᠆‐-―⸗⸚⸺⸻⹀〜〰゠︱︲﹘﹣-]="}]},"semi":{"name":"punctuation.delimiter.separator.semicolon","match":";"},"str":{"patterns":[{"include":"#strDouble"},{"include":"#strSingle"}]},"strDouble":{"name":"string.quoted.double","begin":"\"","end":"\"|(?=$)","patterns":[{"include":"#esc"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},"strSingle":{"name":"string.quoted.single","begin":"'","end":"'|(?=$)","patterns":[{"include":"#esc"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},"tab":{"patterns":[{"match":"^\\t+","captures":{"0":{"patterns":[{"name":"punctuation.whitespace.leading.tab.hard-tab","match":"\\t"}]}}},{"match":"\\t+$","captures":{"0":{"patterns":[{"name":"punctuation.whitespace.trailing.tab.hard-tab","match":"\\t"}]}}},{"name":"punctuation.whitespace.tab.hard-tab","match":"\\t"}]},"url":{"patterns":[{"match":"(?x)\n(\"|'|\\b)\n(\n\t# Not part of official URL schemes, included here for convenience\n\t(?: (?:jdbc|mvn|odbc|view-source) :)?\n\n\t# Common protocols/URI schemes\n\t( https?\n\t| s?ftp\n\t| ftps\n\t| file\n\t| wss?\n\t| (?:git|svn) (?:\\+(?:https?|ssh))?\n\t| ssh\n\t\n\t# Less common URI schemes\n\t| aaas?\n\t| acap\n\t| adiumxtra\n\t| admin\n\t| afp\n\t| app\n\t| atom\n\t| aurora\n\t| aw\n\t| beshare\n\t| bolo\n\t| cassandra\n\t| chrome(?:-extension)?\n\t| coaps?\n\t| cockroach\n\t| content\n\t| couchbase\n\t| crid\n\t| cvs\n\t| dict\n\t| dns\n\t| docker\n\t| ed2k\n\t| facetime\n\t| feed\n\t| finger\n\t| fish\n\t| gemini\n\t| github(?:-(?:mac|linux|windows))?\n\t| gizmoproject\n\t| gopher\n\t| go\n\t| hcp\n\t| imap\n\t| irc[6s]?\n\t| issue\n\t| keyparc\n\t| lastfm\n\t| ldaps?\n\t| man(?:-?page)?\n\t| maria(?:db)?\n\t| market\n\t| message\n\t| mms\n\t| modern-?sqlite\n\t| mongodb\n\t| ms-help\n\t| mssql\n\t| mumble\n\t| my?sql\n\t| netezza\n\t| nfs\n\t| ni\n\t| nntp\n\t| notes\n\t| oleodbc\n\t| oracle\n\t| payto\n\t| pgsql\n\t| pg\n\t| pop\n\t| postgres(?:ql)?\n\t| postgresql\n\t| presto(?:dbs?|s)\n\t| reload\n\t| resource\n\t| res\n\t| rmi\n\t| rsync\n\t| rtmf?p\n\t| rtmp\n\t| s3\n\t| saphana\n\t| secondlife\n\t| sgn\n\t| shttp\n\t| slack\n\t| smb\n\t| snmp\n\t| soldat\n\t| sqlite3?\n\t| sqlserver\n\t| steam\n\t| stratum\\+[a-z]+\n\t| stuns?\n\t| teamspeak\n\t| telnet\n\t| turns?\n\t| txmt\n\t| udp\n\t| unreal\n\t| ut2004\n\t| ventrilo\n\t| vnc\n\t| wais\n\t| web\\+[a-z]+\n\t| webcal\n\t| wtai\n\t| wyciwyg\n\t| xmpp\n\t| xri\n\t| z39\\.50[rs]\n\t| zoommtg\n\t\n\t# User-defined/arbitrary URI scheme starting with `x-`\n\t| x(?:-[a-z][a-z0-9]*)++\n\t) ://\n\t\n\t# Path specifier\n\t(?:\n\t\t(?! \\#\\w*\\#)\n\t\t(?: [-:\\@\\w.,~%+_/?=\u0026\\#;|!])\n\t)+\n\t\n\t# Don't include trailing punctuation\n\t(?\u003c![-.,?:\\#;])\n)\n(\\1)","captures":{"1":{"name":"punctuation.definition.link.begin.url"},"2":{"name":"constant.other.reference.link.underline.$3.url"},"4":{"name":"punctuation.definition.link.end.url"}}},{"match":"(?x)\n(\"|'|\\b)\n(\n\tmailto (:)\n\t(?:\n\t\t(?! \\#\\w*\\#)\n\t\t(?: [-:@\\w.,~%+_/?=\u0026\\#;|!])\n\t)+\n\t(?\u003c![-.,?:\\#;])\n)\n(\\1)","captures":{"1":{"name":"punctuation.definition.link.begin.url"},"2":{"name":"constant.other.reference.link.underline.mailto.url"},"3":{"name":"punctuation.separator.delimiter.scheme.url"},"4":{"name":"punctuation.definition.link.end.url"}}}]},"version":{"name":"constant.other.version-string","match":"(?x)\n(\"|'|\\b)\n([vV]?)\n(0 | [1-9]\\d*) (\\.)\n(0 | [1-9]\\d*) (\\.)\n(0 | [1-9]\\d*)\n(?:\n\t(-)\n\t(\n\t\t(?: 0\n\t\t| [1-9]\\d*\n\t\t| \\d*[a-zA-Z-][0-9a-zA-Z-]*\n\t\t)\n\t\t\n\t\t(?:\n\t\t\t\\.\n\t\t\t(?: 0\n\t\t\t| [1-9]\\d*\n\t\t\t| \\d*[a-zA-Z-][0-9a-zA-Z-]*\n\t\t\t)\n\t\t)*\n\t)\n)?\n(?:\n\t(\\+)\n\t(\n\t\t[0-9a-zA-Z-]+\n\t\t(?:\\.[0-9a-zA-Z-]+)*\n\t)\n)?\n(\\1)","captures":{"1":{"name":"punctuation.definition.version-string.begin"},"10":{"name":"punctuation.delimiter.separator.plus"},"11":{"name":"meta.build-metadata","patterns":[{"include":"#dot"}]},"12":{"name":"punctuation.definition.version-string.end"},"2":{"name":"punctuation.definition.version-prefix"},"3":{"name":"meta.major.release-number"},"4":{"patterns":[{"include":"#dot"}]},"5":{"name":"meta.minor.release-number"},"6":{"patterns":[{"include":"#dot"}]},"7":{"name":"meta.patch.release-number"},"8":{"patterns":[{"include":"#dash"}]},"9":{"name":"meta.prerelease.release-number","patterns":[{"include":"#dot"}]}}}}}
1
+ {"scopeName":"etc","patterns":[{"include":"#comma"},{"include":"#comment"},{"include":"#esc"},{"include":"#float"},{"include":"#int"},{"include":"#str"},{"include":"#colon"},{"include":"#eql"},{"include":"#dot"}],"repository":{"bareword":{"name":"string.unquoted.bareword","match":"[^\"\\s][\\S]*"},"base64":{"name":"constant.numeric.base64","match":"[A-Za-z0-9+/=]{4,}"},"bool":{"name":"constant.logical.bool.boolean.${1:/downcase}","match":"\\b(true|false|TRUE|FALSE)\\b"},"bracket":{"patterns":[{"name":"punctuation.definition.bracket.curly.brace.begin","match":"\\{"},{"name":"punctuation.definition.bracket.curly.brace.end","match":"\\}"},{"name":"punctuation.definition.bracket.square.begin","match":"\\["},{"name":"punctuation.definition.bracket.square.end","match":"\\]"},{"name":"punctuation.definition.bracket.round.parenthesis.begin","match":"\\("},{"name":"punctuation.definition.bracket.round.parenthesis.end","match":"\\)"},{"name":"punctuation.definition.bracket.angle.ascii.begin","match":"\u003c"},{"name":"punctuation.definition.bracket.angle.ascii.end","match":"\u003e"},{"name":"punctuation.definition.bracket.angle.unicode.begin","match":"⟨"},{"name":"punctuation.definition.bracket.angle.unicode.end","match":"⟩"}]},"colon":{"name":"punctuation.delimiter.separator.colon","match":":"},"comma":{"name":"punctuation.separator.delimiter.comma","match":","},"comment":{"patterns":[{"include":"#commentHash"}]},"commentHash":{"name":"comment.line.number-sign","begin":"#","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment"}}},"commentSemi":{"name":"comment.line.semicolon","begin":";+","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment"}}},"commentSlash":{"name":"comment.line.double-slash","begin":"//","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment"}}},"dash":{"name":"punctuation.delimiter.separator.dash.hyphen","match":"-"},"dot":{"name":"punctuation.delimiter.separator.property.period.dot","match":"\\."},"dotDec":{"name":"constant.numeric.other.dot-decimal","match":"(?:\\G|(?\u003c!\\.)\\b)\\d+(?:\\.\\d+)+\\b(?!\\.)"},"dotPair":{"name":"keyword.operator.punctuation.dots.splat.range.spread.rest","match":"\\.\\.|‥"},"dotTrail":{"name":"punctuation.delimiter.separator.dotted.border.leader.dots","match":"\\.{4,}"},"dots":{"patterns":[{"include":"#ellipsis"},{"include":"#dotPair"},{"include":"#dot"}]},"ellipsis":{"name":"keyword.operator.punctuation.ellipsis.splat.range.spread.rest","match":"\\.{3}|…"},"email":{"patterns":[{"include":"#emailBracketed"},{"include":"#emailQuoted"},{"include":"#emailUnquoted"}]},"emailBracketed":{"patterns":[{"name":"meta.email-address.bracketed.ascii.angle-brackets","match":"(\u003c)\\s*([^\u003e@\\s]+@[^\u003e@\\s]+)\\s*(\u003e)","captures":{"1":{"patterns":[{"include":"#bracket"}]},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"patterns":[{"include":"#bracket"}]}}},{"name":"meta.email-address.bracketed.unicode.angle-brackets","match":"(⟨)\\s*([^⟩@\\s]+@[^⟩@\\s]+)\\s*(⟩)","captures":{"1":{"patterns":[{"include":"#bracket"}]},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"patterns":[{"include":"#bracket"}]}}},{"name":"meta.email-address.bracketed.guillemots","match":"(«)\\s*([^»@\\s]+@[^»@\\s]+)\\s*(»)","captures":{"1":{"patterns":[{"include":"#bracket"}]},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"patterns":[{"include":"#bracket"}]}}},{"name":"meta.email-address.bracketed.round-brackets","match":"(\\()\\s*([^\\)@\\s]+@[^\\)@\\s]+)\\s*(\\))","captures":{"1":{"patterns":[{"include":"#bracket"}]},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"patterns":[{"include":"#bracket"}]}}},{"name":"meta.email-address.bracketed.curly-brackets","match":"({)\\s*([^}@\\s]+@[^}@\\s]+)\\s*(})","captures":{"1":{"patterns":[{"include":"#bracket"}]},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"patterns":[{"include":"#bracket"}]}}},{"name":"meta.email-address.bracketed.square-brackets","match":"(\\[)\\s*([^\\]@\\s]+@[^\\]@\\s]+)\\s*(\\])","captures":{"1":{"patterns":[{"include":"#bracket"}]},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"patterns":[{"include":"#bracket"}]}}}]},"emailInnards":{"name":"constant.other.reference.link.underline.email","match":"(?:\\G|^|(?\u003c=\\n)).+","captures":{"0":{"patterns":[{"match":"\\G([^@]*)(@)(.*)","captures":{"1":{"name":"meta.local-part"},"2":{"name":"punctuation.separator.at-sign.email"},"3":{"name":"meta.domain"}}}]}}},"emailQuoted":{"patterns":[{"name":"meta.email-address.quoted.ascii.double-quotes","match":"(\")\\s*([^\"@\\s]+@[^\"@\\s]+)\\s*(\")","captures":{"0":{"name":"string.quoted.double"},"1":{"name":"punctuation.definition.string.begin.email-address"},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"name":"punctuation.definition.string.end.email-address"}}},{"name":"meta.email-address.quoted.unicode.double-quotes","match":"(“)\\s*([^”@\\s]+@[^”@\\s]+)\\s*(”)","captures":{"0":{"name":"string.quoted.double"},"1":{"name":"punctuation.definition.string.begin.email-address"},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"name":"punctuation.definition.string.end.email-address"}}},{"name":"meta.email-address.quoted.unicode.single-quotes","match":"(‘)\\s*([^’@\\s]+@[^’@\\s]+)\\s*(’)","captures":{"0":{"name":"string.quoted.single"},"1":{"name":"punctuation.definition.string.begin.email-address"},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"name":"punctuation.definition.string.end.email-address"}}},{"name":"meta.email-address.quoted.backticks","match":"(`)\\s*([^`@\\s]+@[^`@\\s]+)\\s*(`)","captures":{"0":{"name":"string.quoted.template.backticks"},"1":{"name":"punctuation.definition.string.begin.email-address"},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"name":"punctuation.definition.string.end.email-address"}}},{"name":"meta.email-address.quoted.single-quotes","match":"(`|')\\s*([^'@\\s]+@[^'@\\s]+)\\s*(')","captures":{"0":{"name":"string.quoted.single"},"1":{"name":"punctuation.definition.string.begin.email-address"},"2":{"patterns":[{"include":"#emailInnards"}]},"3":{"name":"punctuation.definition.string.end.email-address"}}}]},"emailUnquoted":{"name":"meta.email-address.unquoted","match":"(?x)\n((?!\\.) (?:[^\\[\\(\u003c⟨«\"'\\s@.]|\\.(?!\\.))++ @\n([^\\[\\(\u003c⟨«\"'\\s@.]+?\\.(?=[^\\.\\s])(?:[^\\[\\(\u003c⟨«\"'\\s@.]|\\.(?!\\.))++))","captures":{"1":{"name":"string.unquoted.email-address","patterns":[{"include":"#emailInnards"}]}}},"eql":{"name":"keyword.operator.assignment.key-value.equals-sign","match":"="},"esc":{"name":"constant.character.escape.backslash","match":"(\\\\).","captures":{"1":{"name":"punctuation.definition.escape.backslash"}}},"float":{"patterns":[{"include":"#floatExp"},{"include":"#floatNoExp"}]},"floatExp":{"name":"constant.numeric.float.real.decimal.dec.exponential.scientific","match":"[-+]?(?:[0-9]*\\.[0-9]+|[0-9]+\\.)(?:[eE][-+]?[0-9]+)++"},"floatNoExp":{"name":"constant.numeric.float.real.decimal.dec","match":"[-+]?(?:[0-9]*\\.[0-9]+|[0-9]+\\.)++"},"glob":{"patterns":[{"include":"#globSimple"},{"include":"#globSet"},{"include":"#globBraces"}]},"globBraces":{"patterns":[{"include":"#globBracesSeq"},{"include":"#globBracesAlt"}]},"globBracesAlt":{"name":"meta.brace-expansion.alternation","match":"(?x)\n(?\u003cchar\u003e[^\\s{,}\\\\]|\\\\[{,}\\\\]|\\g\u003cbraced\u003e){0}\n(?\u003cbraced\u003e{(?:[^{},\\\\]|\\\\.)*+}){0}\n(?\u003calt\u003e\\g\u003cchar\u003e*+,\\g\u003cchar\u003e*+|\\g\u003cchar\u003e++){0}\n(?\u003cseq\u003e{(?:-?\\d+\\.\\.-?\\d+|[a-zA-Z]\\.\\.[a-zA-Z])(?:\\.\\.-?\\d+)?}){0}\n(?\u003centry\u003e \\g\u003cchar\u003e*+ (?:\n\t\\g\u003cseq\u003e+\n\t|\n\t(?!\\g\u003cbraced\u003e)\n\t{\n\t\t(?\u003cbraces\u003e\n\t\t\t\\g\u003calt\u003e*+\n\t\t\t(?:(?!\\g\u003cbraced\u003e) { \\g\u003cbraces\u003e*+ } | \\g\u003cseq\u003e++)\n\t\t\t\\g\u003calt\u003e*+\n\t\t\t|\n\t\t\t\\g\u003calt\u003e++\n\t\t)\n\t}\n) \\g\u003cchar\u003e*+)","captures":{"0":{"patterns":[{"include":"#globBracesSeq"},{"match":"{(?:\\.?+(?:[^{},.\\\\]|\\\\.))*+}","captures":{"0":{"patterns":[{"include":"#esc"}]}}},{"include":"#esc"},{"include":"#globSet"},{"include":"#globSimple"},{"match":"({|})|(,)","captures":{"1":{"patterns":[{"include":"#bracket"}]},"2":{"patterns":[{"include":"#comma"}]}}}]}}},"globBracesSeq":{"name":"meta.brace-expansion.sequence","match":"({)(?:(-?\\d+\\.\\.-?\\d+)|([a-zA-Z]\\.\\.[a-zA-Z]))(\\.\\.-?\\d+)?(})","captures":{"1":{"patterns":[{"include":"etc#bracket"}]},"2":{"name":"meta.range.numeric","patterns":[{"include":"#dots"},{"include":"#intNoExp"}]},"3":{"name":"meta.range.alphabetic","patterns":[{"include":"#dots"},{"name":"constant.character.letter","match":"\\w"}]},"4":{"name":"meta.increment","patterns":[{"include":"#dots"},{"include":"#intNoExp"}]},"5":{"patterns":[{"include":"etc#bracket"}]}}},"globSet":{"name":"meta.character-class.set","match":"(?x)\n(\\[) (!|\\^)?\n(\n\t(?: [^\\\\\\[\\]]\n\t| \\\\.\n\t| \\[ (?::[!^]?\\w+:|\\..+?\\.|=.+?=) \\]\n\t)*+\n)(\\])","captures":{"1":{"name":"brackethighlighter.square.punctuation.definition.character-class.set.begin"},"2":{"name":"keyword.operator.logical.not"},"3":{"patterns":[{"include":"#esc"},{"match":"(?!^|\\G)(-)(?!\\])(-)?","captures":{"1":{"patterns":[{"include":"#dash"}]},"2":{"name":"constant.character.single"}}},{"include":"source.regexp.posix#charClass"},{"include":"source.regexp.posix#localeClasses"},{"name":"constant.character.single","match":"."}]},"4":{"name":"brackethighlighter.square.punctuation.definition.character-class.set.end"}}},"globSimple":{"patterns":[{"name":"keyword.operator.glob.wildcard.globstar","match":"\\*{2}"},{"name":"keyword.operator.glob.wildcard","match":"[*?]"}]},"hex":{"name":"constant.numeric.integer.int.hexadecimal.hex","match":"[-+]?[A-Fa-f0-9]+"},"hexNoSign":{"name":"constant.numeric.integer.int.hexadecimal.hex","match":"[A-Fa-f0-9]+"},"int":{"patterns":[{"include":"#intExp"},{"include":"#intNoExp"}]},"intExp":{"name":"constant.numeric.integer.int.decimal.dec.exponential.scientific","match":"[-+]?[0-9]+[eE][-+]?[0-9]+"},"intNoExp":{"name":"constant.numeric.integer.int.decimal.dec","match":"[-+]?[0-9]+"},"ip":{"patterns":[{"include":"#ipv6"},{"include":"#ipv4"}]},"ipv4":{"name":"constant.numeric.other.ip-address.v4","match":"(?x) (?:\\G|^|(?\u003c!\\.)\\b)\n(?!\\.)\n((?:\n\t\\.?\n\t(?: 25[0-5] # 250-255\n\t| 2[0-4]\\d # 200-249\n\t| 1\\d\\d # 100-199\n\t| [1-9]?\\d # 0-99\n\t)\\b\n){4})\n\n# CIDR notation: “/[0-32]”\n((/)(3[0-2]|[12]?\\d)\\b)?\n\n(?=$|\\s|(?!\\.)\\b)","captures":{"1":{"patterns":[{"include":"#dot"}]},"2":{"name":"meta.cidr-notation"},"3":{"name":"keyword.operator.assignment.cidr"},"4":{"patterns":[{"include":"#intNoExp"}]}}},"ipv6":{"name":"constant.numeric.other.ip-address.v6","match":"(?mix) (?:\\G|^|(?\u003c!\\.|:|\\w))\n(?\u003cdec\u003e25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d){0}\n(?\u003chex\u003e[A-F0-9]{1,4}){0}\n(?\u003cv4\u003e\\g\u003cdec\u003e(?:\\.\\g\u003cdec\u003e){3}){0}\n(?\u003cv6\u003e\\g\u003chex\u003e:){0}\n\n# Address\n(?: \\g\u003cv6\u003e{7} (?: \\g\u003chex\u003e |:)\n| \\g\u003cv6\u003e{6} (?: \\g\u003cv4\u003e| :\\g\u003chex\u003e |:)\n| \\g\u003cv6\u003e{5} (?: :\\g\u003cv4\u003e|(?::\\g\u003chex\u003e){1,2}|:)\n| \\g\u003cv6\u003e{4} (?:(?::\\g\u003chex\u003e)? :\\g\u003cv4\u003e|(?::\\g\u003chex\u003e){1,3}|:)\n| \\g\u003cv6\u003e{3} (?:(?::\\g\u003chex\u003e){0,2}:\\g\u003cv4\u003e|(?::\\g\u003chex\u003e){1,4}|:)\n| \\g\u003cv6\u003e{2} (?:(?::\\g\u003chex\u003e){0,3}:\\g\u003cv4\u003e|(?::\\g\u003chex\u003e){1,5}|:)\n| \\g\u003cv6\u003e (?:(?::\\g\u003chex\u003e){0,4}:\\g\u003cv4\u003e|(?::\\g\u003chex\u003e){1,6}|:)\n| (?::(?:(?::\\g\u003chex\u003e){0,5}:\\g\u003cv4\u003e|(?::\\g\u003chex\u003e){1,7}|:))\n) (?:(?\u003c!:)\\b|(?\u003c=:)(?!\\w|:))\n\n# Zone ID (RFC 4007): “%ne0”\n(?:\n\t%\n\t(?!\\$)\n\t[^\\s();\"/]+\n)?\n\n# CIDR notation: “/[0-128]”\n(?:\n\t/\n\t(?: 12[0-8] # 120-128\n\t| 1[01]\\d # 100-119\n\t| [1-9]?\\d # 0-99\n\t) \\b\n)?\n\n(?=$|\\s|[^.:%/\\s])","captures":{"0":{"patterns":[{"match":"(?!$)((%)([^/%]+))?((/)([0-9]+))?$","captures":{"1":{"name":"meta.zone-id"},"2":{"name":"keyword.operator.assignment.zone-id"},"3":{"name":"entity.other.zone-index"},"4":{"name":"meta.cidr-notation"},"5":{"name":"keyword.operator.assignment.cidr"},"6":{"patterns":[{"include":"#intNoExp"}]}}},{"include":"#colon"}]}}},"kolon":{"name":"keyword.operator.assignment.key-value.colon","match":":"},"mime":{"name":"constant.other.media-type","match":"(?xi) (?\u003c!-|\\.)\\b\n(?: (application|audio|example|font|image|message|model|multipart|text|video)\n| (chemical|drawing|magnus-internal|paleovu|xgl|inode(?=/(?:blockdevice|chardevice|directory|door|fifo|mount-point|socket|symlink)))\n| (x-[-a-z0-9+_.]{1,125})\n) (/) (?![.+])([-a-z0-9+_.]{1,127})(?\u003c![.+])\n\\b (?!-|\\.)\n((?:\n\t# LHS: “; name=”\n\t\\s* ; \\s* [^;=]+ \\s* = [ \\t]*\n\t\n\t# RHS\n\t(?: \"(?:[^\"\\\\]|\\\\\")*+\" # Quoted value\n\t| (?=\\S)[^;\\r\\n]+ # Unquoted value\n\t)?\n)++)?","captures":{"1":{"name":"entity.name.type.standard.${1:/downcase}.media-type"},"2":{"name":"entity.name.type.nonstandard.${2:/downcase}.media-type"},"3":{"name":"entity.name.type.extension.media-type"},"4":{"name":"punctuation.separator.slash.media-type"},"5":{"patterns":[{"contentName":"entity.name.subtype.media-type","begin":"(?i)(?:^|\\G)(?:(([-a-z0-9_]+)(\\.))((?:[-a-z0-9_]+\\.)*+))?","end":"((\\+)[-a-z0-9_.]+)?$","beginCaptures":{"1":{"name":"entity.other.tree.${2:/downcase}.media-type"},"3":{"name":"punctuation.separator.dot.media-type"},"4":{"patterns":[{"name":"entity.other.subtree.${1:/downcase}.media-type","match":"([^.]+)(\\.)","captures":{"2":{"name":"punctuation.separator.dot.media-type"}}}]}},"endCaptures":{"1":{"name":"entity.other.suffix.media-type"},"2":{"name":"punctuation.separator.plus.media-type"}}}]},"6":{"name":"meta.parameters.media-type","patterns":[{"name":"meta.parameter.media-type","begin":"\\s*((;))\\s*([^;=]+)\\s*(=)[ \\t]*","end":"(?!\\G)","patterns":[{"name":"string.quoted.double.media-type","match":"\\G(\")((?:[^\"\\\\]|\\\\\")*+)(\")","captures":{"1":{"name":"punctuation.definition.string.begin.media-type"},"2":{"patterns":[{"name":"constant.character.escape.quote.media-type","match":"\\\\\""}]},"3":{"name":"punctuation.definition.string.end.media-type"}}},{"name":"string.unquoted.parameter.media-type","match":"\\G[^;\\r\\n]+"}],"beginCaptures":{"1":{"name":"punctuation.delimiter.semicolon.media-type"},"2":{"name":"sublimelinter.gutter-mark"},"3":{"name":"variable.parameter.media-type"},"4":{"patterns":[{"include":"#eql"}]}}}]}}},"num":{"patterns":[{"include":"#float"},{"include":"#int"}]},"op":{"patterns":[{"include":"#opBitAssign"},{"include":"#opMathAssign"},{"include":"#opBit"},{"include":"#opFix"},{"include":"#opCmp"},{"include":"#opLog"},{"include":"#opMath"}]},"opBit":{"patterns":[{"name":"keyword.operator.bitwise.xor","match":"\\^"},{"name":"keyword.operator.bitwise.not","match":"~"},{"name":"keyword.operator.bitwise.and","match":"\u0026"},{"name":"keyword.operator.bitwise.or","match":"\\|"},{"name":"keyword.operator.bitwise.shift.left","match":"\u003c\u003c"},{"name":"keyword.operator.bitwise.shift.right.unsigned","match":"\u003e\u003e\u003e"},{"name":"keyword.operator.bitwise.shift.right.signed","match":"\u003e\u003e"}]},"opBitAssign":{"patterns":[{"name":"keyword.operator.assignment.bitwise.xor","match":"\\^="},{"name":"keyword.operator.assignment.bitwise.not","match":"~="},{"name":"keyword.operator.assignment.bitwise.and","match":"\u0026="},{"name":"keyword.operator.assignment.bitwise.or","match":"\\|="},{"name":"keyword.operator.assignment.bitwise.shift.left","match":"\u003c\u003c="},{"name":"keyword.operator.assignment.bitwise.shift.right.unsigned","match":"\u003e\u003e\u003e="},{"name":"keyword.operator.assignment.bitwise.shift.right.signed","match":"\u003e\u003e="}]},"opCmp":{"patterns":[{"name":"keyword.operator.logical.comparison.starship.spaceship","match":"\u003c=\u003e"},{"name":"keyword.operator.logical.comparison.less-than-or-equal-to.lte","match":"\u003c="},{"name":"keyword.operator.logical.comparison.less-than.lt","match":"\u003c"},{"name":"keyword.operator.logical.comparison.greater-than-or-equal-to.gte","match":"\u003e="},{"name":"keyword.operator.logical.comparison.greater-than.gt","match":"\u003e"},{"name":"keyword.operator.logical.comparison.equal-to.equals.equal.eql.eq.strict","match":"==="},{"name":"keyword.operator.logical.comparison.equal-to.equals.equal.eql.eq","match":"=="},{"name":"keyword.operator.logical.comparison.not-equal-to.not-equal.unequal.neql.ne.strict","match":"!=="},{"name":"keyword.operator.logical.comparison.not-equal-to.not-equal.unequal.neql.ne","match":"!="}]},"opFix":{"patterns":[{"name":"keyword.operator.increment","match":"\\+{2}"},{"name":"keyword.operator.decrement","match":"-{2}"}]},"opLog":{"patterns":[{"name":"keyword.operator.logical.boolean.cast","match":"!!"},{"name":"keyword.operator.logical.boolean.not.negation.negate","match":"!"},{"name":"keyword.operator.logical.boolean.and","match":"\u0026\u0026"},{"name":"keyword.operator.logical.boolean.or","match":"\\|{2}"},{"name":"keyword.operator.logical.boolean.or.nullish","match":"\\?{2}"}]},"opMath":{"patterns":[{"name":"keyword.operator.arithmetic.exponentiation.exponent.exp.power","match":"\\*{2}|\\^"},{"name":"keyword.operator.arithmetic.addition.add.plus","match":"\\+"},{"name":"keyword.operator.arithmetic.multiplication.multiply.times","match":"\\*"},{"name":"keyword.operator.arithmetic.division.divide","match":"/"},{"name":"keyword.operator.arithmetic.remainder.modulo.modulus.mod","match":"%"},{"name":"keyword.operator.arithmetic.subtraction.subtract.minus","match":"[-֊־᐀᠆‐-―⸗⸚⸺⸻⹀〜〰゠︱︲﹘﹣-]"}]},"opMathAssign":{"patterns":[{"name":"keyword.operator.assignment.arithmetic.exponentiation.exponent.exp.power","match":"\\*{2}=|\\^="},{"name":"keyword.operator.assignment.arithmetic.addition.add.plus","match":"\\+="},{"name":"keyword.operator.assignment.arithmetic.multiplication.multiply.times","match":"\\*="},{"name":"keyword.operator.assignment.arithmetic.division.divide","match":"/="},{"name":"keyword.operator.assignment.arithmetic.remainder.modulo.modulus.mod","match":"%="},{"name":"keyword.operator.assignment.arithmetic.subtraction.subtract.minus","match":"[-֊־᐀᠆‐-―⸗⸚⸺⸻⹀〜〰゠︱︲﹘﹣-]="}]},"semi":{"name":"punctuation.delimiter.separator.semicolon","match":";"},"str":{"patterns":[{"include":"#strDouble"},{"include":"#strSingle"}]},"strDouble":{"name":"string.quoted.double","begin":"\"","end":"\"|(?=$)","patterns":[{"include":"#esc"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},"strSingle":{"name":"string.quoted.single","begin":"'","end":"'|(?=$)","patterns":[{"include":"#esc"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end"}}},"tab":{"patterns":[{"match":"^\\t+","captures":{"0":{"patterns":[{"name":"punctuation.whitespace.leading.tab.hard-tab","match":"\\t"}]}}},{"match":"\\t+$","captures":{"0":{"patterns":[{"name":"punctuation.whitespace.trailing.tab.hard-tab","match":"\\t"}]}}},{"name":"punctuation.whitespace.tab.hard-tab","match":"\\t"}]},"url":{"patterns":[{"match":"(?x)\n(\"|'|\\b)\n(\n\t# Not part of official URL schemes, included here for convenience\n\t(?: (?:jdbc|mvn|odbc|view-source) :)?\n\n\t# Common protocols/URI schemes\n\t( https?\n\t| s?ftp\n\t| ftps\n\t| file\n\t| wss?\n\t| (?:git|svn) (?:\\+(?:https?|ssh))?\n\t| ssh\n\t\n\t# Less common URI schemes\n\t| aaas?\n\t| acap\n\t| adiumxtra\n\t| admin\n\t| afp\n\t| app\n\t| atom\n\t| aurora\n\t| aw\n\t| beshare\n\t| bolo\n\t| cassandra\n\t| chrome(?:-extension)?\n\t| coaps?\n\t| cockroach\n\t| content\n\t| couchbase\n\t| crid\n\t| cvs\n\t| dict\n\t| dns\n\t| docker\n\t| ed2k\n\t| facetime\n\t| feed\n\t| finger\n\t| fish\n\t| gemini\n\t| github(?:-(?:mac|linux|windows))?\n\t| gizmoproject\n\t| gopher\n\t| go\n\t| hcp\n\t| imap\n\t| irc[6s]?\n\t| issue\n\t| keyparc\n\t| lastfm\n\t| ldaps?\n\t| man(?:-?page)?\n\t| maria(?:db)?\n\t| market\n\t| message\n\t| mms\n\t| modern-?sqlite\n\t| mongodb\n\t| ms-help\n\t| mssql\n\t| mumble\n\t| my?sql\n\t| netezza\n\t| nfs\n\t| ni\n\t| nntp\n\t| notes\n\t| oleodbc\n\t| oracle\n\t| payto\n\t| pgsql\n\t| pg\n\t| pop\n\t| postgres(?:ql)?\n\t| postgresql\n\t| presto(?:dbs?|s)\n\t| reload\n\t| resource\n\t| res\n\t| rmi\n\t| rsync\n\t| rtmf?p\n\t| rtmp\n\t| s3\n\t| saphana\n\t| secondlife\n\t| sgn\n\t| shttp\n\t| slack\n\t| smb\n\t| snmp\n\t| soldat\n\t| sqlite3?\n\t| sqlserver\n\t| steam\n\t| stratum\\+[a-z]+\n\t| stuns?\n\t| teamspeak\n\t| telnet\n\t| turns?\n\t| txmt\n\t| udp\n\t| unreal\n\t| ut2004\n\t| ventrilo\n\t| vnc\n\t| wais\n\t| web\\+[a-z]+\n\t| webcal\n\t| wtai\n\t| wyciwyg\n\t| xmpp\n\t| xri\n\t| z39\\.50[rs]\n\t| zoommtg\n\t\n\t# User-defined/arbitrary URI scheme starting with `x-`\n\t| x(?:-[a-z][a-z0-9]*)++\n\t) ://\n\t\n\t# Path specifier\n\t(?:\n\t\t(?! \\#\\w*\\#)\n\t\t(?: [-:\\@\\w.,~%+_/?=\u0026\\#;|!])\n\t)+\n\t\n\t# Don't include trailing punctuation\n\t(?\u003c![-.,?:\\#;])\n)\n(\\1)","captures":{"1":{"name":"punctuation.definition.link.begin.url"},"2":{"name":"constant.other.reference.link.underline.$3.url"},"4":{"name":"punctuation.definition.link.end.url"}}},{"match":"(?x)\n(\"|'|\\b)\n(\n\tmailto (:)\n\t(?:\n\t\t(?! \\#\\w*\\#)\n\t\t(?: [-:@\\w.,~%+_/?=\u0026\\#;|!])\n\t)+\n\t(?\u003c![-.,?:\\#;])\n)\n(\\1)","captures":{"1":{"name":"punctuation.definition.link.begin.url"},"2":{"name":"constant.other.reference.link.underline.mailto.url"},"3":{"name":"punctuation.separator.delimiter.scheme.url"},"4":{"name":"punctuation.definition.link.end.url"}}}]},"version":{"name":"constant.other.version-string","match":"(?x)\n(\"|'|\\b)\n([vV]?)\n(0 | [1-9]\\d*) (\\.)\n(0 | [1-9]\\d*) (\\.)\n(0 | [1-9]\\d*)\n(?:\n\t(-)\n\t(\n\t\t(?: 0\n\t\t| [1-9]\\d*\n\t\t| \\d*[a-zA-Z-][0-9a-zA-Z-]*\n\t\t)\n\t\t\n\t\t(?:\n\t\t\t\\.\n\t\t\t(?: 0\n\t\t\t| [1-9]\\d*\n\t\t\t| \\d*[a-zA-Z-][0-9a-zA-Z-]*\n\t\t\t)\n\t\t)*\n\t)\n)?\n(?:\n\t(\\+)\n\t(\n\t\t[0-9a-zA-Z-]+\n\t\t(?:\\.[0-9a-zA-Z-]+)*\n\t)\n)?\n(\\1)","captures":{"1":{"name":"punctuation.definition.version-string.begin"},"10":{"name":"punctuation.delimiter.separator.plus"},"11":{"name":"meta.build-metadata","patterns":[{"include":"#dot"}]},"12":{"name":"punctuation.definition.version-string.end"},"2":{"name":"punctuation.definition.version-prefix"},"3":{"name":"meta.major.release-number"},"4":{"patterns":[{"include":"#dot"}]},"5":{"name":"meta.minor.release-number"},"6":{"patterns":[{"include":"#dot"}]},"7":{"name":"meta.patch.release-number"},"8":{"patterns":[{"include":"#dash"}]},"9":{"name":"meta.prerelease.release-number","patterns":[{"include":"#dot"}]}}}}}
@@ -1 +1 @@
1
- {"scopeName":"inline.graphql","patterns":[{"contentName":"meta.embedded.block.graphql","begin":"\\s*+(?:(?:(Relay)\\??\\.)(QL)|(gql|graphql|graphql\\.experimental)|(/\\* GraphQL \\*/))\\s*\\(?\\s*(`)","end":"`","patterns":[{"include":"source.graphql"}],"beginCaptures":{"1":{"name":"variable.other.class.js"},"2":{"name":"entity.name.function.tagged-template.js"},"3":{"name":"entity.name.function.tagged-template.js"},"4":{"name":"comment.graphql.js"},"5":{"name":"punctuation.definition.string.template.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.string.template.end.js"}}},{"contentName":"meta.embedded.block.graphql","begin":"\\s*+(?:(?:(Relay)\\??\\.)(QL)|(gql|graphql|graphql\\.experimental))\\s*\\(?\\s*(?:\u003c.*\u003e)(`)","end":"`","patterns":[{"include":"source.graphql"}],"beginCaptures":{"1":{"name":"variable.other.class.js"},"2":{"name":"entity.name.function.tagged-template.js"},"3":{"name":"entity.name.function.tagged-template.js"},"4":{"name":"punctuation.definition.string.template.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.string.template.end.js"}}},{"name":"taggedTemplates","contentName":"meta.embedded.block.graphql","begin":"(`|')(#graphql)","end":"(`|')","patterns":[{"include":"source.graphql"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.template.begin.js"},"2":{"name":"comment.line.graphql.js"}},"endCaptures":{"0":{"name":"punctuation.definition.string.template.end.js"}}}]}
1
+ {"scopeName":"inline.graphql","patterns":[{"begin":"\\s*+(?:(Relay)\\??\\.)(QL)|(gql|graphql|graphql\\.experimental)\\s*(?:\u003c.*\u003e)?\\s*\\(","end":"\\)","patterns":[{"contentName":"meta.embedded.block.graphql","begin":"(`|')","end":"(`|')","patterns":[{"include":"source.graphql"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.template.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.string.template.end.js"}}},{"patterns":[{"include":"source.js"},{"include":"source.ts"},{},{"include":"source.tsx"}]}],"beginCaptures":{"1":{"name":"variable.other.class.js"},"2":{"name":"entity.name.function.tagged-template.js"},"3":{"name":"entity.name.function.tagged-template.js"}}},{"contentName":"meta.embedded.block.graphql","begin":"\\s*+(?:(?:(?:(Relay)\\??\\.)(QL)|(gql|graphql|graphql\\.experimental)\\s*(?:\u003c.*\u003e)?\\s*)|(/\\* GraphQL \\*/))\\s*(`|')","end":"(`|')","patterns":[{"include":"source.graphql"}],"beginCaptures":{"1":{"name":"variable.other.class.js"},"2":{"name":"entity.name.function.tagged-template.js"},"3":{"name":"entity.name.function.tagged-template.js"},"4":{"name":"comment.graphql.js"},"5":{"name":"punctuation.definition.string.template.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.string.template.end.js"}}},{"name":"taggedTemplates","contentName":"meta.embedded.block.graphql","begin":"(`|')(#graphql)","end":"(`|')","patterns":[{"include":"source.graphql"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.template.begin.js"},"2":{"name":"comment.line.graphql.js"}},"endCaptures":{"0":{"name":"punctuation.definition.string.template.end.js"}}}]}
@@ -0,0 +1 @@
1
+ {"scopeName":"inline.graphql.markdown.codeblock","patterns":[{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(graphql|gql|GraphQL)(\\s+[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.graphql","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.graphql"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}}]}
@@ -1 +1 @@
1
- {"scopeName":"inline.hbs","patterns":[{"name":"string.js.taggedTemplate","contentName":"meta.embedded.block.html","begin":"(?x)(\\b(?:\\w+\\.)*(?:hbs|html)\\s*)(`)","end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"text.html.ember-handlebars"}],"beginCaptures":{"1":{"name":"entity.name.function.tagged-template.js"},"2":{"name":"punctuation.definition.string.template.begin.js"}},"endCaptures":{"0":{"name":"string.js"},"1":{"name":"punctuation.definition.string.template.end.js"}}},{"contentName":"meta.embedded.block.html","begin":"((createTemplate|hbs|html))(\\()","end":"(\\))","patterns":[{"begin":"((`))","end":"((`))","patterns":[{"include":"text.html.ember-handlebars"}],"beginCaptures":{"1":{"name":"string.template.ts"},"2":{"name":"punctuation.definition.string.template.begin.ts"}},"endCaptures":{"1":{"name":"string.template.ts"},"2":{"name":"punctuation.definition.string.template.end.ts"}}}],"beginCaptures":{"1":{"name":"entity.name.function.ts"},"2":{"name":"meta.function-call.ts"},"3":{"name":"meta.brace.round.ts"}},"endCaptures":{"1":{"name":"meta.brace.round.ts"}}},{"begin":"((precompileTemplate)\\s*)(\\()","end":"(\\))","patterns":[{"contentName":"meta.embedded.block.html","begin":"((`|'|\"))","end":"((`|'|\"))","patterns":[{"include":"text.html.ember-handlebars"}],"beginCaptures":{"1":{"name":"string.template.ts"},"2":{"name":"punctuation.definition.string.template.begin.ts"}},"endCaptures":{"1":{"name":"string.template.ts"},"2":{"name":"punctuation.definition.string.template.end.ts"}}},{"include":"source.ts#object-literal"},{"include":"source.ts"}],"beginCaptures":{"1":{"name":"entity.name.function.ts"},"2":{"name":"meta.function-call.ts"},"3":{"name":"meta.brace.round.ts"}},"endCaptures":{"1":{"name":"meta.brace.round.ts"}}}],"injections":{"L:source":{"patterns":[{"name":"invalid.illegal.bad-angle-bracket.html","match":"\u003c"}]}}}
1
+ {"scopeName":"inline.hbs","patterns":[{"contentName":"meta.embedded.block.html","begin":"(?x)(\\b(?:\\w+\\.)*(?:hbs|html)\\s*)(`)","end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"text.html.ember-handlebars"}],"beginCaptures":{"1":{"name":"entity.name.function.tagged-template.js"},"2":{"name":"punctuation.definition.string.template.begin.js"}},"endCaptures":{"0":{"name":"string.js"},"1":{"name":"punctuation.definition.string.template.end.js"}}},{"contentName":"meta.embedded.block.html","begin":"((createTemplate|hbs|html))(\\()","end":"(\\))","patterns":[{"begin":"((`|'|\"))","end":"((`|'|\"))","patterns":[{"include":"text.html.ember-handlebars"}],"beginCaptures":{"1":{"name":"string.template.ts"},"2":{"name":"punctuation.definition.string.template.begin.ts"}},"endCaptures":{"1":{"name":"string.template.ts"},"2":{"name":"punctuation.definition.string.template.end.ts"}}}],"beginCaptures":{"1":{"name":"entity.name.function.ts"},"2":{"name":"meta.function-call.ts"},"3":{"name":"meta.brace.round.ts"}},"endCaptures":{"1":{"name":"meta.brace.round.ts"}}},{"begin":"((precompileTemplate)\\s*)(\\()","end":"(\\))","patterns":[{"contentName":"meta.embedded.block.html","begin":"((`|'|\"))","end":"((`|'|\"))","patterns":[{"include":"text.html.ember-handlebars"}],"beginCaptures":{"1":{"name":"string.template.ts"},"2":{"name":"punctuation.definition.string.template.begin.ts"}},"endCaptures":{"1":{"name":"string.template.ts"},"2":{"name":"punctuation.definition.string.template.end.ts"}}},{"include":"source.ts#object-literal"},{"include":"source.ts"}],"beginCaptures":{"1":{"name":"entity.name.function.ts"},"2":{"name":"meta.function-call.ts"},"3":{"name":"meta.brace.round.ts"}},"endCaptures":{"1":{"name":"meta.brace.round.ts"}}}],"injections":{"L:source":{"patterns":[{"name":"invalid.illegal.bad-angle-bracket.html","match":"\u003c"}]}}}
@@ -0,0 +1 @@
1
+ {"scopeName":"markdown.commonlisp.codeblock","patterns":[{"include":"#commonlisp-code-block"}],"repository":{"commonlisp-code-block":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(commonlisp|cl|lsp)(\\s+[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.commonlisp","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.commonlisp"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}}}}
@@ -0,0 +1 @@
1
+ {"scopeName":"markdown.gleam.codeblock","patterns":[{"include":"#gleam-code-block"}],"repository":{"gleam-code-block":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(gleam)((\\s+|:|,|\\{|\\?)[^`]*)?$)","end":"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.gleam","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.gleam"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language"},"7":{"name":"punctuation.definition.markdown"},"8":{"name":"fenced_code.block.language.attributes"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}}}}
@@ -0,0 +1 @@
1
+ {"scopeName":"markdown.glimmer.codeblock","patterns":[{"include":"#gts-code-block"},{"include":"#gjs-code-block"},{"name":"meta.js.embeddedTemplateWithoutArgs","begin":"\\s*(\u003c)(template)\\s*(\u003e)","end":"(\u003c/)(template)(\u003e)","patterns":[{"include":"text.html.ember-handlebars"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.other.html"},"3":{"name":"punctuation.definition.tag.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.other.html"},"3":{"name":"punctuation.definition.tag.html"}}},{"name":"meta.js.embeddedTemplateWithArgs","begin":"(\u003c)(template)","end":"(\u003c/)(template)(\u003e)","patterns":[{"begin":"(?\u003c=\\\u003ctemplate)","end":"(?=\\\u003e)","patterns":[{"include":"text.html.ember-handlebars#tag-like-content"}]},{"contentName":"meta.html.embedded.block","begin":"(\u003e)","end":"(?=\u003c/template\u003e)","patterns":[{"include":"text.html.ember-handlebars"}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.end.js"}}}],"beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.other.html"}},"endCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.other.html"},"3":{"name":"punctuation.definition.tag.html"}}},{"contentName":"meta.embedded.block.html","begin":"(?x)(\\b(?:\\w+\\.)*(?:hbs|html)\\s*)(`)","end":"(`)","patterns":[{"include":"source.ts#template-substitution-element"},{"include":"text.html.ember-handlebars"}],"beginCaptures":{"1":{"name":"entity.name.function.tagged-template.js"},"2":{"name":"punctuation.definition.string.template.begin.js"}},"endCaptures":{"0":{"name":"string.js"},"1":{"name":"punctuation.definition.string.template.end.js"}}},{"contentName":"meta.embedded.block.html","begin":"((createTemplate|hbs|html))(\\()","end":"(\\))","patterns":[{"begin":"((`|'|\"))","end":"((`|'|\"))","patterns":[{"include":"text.html.ember-handlebars"}],"beginCaptures":{"1":{"name":"string.template.ts"},"2":{"name":"punctuation.definition.string.template.begin.ts"}},"endCaptures":{"1":{"name":"string.template.ts"},"2":{"name":"punctuation.definition.string.template.end.ts"}}}],"beginCaptures":{"1":{"name":"entity.name.function.ts"},"2":{"name":"meta.function-call.ts"},"3":{"name":"meta.brace.round.ts"}},"endCaptures":{"1":{"name":"meta.brace.round.ts"}}},{"begin":"((precompileTemplate)\\s*)(\\()","end":"(\\))","patterns":[{"contentName":"meta.embedded.block.html","begin":"((`|'|\"))","end":"((`|'|\"))","patterns":[{"include":"text.html.ember-handlebars"}],"beginCaptures":{"1":{"name":"string.template.ts"},"2":{"name":"punctuation.definition.string.template.begin.ts"}},"endCaptures":{"1":{"name":"string.template.ts"},"2":{"name":"punctuation.definition.string.template.end.ts"}}},{"include":"source.ts#object-literal"},{"include":"source.ts"}],"beginCaptures":{"1":{"name":"entity.name.function.ts"},"2":{"name":"meta.function-call.ts"},"3":{"name":"meta.brace.round.ts"}},"endCaptures":{"1":{"name":"meta.brace.round.ts"}}}],"repository":{"gjs-code-block":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(gjs)(\\s+[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.gjs","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.gjs"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}},"gts-code-block":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(gts)(\\s+[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.gts","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.gts"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}}}}
@@ -1 +1 @@
1
- {"scopeName":"markdown.move.codeblock","patterns":[{"include":"#move-code-block"}],"repository":{"move-code-block":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(move)(\\s+[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.move","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.move"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}}}}
1
+ {"scopeName":"markdown.move.codeblock","patterns":[{"include":"#move-code-block"}],"repository":{"move-code-block":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(move)(\\s+[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.move","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.move#comments"},{"include":"source.move#comments"},{"include":"source.move#module"},{"include":"source.move#script"},{"include":"source.move#attributes"},{"include":"source.move#entry"},{"include":"source.move#public-scope"},{"include":"source.move#public"},{"include":"source.move#macro"},{"include":"source.move#native"},{"include":"source.move#import"},{"include":"source.move#friend"},{"include":"source.move#const"},{"include":"source.move#struct"},{"include":"source.move#fun"},{"include":"source.move#spec"},{"include":"source.move#as"},{"include":"source.move#mut"},{"include":"source.move#let"},{"include":"source.move#types"},{"include":"source.move#assert"},{"include":"source.move#literals"},{"include":"source.move#control"},{"include":"source.move#move_copy"},{"include":"source.move#resource_methods"},{"include":"source.move#self_access"},{"include":"source.move#module_access"},{"include":"source.move#fun_call"},{"include":"source.move#block"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}}}}
@@ -0,0 +1 @@
1
+ {"scopeName":"markdown.rego.codeblock","patterns":[{"include":"#rego-code-block"}],"repository":{"rego-code-block":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(rego)(\\s+[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.rego","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.rego"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}}}}
@@ -0,0 +1 @@
1
+ {"name":"8xp","scopeName":"source.8xp","patterns":[{"include":"#functions"},{"include":"#special-chars"},{"include":"#control"},{"include":"#operators"},{"include":"#numbers"},{"include":"#snippets"},{"include":"#strings"},{"include":"#constants"},{"include":"#headers"},{"include":"#variables"},{"include":"#reals"}],"repository":{"constants":{"patterns":[{"name":"constant.language.8xp","match":"CENTER|LEFT|RIGHT"},{"name":"constant.language.8xp","match":"\\[(MATHPRINT|CLASSIC|(U)?n\\/d|AUTO|DEC|FRAC(\\-APPROX)?|STATWIZARD O(FF|N))\\]"},{"name":"constant.language.8xp","match":"BLUE|RED|BLACK|MAGENTA|GREEN|ORANGE|BROWN|NAVY|LTBLUE|YELLOW|WHITE|LTGRAY|MEDGRAY|GRAY|DARKGRAY"},{"name":"constant.language.8xp","match":"Blue|Red|Black|Magenta|Green|Orange|Brown|Navy|LtBlue|Yellow|White|LtGray|MedGray|Gray|DarkGray"}]},"control":{"patterns":[{"name":"keyword.control.8xp","match":"(If|While|Repeat|Lbl|Goto|Wait|DelVar) "},{"name":"keyword.control.8xp","match":"Then|Else|End|Pause|Return|Stop|ExecLib"},{"name":"keyword.control.8xp","match":"(For|IS\u003e|DS\u003c|Menu|GraphStyle|GraphColor|OpenLib)(?=\\()"}]},"functions":{"patterns":[{"name":"entity.name.function.8xp","match":"prgm([A-Zθ]|theta)([0-9A-Zθ]|theta){0,7}"},{"name":"entity.name.function.8xp","match":"(abs|angle|ANOVA|Asm(Comp)?|augment|bal|binom(c|p)df|checkTmr|(χ²|chi\\^2)((c|p)df|(GOF)?-Test)|Circle|conj|cos(h)?(\\^-1|⁻¹)?|cumSum|dayOfWk|dbd|det|dim|DS\u003c|(e|10|₁₀)\\^\\^|(\u003e|►)Eff|Equ(\u003e|►)String|eval|expr|(F|𝐅)(c|p)df|Fill|fM(ax|in)|fnInt|fPart|gcd|geomet(c|p)df|Get|GetCalc|get(Dt|Tm)Str|identity|imag|inString|int|(Sigma|Σ)Int|inv(Binom|Norm|T)|iPart|irr|IS\u003e|lcm|length|Line|(Delta|Δ)List|List(\u003e|►)matr|ln|log(BASE)?|Matr(\u003e|►)list|max|mean|median|min|nDeriv|(\u003e|►)Nom|normal(c|p)df|npv|Output|piece[wW]ise|Plot[1-3]|poisson(c|p)df|(Sigma|Σ)Prn|prod|[1-2]\\-PropZ(Int|Test)|P(t|xl)\\-(Change|O(ff|n))|pxl\\-Test|P(\u003e|►)R[x-y]|rand(Bin|Int(NoRep)?|M|Norm)|real|ref|remainder|round|\\*row(\\+)?|row(\\+|Swap)|rref|R(\u003e|►)P(r|theta|θ)|2\\-SampZ(Int|Test)|Select|Send|seq|set(Date|Time)|set(Dt|Tm)Fmt|Shade(χ²|chi\\^2|F|𝐅|Norm|_t)?|sin(h)?(\\^-1|⁻¹)?|solve|Sort(A|D)|stdDev|String(\u003e|►)Equ|su[bm]|Sigma|Σ|tan(h)?(\\^-1|⁻¹)?|Tangent|t[cp]df|Text(Color)?|timeCnv|toString|variance|Z\\-Test)(?=\\()"},{"name":"entity.name.function.8xp","match":"(Archive|AxesOn|BackgroundOn|BorderColor|ClrList|Disp|Draw(F|Inv)|ExpReg|Fix|FnO(ff|n)|GridDot|GridLine|Horizontal|Input|Lbl|LinReg\\((a\\+bx|ax\\+b)\\)|LinRegT(Int|Test)|LnReg|Logistic|Manual\\-Fit|Med\\-Med| n(C|P)r|PlotsO(ff|n)|Prompt|PwrReg|Qua(d|rt)Reg|(Recall|Store)(GDB|Pic)|2\\-Samp(F|𝐅)Test|2\\-SampT(Int|Test)|SetUpEditor|SinReg|TInterval|T\\-Test|UnArchive|(1|2)-Var Stats|Vertical|Wait) "},{"name":"entity.name.function.8xp","match":"Asm(84CE?)?Prgm|AxesOff|a\\+b[i𝑖]|BackgroundOff|Boxplot|Clear Entries|ClockO(ff|n)|Clr(AllLists|Draw|Home|Table)|CoordO(ff|n)|CubicReg|(\u003e|►)Dec|Degree|DependA(sk|uto)|DetectAsymO(ff|n)|DiagnosticO(ff|n)|DispGraph|DispTable|(\u003e|►)DMS|Dot\\-Thi(ck|n)|\\|E|ᴇ|Eng|ExprO(ff|n)|\u003eF\u003c\u003eD|►F◄►D|Float|(\u003e|►)Frac|Full|Func|GarbageCollect|get(Date|Time)|get(Dt|Tm)Fmt|getKey|GridO(ff|n)|G\\-T|Histogram|Horiz|IndpntAsk|IndpntAuto|isClockOn|\\|L|ʟ|LabelO(ff|n)|ModBox[pP]lot|►n\\/d◄►Un\\/d|\u003en\\/d\u003c\u003eUn\\/d|Normal|NormProbPlot|Param|Pmt_(Bgn|End)|PolarGC|(\u003e|►)?Polar|PrintScreen|Radian|rand|re\\^(thetai|θ𝑖)|Real|(\u003e|►)Rect|RectGC|Scatter|Sci|Seq(uential)?|SEQ\\((n|𝒏)(\\+[1-2])?\\)|Simul|startTmr|Thi(ck|n)|Time|Trace(?!Step)|tvm_(FV|I%|N|𝗡|Pmt|PV)|u[vw]Axes|vwAxes|Web|xyLine|Z(Box|Decimal|Frac(1(\\/|⁄)([2-58]|10))|Inte(ger|rval)|Previous|Quadrant1|Square|Standard|Trig)|Zoom( In| Out|Fit|Rcl|Stat|Sto)"},{"name":"entity.name.function.8xp","match":"(?:(?\u003c=Goto )|(?\u003c=Lbl ))([0-9A-Zθ]|theta){1,2}"}]},"headers":{"name":"entity.name.section.8xp","match":"^\\:DCS(6|)$"},"numbers":{"name":"constant.numeric.8xp","match":"(\\d+\\.?\\d*|\\.\\d+)"},"operators":{"patterns":[{"name":"keyword.operator.8xp","match":"(-\u003e|\\+|-|\\*|/|\\^|=|≠|!=|\u003e|≥|\u003e=|\u003c|≤|\u003c=|squareroot|√|xroot|ˣ√|(sqrt|√|cuberoot|³√)\\()"},{"name":"keyword.operator.8xp","match":"(cuberoot|sqrt)(?=\\()"},{"name":"keyword.operator.expression.8xp","match":"( (and|or|xor) |not(?=\\())"}]},"reals":{"name":"variable.parameter.8xp","match":"[A-Zθ]|theta"},"snippets":{"name":"variable.other.8xp","match":"\u003c[a-z ]+\u003e"},"special-chars":{"name":"markup.raw.8xp","match":"(\\^\\^(r|o|\\-1|2|T|3)|ʳ|°|⁻¹|²|ᵀ|³|\\|(N|F|𝐅|[PC]\\/Y)|𝗡|I%|invertedequal|(square|cross|dot)plot|□|﹢|·|sharps|small(T|10|[0-9])|(bold)?(up|down)arrow|plotpixel|·|U?n\\/d|mathprintbox|⬚|plottinydot)"},"strings":{"name":"string.quoted.double.8xp","begin":"\"","end":"\"|\n|(?=-\u003e)"},"variables":{"patterns":[{"name":"variable.language.8xp","match":"Ans"},{"name":"variable.parameter","match":"\\[(xhat(1|2)?|sigma[xy]|yhat|recursiven|phat(1|2)?|(factor|error)(df|SS|MS))\\]"},{"name":"variable.parameter","match":"x̄([₁₂])?|σ[xy]|Σxy|Σ[xy](²)?|𝒏|p̂([₁₂])?"},{"name":"variable.parameter.8xp","match":"Xmin|Xmax|Xscl|Ymin|Ymax|Yscl|[UV](n-1|𝒏-₁)|Xres|(Delta|∆)[XY]|XFact|YFact|TraceStep|Tmin|Tmax|Tstep|Z?(theta|θ)[mM]in|Z?(theta|θ)[mM]ax|Z?(theta|θ)step|\\|[uvw]|((?\u003c=[uvw])\\(((n|𝒏)Min\\)))|(n|𝒏)Min|(n|𝒏)Max|PlotStart|PlotStep"},{"name":"variable.parameter.8xp","match":"ZXmin|ZXmax|ZXscl|ZYmin|ZYmax|ZYscl|ZXres|ZTmin|ZTmax|ZTstep|thetastep|Z[uvw]|(((?\u003c=Z[uvw])|(?\u003c=[uvw]))\\(((n|𝒏)Min\\)))|Z(n|𝒏)Min|Z(n|𝒏)Max|ZPlotStart|ZPlotStep"},{"name":"variable.parameter.8xp","match":"(Pic|Image|GDB|Str)[0-9]"},{"name":"variable.parameter.8xp","match":"\\[(n(1|2)?|i|RegEQ|xhat(1|2)?|yhat|Sigma[xy](\\^2)?|Sx(1|2|p)?|Sy|(min|max)[XY]|Sigmaxy|r(\\^2)?|Med|Q[13₁₃]|\\|[Fa-e]|[xy][1-3]|[pstz]|chi\\^2|df|lower|upper|R\\^2|e)\\]"},{"name":"variable.parameter.8xp","match":"𝑖|[xy][₁-₃]|χ²|(x̄|n|Sx)[₁₂]|(r|R)²"},{"name":"variable.parameter.8xp","match":"Tbl(Start|Input)|(Delta|∆)Tbl"},{"name":"variable.parameter.8xp","match":"theta|θ|pi(?!xelplot)|π|alpha|α|beta|β|gamma|γ|Delta|Δ|delta|δ|epsilon|ε|lambda|λ|mu|μ|greek_pi|\\|π|rho|ρ|Sigma|Σ|Phi|Φ|Omega|Ω|phat|ṗ|chi|χ|sigma|σ|tau|τ"},{"name":"variable.parameter.8xp","match":"{Y[0-9]}|Y[₀-₉]"},{"name":"variable.parameter.8xp","match":"{[XY][1-6]T}|[XY][₁-₆]ᴛ"},{"name":"variable.parameter.8xp","match":"{r[1-6]}|r[₁-₆]"},{"name":"variable.parameter.8xp","match":"L[1-6₁-₆]"},{"name":"variable.parameter.8xp","match":"((?\u003c=-\u003e)|\\|L)([A-Zθ]|theta)([0-9A-Zθ]|theta){0,4}"},{"name":"variable.parameter.8xp","match":"\\[[A-J]\\]"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"Caddyfile-test","scopeName":"source.Caddyfile-test","patterns":[{"include":"#json"},{"include":"source.Caddyfile"}],"repository":{"json":{"patterns":[{"name":"meta.embedded.json","contentName":"source.json","begin":"^(-{10})$","end":"^(\\})$","patterns":[{"include":"source.json"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.start.json"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.start.json"}}}]}}}
@@ -0,0 +1 @@
1
+ {"name":"Caddyfile","scopeName":"source.Caddyfile","patterns":[{"include":"#comments"},{"include":"#strings"},{"include":"#domains"},{"include":"#status_codes"},{"include":"#path"},{"include":"#global_options"},{"include":"#matchers"},{"include":"#directive"},{"include":"#site_block_common"}],"repository":{"block":{"patterns":[{"begin":"\\{","end":"\\}","patterns":[{"include":"#block_content"}]}]},"block_content":{"patterns":[{"patterns":[{"include":"#comments"},{"include":"#strings"},{"include":"#domains"},{"include":"#status_codes"},{"include":"#path"},{"include":"#matchers"},{"include":"#placeholders"},{"include":"#directive"},{"include":"#block"}]}]},"comments":{"patterns":[{"name":"comment.line.Caddyfile","match":"\\s#.*"},{"name":"comment.line.Caddyfile","match":"^#.*"}]},"content_types":{"patterns":[{"name":"variable.other.property.caddyfile","match":"(application|audio|example|font|image|message|model|multipart|text|video)/[a-zA-Z0-9*+\\-.]+;* *[a-zA-Z0-9=\\-]*"}]},"directive":{"patterns":[{"name":"entity.name.function.Caddyfile","match":"^\\s*[a-zA-Z_\\-+]+"},{"include":"#content_types"},{"include":"#heredoc"}]},"domains":{"patterns":[{"name":"keyword.control.caddyfile","match":"(https?://)*[a-z0-9-\\*]*(?:\\.[a-zA-Z]{2,})+(:[0-9]+)*\\S*"},{"name":"keyword.control.caddyfile","match":"localhost(:[0-9]+)*"},{"name":"keyword.control.caddyfile","match":"((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)"},{"name":"keyword.control.caddyfile","match":"(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))"},{"name":"keyword.control.caddyfile","match":":[0-9]+"}]},"global_options":{"patterns":[{"begin":"^(\\{)$","end":"^(\\})$","patterns":[{"include":"#comments"},{"name":"support.constant.Caddyfile","match":"^\\s*(debug|https?_port|default_bind|order|storage|storage_clean_interval|renew_interval|ocsp_interval|admin|log|grace_period|shutdown_delay|auto_https|email|default_sni|local_certs|skip_install_trust|acme_ca|acme_ca_root|acme_eab|acme_dns|on_demand_tls|key_type|cert_issuer|ocsp_stapling|preferred_chains|servers|pki|events)"}],"beginCaptures":{"0":{"name":"punctuation.definition.dictionary.begin"}},"endCaptures":{"0":{"name":"punctuation.definition.dictionary.end"}}}]},"heredoc":{"patterns":[{"name":"string.unquoted.heredoc.caddyfile","begin":"(?i)(?=\u003c\u003c\\s*([a-z_\\x{7f}-\\x{10ffff}][a-z0-9_\\x{7f}-\\x{10ffff}]*)\\s*$)","end":"(?!\\G)","patterns":[{"include":"#heredoc_interior"}]}]},"heredoc_interior":{"patterns":[{"name":"meta.embedded.css","contentName":"source.css","begin":"(\u003c\u003c)\\s*(CSS)(\\s*)$","end":"^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])","patterns":[{"include":"source.css"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.caddyfile"},"1":{"name":"punctuation.definition.string.begin"},"2":{"name":"keyword.operator.heredoc.caddyfile"},"4":{"name":"invalid.illegal.trailing-whitespace.caddyfile"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.caddyfile"},"1":{"name":"keyword.operator.heredoc.caddyfile"}}},{"name":"meta.embedded.html","contentName":"text.html","begin":"(\u003c\u003c)\\s*(HTML)(\\s*)$","end":"^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])","patterns":[{"include":"text.html.basic"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.caddyfile"},"1":{"name":"punctuation.definition.string.begin"},"2":{"name":"keyword.operator.heredoc.caddyfile"},"4":{"name":"invalid.illegal.trailing-whitespace.caddyfile"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.caddyfile"},"1":{"name":"keyword.operator.heredoc.caddyfile"}}},{"name":"meta.embedded.js","contentName":"source.js","begin":"(\u003c\u003c)\\s*(JAVASCRIPT|JS)(\\s*)$","end":"^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])","patterns":[{"include":"source.js"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.caddyfile"},"1":{"name":"punctuation.definition.string.begin"},"2":{"name":"keyword.operator.heredoc.caddyfile"},"4":{"name":"invalid.illegal.trailing-whitespace.caddyfile"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.caddyfile"},"1":{"name":"keyword.operator.heredoc.caddyfile"}}},{"name":"meta.embedded.json","contentName":"source.json","begin":"(\u003c\u003c)\\s*(JSON)(\\s*)$","end":"^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])","patterns":[{"include":"source.json"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.caddyfile"},"1":{"name":"punctuation.definition.string.begin"},"2":{"name":"keyword.operator.heredoc.caddyfile"},"4":{"name":"invalid.illegal.trailing-whitespace.caddyfile"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.caddyfile"},"1":{"name":"keyword.operator.heredoc.caddyfile"}}},{"name":"meta.embedded.xml","contentName":"text.xml","begin":"(\u003c\u003c)\\s*(XML)(\\s*)$","end":"^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])","patterns":[{"include":"text.xml"}],"beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.caddyfile"},"1":{"name":"punctuation.definition.string.begin"},"2":{"name":"keyword.operator.heredoc.caddyfile"},"4":{"name":"invalid.illegal.trailing-whitespace.caddyfile"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.caddyfile"},"1":{"name":"keyword.operator.heredoc.caddyfile"}}},{"begin":"(?i)(\u003c\u003c)\\s*([a-z_\\x{7f}-\\x{10ffff}]+[a-z0-9_\\x{7f}-\\x{10ffff}]*)(\\s*)","end":"^\\s*(\\2)(?![A-Za-z0-9_\\x{7f}-\\x{10ffff}])","beginCaptures":{"0":{"name":"punctuation.section.embedded.begin.caddyfile"},"1":{"name":"punctuation.definition.string.caddyfile"},"2":{"name":"keyword.operator.heredoc.caddyfile"},"4":{"name":"invalid.illegal.trailing-whitespace.caddyfile"}},"endCaptures":{"0":{"name":"punctuation.section.embedded.end.caddyfile"},"1":{"name":"keyword.operator.heredoc.caddyfile"}}}]},"matchers":{"patterns":[{"name":"support.function.Caddyfile","match":"@[^\\s]+(?=\\s)"}]},"path":{"patterns":[{"name":"keyword.control.caddyfile","match":"(unix/)*/[a-zA-Z0-9_\\-./*]+"},{"name":"variable.other.property.caddyfile","match":"\\*.[a-z]{1,5}"},{"name":"variable.other.property.caddyfile","match":"\\*/?"},{"name":"variable.other.property.caddyfile","match":"\\?/"}]},"placeholders":{"patterns":[{"name":"keyword.control.Caddyfile","match":"\\{[\\[\\]\\w.\\$+-]+\\}"}]},"site_block_common":{"patterns":[{"include":"#placeholders"},{"include":"#block"}]},"status_codes":{"patterns":[{"name":"constant.numeric.decimal","match":"\\s[0-9]{3}(?!\\.)"}]},"strings":{"patterns":[{"name":"string.quoted.double.Caddyfile","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.Caddyfile","match":"\\\\\""}]},{"name":"string.quoted.single.Caddyfile","begin":"`","end":"`"}]}}}