github-linguist 9.2.0 → 9.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/bin/github-linguist +23 -4
  3. data/grammars/dart.inline.edgeql.json +1 -0
  4. data/grammars/go.inline.edgeql.json +1 -0
  5. data/grammars/injection.interpolated-ruby.json +1 -0
  6. data/grammars/injections.etc.json +1 -1
  7. data/grammars/inline.surrealql-js-literal.json +1 -0
  8. data/grammars/js.inline.edgeql.json +1 -0
  9. data/grammars/markdown.move.codeblock.json +1 -1
  10. data/grammars/markdown.surrealql.codeblock.json +1 -0
  11. data/grammars/markdown.vue.codeblock.json +1 -1
  12. data/grammars/markdown.wesl.codeblock.json +1 -0
  13. data/grammars/markdown.wgsl.codeblock.json +1 -0
  14. data/grammars/mdx.vue.codeblock.json +1 -1
  15. data/grammars/res.inline.edgeql.json +1 -0
  16. data/grammars/source.abl.json +1 -1
  17. data/grammars/source.agda.json +1 -1
  18. data/grammars/source.al.json +1 -1
  19. data/grammars/source.algol60.json +1 -0
  20. data/grammars/source.apex.json +1 -1
  21. data/grammars/source.ash.json +1 -0
  22. data/grammars/source.ats.json +1 -1
  23. data/grammars/source.b.json +1 -0
  24. data/grammars/source.bicep.json +1 -1
  25. data/grammars/source.brs.json +1 -1
  26. data/grammars/source.bru.json +1 -0
  27. data/grammars/source.c++.json +1 -1
  28. data/grammars/source.c.json +1 -1
  29. data/grammars/source.c.linker.json +1 -1
  30. data/grammars/source.c3.json +1 -0
  31. data/grammars/source.cadence.json +1 -1
  32. data/grammars/source.cj.json +1 -0
  33. data/grammars/source.clar.json +1 -1
  34. data/grammars/source.clean.json +1 -1
  35. data/grammars/source.cmake.json +1 -1
  36. data/grammars/source.cmakecache.json +1 -1
  37. data/grammars/source.cobol.json +1 -1
  38. data/grammars/source.comment-string.wesl.json +1 -0
  39. data/grammars/source.comment-string.wgsl.json +1 -0
  40. data/grammars/source.cooklang.json +1 -0
  41. data/grammars/source.cql.json +1 -0
  42. data/grammars/source.cs.json +1 -1
  43. data/grammars/source.csv.json +1 -0
  44. data/grammars/source.curlrc.json +1 -1
  45. data/grammars/source.data-weave.json +1 -1
  46. data/grammars/source.dotenv.json +1 -1
  47. data/grammars/source.dsv.json +1 -0
  48. data/grammars/source.edgeql.json +1 -1
  49. data/grammars/source.erlang.json +1 -1
  50. data/grammars/source.flix.json +1 -0
  51. data/grammars/source.fsharp.json +1 -1
  52. data/grammars/source.gdscript.json +1 -1
  53. data/grammars/source.gfm.blade.json +1 -1
  54. data/grammars/source.gitignore.json +1 -1
  55. data/grammars/source.go-template.json +1 -0
  56. data/grammars/source.go.injection.double.go-template.json +1 -0
  57. data/grammars/source.go.injection.raw.go-template.json +1 -0
  58. data/grammars/source.hack.json +1 -1
  59. data/grammars/source.harbour.json +1 -1
  60. data/grammars/source.httpspec.json +1 -1
  61. data/grammars/source.hurl.json +1 -0
  62. data/grammars/source.hx.json +1 -1
  63. data/grammars/source.ilecobol.json +1 -1
  64. data/grammars/source.inputrc.json +1 -1
  65. data/grammars/source.isabelle.theory.json +1 -1
  66. data/grammars/source.jac.json +1 -0
  67. data/grammars/source.jai.json +1 -1
  68. data/grammars/source.jq.json +1 -1
  69. data/grammars/source.json.comments.json +1 -1
  70. data/grammars/source.julia.json +1 -1
  71. data/grammars/source.just.json +1 -1
  72. data/grammars/source.kcl.json +1 -0
  73. data/grammars/source.langium.json +1 -0
  74. data/grammars/source.lean.markdown.json +1 -1
  75. data/grammars/source.lean4.json +1 -1
  76. data/grammars/source.lean4.markdown.json +1 -1
  77. data/grammars/source.lp.json +1 -0
  78. data/grammars/source.lua.json +1 -1
  79. data/grammars/source.luau.json +1 -1
  80. data/grammars/source.m2.json +1 -1
  81. data/grammars/source.mask.json +1 -1
  82. data/grammars/source.mdx.json +1 -1
  83. data/grammars/source.mermaid.flowchart.json +1 -1
  84. data/grammars/source.mermaid.gantt.json +1 -1
  85. data/grammars/source.mermaid.json +1 -1
  86. data/grammars/source.mermaid.pie-chart.json +1 -1
  87. data/grammars/source.mermaid.quad-chart.json +1 -0
  88. data/grammars/source.mermaid.sankey.json +1 -0
  89. data/grammars/source.mermaid.timeline.json +1 -0
  90. data/grammars/source.mermaid.user-journey.json +1 -1
  91. data/grammars/source.mermaid.zenuml.json +1 -0
  92. data/grammars/source.mo.json +1 -1
  93. data/grammars/source.mojo.json +1 -1
  94. data/grammars/source.moonbit.json +1 -1
  95. data/grammars/source.move.json +1 -1
  96. data/grammars/source.ned.json +1 -1
  97. data/grammars/source.nginx.json +1 -1
  98. data/grammars/source.nickel.json +1 -0
  99. data/grammars/source.nim.json +1 -1
  100. data/grammars/source.nr.json +1 -1
  101. data/grammars/source.nushell.json +1 -1
  102. data/grammars/source.odin-ehr.json +1 -1
  103. data/grammars/source.openqasm.json +1 -1
  104. data/grammars/source.postscript.json +1 -1
  105. data/grammars/source.proto.json +1 -1
  106. data/grammars/source.psl.json +1 -0
  107. data/grammars/source.pyjade.json +1 -1
  108. data/grammars/source.quakec.json +1 -0
  109. data/grammars/source.rascript.json +1 -0
  110. data/grammars/source.record-jar.json +1 -1
  111. data/grammars/source.rego.json +1 -1
  112. data/grammars/source.roc.json +1 -1
  113. data/grammars/source.rosmsg.json +1 -0
  114. data/grammars/source.rpgle.json +1 -1
  115. data/grammars/source.shell.json +1 -1
  116. data/grammars/source.sieve.json +1 -1
  117. data/grammars/source.singularity.json +1 -1
  118. data/grammars/source.slang.json +1 -1
  119. data/grammars/source.slint.json +1 -1
  120. data/grammars/source.soql.json +1 -1
  121. data/grammars/source.sqf.json +1 -1
  122. data/grammars/source.stan.json +1 -1
  123. data/grammars/source.surrealql.json +1 -0
  124. data/grammars/source.swift.json +1 -1
  125. data/grammars/source.teal.json +1 -0
  126. data/grammars/source.templ.json +1 -1
  127. data/grammars/source.tmdl.json +1 -0
  128. data/grammars/source.tsp.json +1 -1
  129. data/grammars/source.tsv.json +1 -0
  130. data/grammars/source.vb6.json +1 -0
  131. data/grammars/source.vba.json +1 -1
  132. data/grammars/source.vcl.json +1 -0
  133. data/grammars/source.vento.json +1 -1
  134. data/grammars/source.vhdl.json +1 -1
  135. data/grammars/source.vscode.c3.json +1 -0
  136. data/grammars/source.wdl.json +1 -1
  137. data/grammars/source.wesl.json +1 -0
  138. data/grammars/source.wgsl.json +1 -1
  139. data/grammars/source.wit.json +1 -1
  140. data/grammars/source.wwb.json +1 -1
  141. data/grammars/text.codeowners.json +1 -1
  142. data/grammars/text.git-commit.json +1 -0
  143. data/grammars/text.haml.json +1 -1
  144. data/grammars/text.html.jte.json +1 -1
  145. data/grammars/text.html.markdown.d2.json +1 -1
  146. data/grammars/text.html.vue.json +1 -0
  147. data/grammars/text.injection.go-template.json +1 -0
  148. data/grammars/text.jira.json +1 -0
  149. data/grammars/text.k.json +1 -0
  150. data/grammars/text.markdown.go-template.codeblock.json +1 -0
  151. data/grammars/text.marko.json +1 -1
  152. data/grammars/text.md.json +1 -1
  153. data/grammars/text.slim.json +1 -1
  154. data/grammars/text.source.mps.json +1 -0
  155. data/grammars/text.srt.json +1 -1
  156. data/grammars/text.valve-cfg.json +1 -1
  157. data/grammars/text.xml.svg.json +1 -1
  158. data/grammars/v.mod.json +1 -0
  159. data/grammars/version +1 -1
  160. data/grammars/vue.directives.json +1 -1
  161. data/grammars/vue.interpolations.json +1 -1
  162. data/grammars/vue.sfc.script.leading-operator-fix.json +1 -0
  163. data/lib/linguist/VERSION +1 -1
  164. data/lib/linguist/generated.rb +29 -5
  165. data/lib/linguist/generic.yml +3 -0
  166. data/lib/linguist/heuristics.yml +98 -11
  167. data/lib/linguist/instrumenter.rb +19 -0
  168. data/lib/linguist/languages.json +1 -1
  169. data/lib/linguist/languages.yml +405 -117
  170. data/lib/linguist/samples.json +1 -1
  171. data/lib/linguist.rb +1 -0
  172. metadata +59 -5
  173. data/grammars/inline.edgeql.json +0 -1
  174. data/grammars/source.varnish.vcl.json +0 -1
  175. data/grammars/source.vue.json +0 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9678f879dd08e63ea8727fc9217ac7a050388b3d3511f5be736ad86d9e0904b8
4
- data.tar.gz: 937d78e836c92e5424b37240ff898d7bcf48eef94a23662e10a9b187525cd91f
3
+ metadata.gz: ce0e0422b825449bc93f27016e1ecf15c67d3475db0c6e3daf624a6baceeb393
4
+ data.tar.gz: 65cd70904520f0e237aa69127d51f47ab9895c22368a1584251d2f4e46a534a8
5
5
  SHA512:
6
- metadata.gz: d214084ee510acb2395ded5f265fb3ba5e3494e5ad8f9afa29181417a97f96fe9a5b64b17a648d40f5e4c607b5c3088afdc1e12bec5dbb22e9480c337ca6e363
7
- data.tar.gz: 813748e36ac6a651135579b97af68dc9d167775b5b4c13e064bf2311325cb2d7faeb1065d666e1f5227b061d10e7cc5933a446cc93a17219849fe5847a2767fa
6
+ metadata.gz: 679ad53cf739266c73dc54e9229e4757e33ccd223c20fc2ace3f17b119ed93a6c0165c95f2e487d3dbb3456613193f3d878102239510d06fbbd44d76beea74d5
7
+ data.tar.gz: d74fd93206471bb60c37fddec62ec531ef39fb5e1e5255f3bef55af77fdf0faa3c57df6041a3b1d04a64df0691a8331a47b8b9b1c6616dcef8964f2de0bddeab
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: github-linguist <path>
16
- github-linguist <path> [--rev REV] [--tree-size] [--breakdown] [--json]
17
- github-linguist [--rev REV] [--tree-size] [--breakdown] [--json]
16
+ github-linguist <path> [--rev REV] [--tree-size] [--breakdown] [--strategies] [--json]
17
+ github-linguist [--rev REV] [--tree-size] [--breakdown] [--strategies] [--json]
18
18
  HELP
19
19
 
20
20
  def github_linguist(args)
21
21
  breakdown = false
22
22
  json_output = false
23
+ show_strategies = false
23
24
  tree_size = Linguist::Repository::MAX_TREE_SIZE
24
25
  rev = 'HEAD'
25
26
  path = Dir.pwd
@@ -29,6 +30,7 @@ def github_linguist(args)
29
30
  opts.version = Linguist::VERSION
30
31
 
31
32
  opts.on("-b", "--breakdown", "Analyze entire repository and display detailed usage statistics") { breakdown = true }
33
+ opts.on("-s", "--strategies", "Show language detection strategy used for each file") { show_strategies = true }
32
34
  opts.on("-j", "--json", "Output results as JSON") { json_output = true }
33
35
  opts.on("-r", "--rev REV", String,
34
36
  "Analyze specific git revision",
@@ -59,6 +61,11 @@ def github_linguist(args)
59
61
  puts "invalid revision '#{rev}' for repo '#{path}'"
60
62
  exit 1
61
63
  end
64
+
65
+ # Set up instrumentation to track detection strategies if requested
66
+ instrumenter = show_strategies ? Linguist::BasicInstrumenter.new : nil
67
+ Linguist.instrumenter = instrumenter
68
+
62
69
  repo = Linguist::Repository.new(rugged, target_oid, tree_size)
63
70
 
64
71
  full_results = {}
@@ -72,13 +79,18 @@ def github_linguist(args)
72
79
  full_results.sort_by { |_, v| v[:size] }.reverse.each do |language, details|
73
80
  puts "%-7s %-10s %s" % ["#{details[:percentage]}%", details[:size], language]
74
81
  end
75
- if breakdown
82
+ if breakdown || show_strategies
76
83
  puts
77
84
  file_breakdown = repo.breakdown_by_file
78
85
  file_breakdown.each do |lang, files|
79
86
  puts "#{lang}:"
80
87
  files.each do |file|
81
- puts file
88
+ strategy_info = instrumenter&.detected_info&.[](file)
89
+ if show_strategies && strategy_info
90
+ puts " #{file} [#{strategy_info[:strategy]}]"
91
+ else
92
+ puts " #{file}"
93
+ end
82
94
  end
83
95
  puts
84
96
  end
@@ -96,6 +108,9 @@ def github_linguist(args)
96
108
  end
97
109
  end
98
110
  elsif File.file?(path)
111
+ # Set up instrumentation to track detection strategies if requested
112
+ instrumenter = show_strategies ? Linguist::BasicInstrumenter.new : nil
113
+ Linguist.instrumenter = instrumenter
99
114
 
100
115
  begin
101
116
  # Check if this file is inside a git repository so we have things like
@@ -134,6 +149,10 @@ def github_linguist(args)
134
149
  puts " type: #{type}"
135
150
  puts " mime type: #{blob.mime_type}"
136
151
  puts " language: #{blob.language}"
152
+ if show_strategies && blob.language
153
+ strategy_info = instrumenter.detected_info[blob.name]
154
+ puts " strategy: #{strategy_info[:strategy]}" if strategy_info
155
+ end
137
156
 
138
157
  if blob.large?
139
158
  puts " blob is too large to be shown"
@@ -0,0 +1 @@
1
+ {"scopeName":"dart.inline.edgeql","patterns":[{"name":"commentTaggedString.edgeql","contentName":"meta.embedded.block.edgeql","begin":"('''|\"\"\"|'|\")(#\\s*edgeql)","end":"\\1","patterns":[{"include":"source.edgeql"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.dart"},"2":{"name":"comment.line.number-sign.edgeql"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.dart"}}},{"name":"commentTaggedString.edgeql.multiline","contentName":"meta.embedded.block.edgeql","begin":"(/\\*\\*\\s*edgeql\\s*\\**/)\\s*('''|\"\"\")","end":"\\2","patterns":[{"include":"source.edgeql"}],"beginCaptures":{"1":{"name":"punctuation.definition.comment.dart"},"2":{"name":"punctuation.definition.string.begin.dart"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.dart"}}},{"name":"rawStringTagged.edgeql","contentName":"meta.embedded.block.edgeql","begin":"(r)('''|\"\"\"|'|\")(#\\s*edgeql)","end":"\\2","patterns":[{"include":"source.edgeql"}],"beginCaptures":{"1":{"name":"storage.type.string.dart"},"2":{"name":"punctuation.definition.string.begin.dart"},"3":{"name":"comment.line.number-sign.edgeql"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.dart"}}}]}
@@ -0,0 +1 @@
1
+ {"scopeName":"go.inline.edgeql","patterns":[{"name":"comment-tagged-template.edgeql","contentName":"meta.embedded.block.edgeql","begin":"(`)(#\\s*edgeql[^\n]*)","end":"(`)","patterns":[{"include":"source.edgeql"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.go"},"2":{"name":"comment.line.number-sign.edgeql"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.go"}}}]}
@@ -0,0 +1 @@
1
+ {"scopeName":"injection.interpolated-ruby","patterns":[{"include":"#interpolated-ruby"}],"repository":{"interpolated-ruby":{"name":"meta.interpolation.slim meta.string.ruby source.ruby.embedded.slim","begin":"(?\u003c!\\\\)#\\{{1,2}","end":"\\}{1,2}","patterns":[{"include":"source.ruby"}],"beginCaptures":{"0":{"name":"punctuation.section.interpolation.begin.slim"}},"endCaptures":{"0":{"name":"punctuation.section.interpolation.end.slim"}}}}}
@@ -1 +1 @@
1
- {"scopeName":"injections.etc","patterns":[{"name":"storage.type.class.${1:/downcase}","match":"(?\u003c!\\w)@?(PINHACK)\\b"}],"repository":{"scopeHack":{"begin":"\\A(?:\\xC2\\xAD|\\xAD){50}","end":"(?=A)B","patterns":[{"name":"markup.bold","match":"^ {5}(PRIMER PREVIEW - How grammar scopes look on GitHub):","captures":{"1":{"name":"constant.other.reference.link"}}},{"name":"comment.line","match":"^\\s*Last updated:\\s*(\\d{4}-\\d{2}-\\d{2})$"},{"name":"constant.other.reference.link","match":"^│ +(TEXTMATE.*) +│$","captures":{"1":{"name":"markup.heading"}}},{"match":"^│ +│$","captures":{"0":{"name":"constant.other.reference.link"}}},{"match":"^│\\s+(brackethighlighter.angle\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"brackethighlighter.angle"}}},{"match":"^│\\s+(brackethighlighter.curly\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"brackethighlighter.curly"}}},{"match":"^│\\s+(brackethighlighter.quote\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"brackethighlighter.quote"}}},{"match":"^│\\s+(brackethighlighter.round\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"brackethighlighter.round"}}},{"match":"^│\\s+(brackethighlighter.square\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"brackethighlighter.square"}}},{"match":"^│\\s+(brackethighlighter.tag\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"brackethighlighter.tag"}}},{"match":"^│\\s+(brackethighlighter.unmatched\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"brackethighlighter.unmatched"}}},{"match":"^│\\s+(carriage-return\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"carriage-return"}}},{"match":"^│\\s+(comment\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"comment"}}},{"match":"^│\\s+(constant\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"constant"}}},{"match":"^│\\s+(constant.character.escape\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"constant.character.escape"}}},{"match":"^│\\s+(constant.other.reference.link\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"constant.other.reference.link"}}},{"match":"^│\\s+(entity\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"entity"}}},{"match":"^│\\s+(entity.name\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"entity.name"}}},{"match":"^│\\s+(entity.name.constant\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"entity.name.constant"}}},{"match":"^│\\s+(entity.name.tag\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"entity.name.tag"}}},{"match":"^│\\s+(invalid.broken\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"invalid.broken"}}},{"match":"^│\\s+(invalid.deprecated\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"invalid.deprecated"}}},{"match":"^│\\s+(invalid.illegal\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"invalid.illegal"}}},{"match":"^│\\s+(invalid.unimplemented\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"invalid.unimplemented"}}},{"match":"^│\\s+(keyword\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"keyword"}}},{"match":"^│\\s+(keyword.operator.symbole\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"keyword.operator.symbole"}}},{"match":"^│\\s+(keyword.other.mark\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"keyword.other.mark"}}},{"match":"^│\\s+(markup.bold\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.bold"}}},{"match":"^│\\s+(markup.changed\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.changed"}}},{"match":"^│\\s+(markup.deleted\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.deleted"}}},{"match":"^│\\s+(markup.heading\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.heading"}}},{"match":"^│\\s+(markup.ignored\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.ignored"}}},{"match":"^│\\s+(markup.inserted\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.inserted"}}},{"match":"^│\\s+(markup.italic\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.italic"}}},{"match":"^│\\s+(markup.list\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.list"}}},{"match":"^│\\s+(markup.quote\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.quote"}}},{"match":"^│\\s+(markup.raw\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.raw"}}},{"match":"^│\\s+(markup.untracked\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.untracked"}}},{"match":"^│\\s+(message.error\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"message.error"}}},{"match":"^│\\s+(meta.diff.header\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"meta.diff.header"}}},{"match":"^│\\s+(meta.diff.header.from-file\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"meta.diff.header.from-file"}}},{"match":"^│\\s+(meta.diff.header.to-file\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"meta.diff.header.to-file"}}},{"match":"^│\\s+(meta.diff.range\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"meta.diff.range"}}},{"match":"^│\\s+(meta.module-reference\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"meta.module-reference"}}},{"match":"^│\\s+(meta.output\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"meta.output"}}},{"match":"^│\\s+(meta.property-name\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"meta.property-name"}}},{"match":"^│\\s+(meta.separator\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"meta.separator"}}},{"match":"^│\\s+(punctuation.definition.changed\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"punctuation.definition.changed"}}},{"match":"^│\\s+(punctuation.definition.comment\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"punctuation.definition.comment"}}},{"match":"^│\\s+(punctuation.definition.deleted\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"punctuation.definition.deleted"}}},{"match":"^│\\s+(punctuation.definition.inserted\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"punctuation.definition.inserted"}}},{"match":"^│\\s+(punctuation.definition.string\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"punctuation.definition.string"}}},{"match":"^│\\s+(punctuation.section.embedded\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"punctuation.section.embedded"}}},{"match":"^│\\s+(source\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"source"}}},{"match":"^│\\s+(source.regexp\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"source.regexp"}}},{"match":"^│\\s+(source.ruby.embedded\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"source.ruby.embedded"}}},{"match":"^│\\s+(storage\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"storage"}}},{"match":"^│\\s+(storage.modifier.import\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"storage.modifier.import"}}},{"match":"^│\\s+(storage.modifier.package\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"storage.modifier.package"}}},{"match":"^│\\s+(storage.type\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"storage.type"}}},{"match":"^│\\s+(storage.type.java\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"storage.type.java"}}},{"match":"^│\\s+(string\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"string"}}},{"match":"^│\\s+(string.comment\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"string.comment"}}},{"match":"^│\\s+(string.other.link\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"string.other.link"}}},{"match":"^│\\s+(string.regexp\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"string.regexp"}}},{"match":"^│\\s+(string.regexp.arbitrary-repitition\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"string.regexp.arbitrary-repitition"}}},{"match":"^│\\s+(string.regexp.character-class\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"string.regexp.character-class"}}},{"match":"^│\\s+(string.unquoted.import.ada\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"string.unquoted.import.ada"}}},{"match":"^│\\s+(sublimelinter.gutter-mark\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"sublimelinter.gutter-mark"}}},{"match":"^│\\s+(sublimelinter.mark.error\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"sublimelinter.mark.error"}}},{"match":"^│\\s+(sublimelinter.mark.warning\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"sublimelinter.mark.warning"}}},{"match":"^│\\s+(support\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"support"}}},{"match":"^│\\s+(support.constant\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"support.constant"}}},{"match":"^│\\s+(support.variable\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"support.variable"}}},{"match":"^│\\s+(variable\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"variable"}}},{"match":"^│\\s+(variable.language\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"variable.language"}}},{"match":"^│\\s+(variable.other\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"variable.other"}}},{"match":"^│\\s+(variable.other.constant\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"variable.other.constant"}}},{"match":"^│\\s+(variable.parameter.function\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"variable.parameter.function"}}},{"match":"^│\\s+(([a-z][-a-z.]+)\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"$2"}}},{"name":"comment.line","match":"^#.*$"}]}}}
1
+ {"scopeName":"injections.etc","patterns":[{"name":"storage.type.class.${1:/downcase}","match":"(?\u003c!\\w)@?(PINHACK)\\b"}],"repository":{"scopeHack":{"begin":"\\A(?:\\xC2\\xAD|\\x{AD}){50}","end":"(?=A)B","patterns":[{"name":"markup.bold","match":"^ {5}(PRIMER PREVIEW - How grammar scopes look on GitHub):","captures":{"1":{"name":"constant.other.reference.link"}}},{"name":"comment.line","match":"^\\s*Last updated:\\s*(\\d{4}-\\d{2}-\\d{2})$"},{"name":"constant.other.reference.link","match":"^│ +(TEXTMATE.*) +│$","captures":{"1":{"name":"markup.heading"}}},{"match":"^│ +│$","captures":{"0":{"name":"constant.other.reference.link"}}},{"match":"^│\\s+(brackethighlighter.angle\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"brackethighlighter.angle"}}},{"match":"^│\\s+(brackethighlighter.curly\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"brackethighlighter.curly"}}},{"match":"^│\\s+(brackethighlighter.quote\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"brackethighlighter.quote"}}},{"match":"^│\\s+(brackethighlighter.round\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"brackethighlighter.round"}}},{"match":"^│\\s+(brackethighlighter.square\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"brackethighlighter.square"}}},{"match":"^│\\s+(brackethighlighter.tag\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"brackethighlighter.tag"}}},{"match":"^│\\s+(brackethighlighter.unmatched\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"brackethighlighter.unmatched"}}},{"match":"^│\\s+(carriage-return\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"carriage-return"}}},{"match":"^│\\s+(comment\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"comment"}}},{"match":"^│\\s+(constant\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"constant"}}},{"match":"^│\\s+(constant.character.escape\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"constant.character.escape"}}},{"match":"^│\\s+(constant.other.reference.link\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"constant.other.reference.link"}}},{"match":"^│\\s+(entity\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"entity"}}},{"match":"^│\\s+(entity.name\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"entity.name"}}},{"match":"^│\\s+(entity.name.constant\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"entity.name.constant"}}},{"match":"^│\\s+(entity.name.tag\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"entity.name.tag"}}},{"match":"^│\\s+(invalid.broken\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"invalid.broken"}}},{"match":"^│\\s+(invalid.deprecated\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"invalid.deprecated"}}},{"match":"^│\\s+(invalid.illegal\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"invalid.illegal"}}},{"match":"^│\\s+(invalid.unimplemented\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"invalid.unimplemented"}}},{"match":"^│\\s+(keyword\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"keyword"}}},{"match":"^│\\s+(keyword.operator.symbole\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"keyword.operator.symbole"}}},{"match":"^│\\s+(keyword.other.mark\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"keyword.other.mark"}}},{"match":"^│\\s+(markup.bold\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.bold"}}},{"match":"^│\\s+(markup.changed\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.changed"}}},{"match":"^│\\s+(markup.deleted\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.deleted"}}},{"match":"^│\\s+(markup.heading\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.heading"}}},{"match":"^│\\s+(markup.ignored\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.ignored"}}},{"match":"^│\\s+(markup.inserted\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.inserted"}}},{"match":"^│\\s+(markup.italic\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.italic"}}},{"match":"^│\\s+(markup.list\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.list"}}},{"match":"^│\\s+(markup.quote\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.quote"}}},{"match":"^│\\s+(markup.raw\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.raw"}}},{"match":"^│\\s+(markup.untracked\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"markup.untracked"}}},{"match":"^│\\s+(message.error\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"message.error"}}},{"match":"^│\\s+(meta.diff.header\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"meta.diff.header"}}},{"match":"^│\\s+(meta.diff.header.from-file\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"meta.diff.header.from-file"}}},{"match":"^│\\s+(meta.diff.header.to-file\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"meta.diff.header.to-file"}}},{"match":"^│\\s+(meta.diff.range\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"meta.diff.range"}}},{"match":"^│\\s+(meta.module-reference\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"meta.module-reference"}}},{"match":"^│\\s+(meta.output\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"meta.output"}}},{"match":"^│\\s+(meta.property-name\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"meta.property-name"}}},{"match":"^│\\s+(meta.separator\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"meta.separator"}}},{"match":"^│\\s+(punctuation.definition.changed\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"punctuation.definition.changed"}}},{"match":"^│\\s+(punctuation.definition.comment\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"punctuation.definition.comment"}}},{"match":"^│\\s+(punctuation.definition.deleted\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"punctuation.definition.deleted"}}},{"match":"^│\\s+(punctuation.definition.inserted\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"punctuation.definition.inserted"}}},{"match":"^│\\s+(punctuation.definition.string\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"punctuation.definition.string"}}},{"match":"^│\\s+(punctuation.section.embedded\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"punctuation.section.embedded"}}},{"match":"^│\\s+(source\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"source"}}},{"match":"^│\\s+(source.regexp\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"source.regexp"}}},{"match":"^│\\s+(source.ruby.embedded\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"source.ruby.embedded"}}},{"match":"^│\\s+(storage\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"storage"}}},{"match":"^│\\s+(storage.modifier.import\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"storage.modifier.import"}}},{"match":"^│\\s+(storage.modifier.package\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"storage.modifier.package"}}},{"match":"^│\\s+(storage.type\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"storage.type"}}},{"match":"^│\\s+(storage.type.java\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"storage.type.java"}}},{"match":"^│\\s+(string\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"string"}}},{"match":"^│\\s+(string.comment\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"string.comment"}}},{"match":"^│\\s+(string.other.link\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"string.other.link"}}},{"match":"^│\\s+(string.regexp\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"string.regexp"}}},{"match":"^│\\s+(string.regexp.arbitrary-repitition\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"string.regexp.arbitrary-repitition"}}},{"match":"^│\\s+(string.regexp.character-class\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"string.regexp.character-class"}}},{"match":"^│\\s+(string.unquoted.import.ada\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"string.unquoted.import.ada"}}},{"match":"^│\\s+(sublimelinter.gutter-mark\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"sublimelinter.gutter-mark"}}},{"match":"^│\\s+(sublimelinter.mark.error\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"sublimelinter.mark.error"}}},{"match":"^│\\s+(sublimelinter.mark.warning\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"sublimelinter.mark.warning"}}},{"match":"^│\\s+(support\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"support"}}},{"match":"^│\\s+(support.constant\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"support.constant"}}},{"match":"^│\\s+(support.variable\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"support.variable"}}},{"match":"^│\\s+(variable\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"variable"}}},{"match":"^│\\s+(variable.language\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"variable.language"}}},{"match":"^│\\s+(variable.other\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"variable.other"}}},{"match":"^│\\s+(variable.other.constant\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"variable.other.constant"}}},{"match":"^│\\s+(variable.parameter.function\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"variable.parameter.function"}}},{"match":"^│\\s+(([a-z][-a-z.]+)\\s+\\S+\\s+░▒▓█+)\\s+│$","captures":{"1":{"name":"$2"}}},{"name":"comment.line","match":"^#.*$"}]}}}
@@ -0,0 +1 @@
1
+ {"scopeName":"inline.surrealql-js-literal","patterns":[{"include":"#sql-template-literal"}],"repository":{"sql-template-literal":{"name":"meta.embedded.block.surrealql","begin":"(surql|surrealql|(\\/\\*\\s*(?:surql|surrealql)\\s*\\*\\/))\\s*(\\.[_$[:alpha:]][_$[:alnum:]]*)?\\s*(\u003c.+\u003e)?(\\(.+\\))?(\\s*`)","end":"(`)","patterns":[{"name":"meta.template.expression.js","begin":"(?=((?\u003c!\\\\)\\${))","end":"(?\u003c=(}))","patterns":[{"include":"source.js"}],"beginCaptures":{"1":{"name":"punctuation.definition.template-expression.begin.js"}},"endCaptures":{"1":{"name":"punctuation.definition.template-expression.end.js"}}},{"include":"source.surrealql"}],"beginCaptures":{"2":{"name":"comment.block.js"},"6":{"name":"string.template.js"}},"endCaptures":{"1":{"name":"string.template.js"}}}}}
@@ -0,0 +1 @@
1
+ {"scopeName":"js.inline.edgeql","patterns":[{"name":"commentTaggedTemplate","contentName":"meta.embedded.block.edgeql","begin":"(`)(#\\s*edgeql)","end":"`","patterns":[{"include":"source.edgeql"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.template.begin.js"},"2":{"name":"comment.line.number-sign.edgeql"}},"endCaptures":{"0":{"name":"punctuation.definition.string.template.end.js"}}},{"name":"tagged-template.edgeql","contentName":"meta.embedded.block.edgeql","begin":"\\b(edgeql)(`)","end":"\\2","patterns":[{"include":"source.edgeql"}],"beginCaptures":{"1":{"name":"entity.name.function.tagged-template.js"},"2":{"name":"punctuation.definition.string.begin.js"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.js"}}},{"name":"multilinecomment.edgeql","contentName":"meta.embedded.block.edgeql","begin":"(/\\**\\s*edgeql\\s*\\**/)\\s*(`|'|\")","end":"\\2","patterns":[{"include":"source.edgeql"}],"beginCaptures":{"1":{"name":"punctuation.definition.comment.js"},"2":{"name":"punctuation.definition.string.template.start.js"}},"endCaptures":{"0":{"name":"punctuation.definition.string.template.end.js"}}}]}
@@ -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#comments"},{"include":"source.move#comments"},{"include":"source.move#module"},{"include":"source.move#script"},{"include":"source.move#annotation"},{"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#enum"},{"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"}}}}}
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#extend_module"},{"include":"source.move#module"},{"include":"source.move#script"},{"include":"source.move#annotation"},{"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#enum"},{"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"},{"include":"source.move#expr"}]}],"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.surrealql.codeblock","patterns":[{"include":"#surrealql-code-block"}],"repository":{"surrealql-code-block":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(surql|surrealql)(\\s+[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.surrealql","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.surrealql"}]}],"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.vue.codeblock","patterns":[{"include":"#vue-code-block"}],"repository":{"vue-code-block":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(vue)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"include":"source.vue"}],"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.vue.codeblock","patterns":[{"include":"#vue-code-block"}],"repository":{"vue-code-block":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(vue)((\\s+|:|,|\\{|\\?)[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"include":"text.html.vue"}],"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.wesl.codeblock","patterns":[{"include":"#fenced_code_block_wesl"}],"repository":{"fenced_code_block_wesl":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(wesl)(\\s+[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.wesl","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.wesl"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language"},"5":{"name":"fenced_code.block.language.attributes"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}}}}
@@ -0,0 +1 @@
1
+ {"scopeName":"markdown.wgsl.codeblock","patterns":[{"include":"#fenced_code_block_wgsl"}],"repository":{"fenced_code_block_wgsl":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(`{3,}|~{3,})\\s*(?i:(wgsl)(\\s+[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.wgsl","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.wgsl"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language"},"5":{"name":"fenced_code.block.language.attributes"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}}}}
@@ -1 +1 @@
1
- {"scopeName":"mdx.vue.codeblock","patterns":[{"include":"#vue-code-block"}],"repository":{"vue-code-block":{"patterns":[{"name":"markup.code.vue.mdx","contentName":"meta.embedded.vue","begin":"(?:^|\\G)[\\t ]*(`{3,})(?:[\\t ]*((?i:(?:.*\\.)?vue))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)","end":"(\\1)(?:[\\t ]*$)","patterns":[{"include":"source.vue"}],"beginCaptures":{"1":{"name":"string.other.begin.code.fenced.mdx"},"2":{"name":"entity.name.function.mdx"}},"endCaptures":{"1":{"name":"string.other.end.code.fenced.mdx"}}},{"name":"markup.code.vue.mdx","contentName":"meta.embedded.vue","begin":"(?:^|\\G)[\\t ]*(~{3,})(?:[\\t ]*((?i:(?:.*\\.)?vue))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)","end":"(\\1)(?:[\\t ]*$)","patterns":[{"include":"source.vue"}],"beginCaptures":{"1":{"name":"string.other.begin.code.fenced.mdx"},"2":{"name":"entity.name.function.mdx"}},"endCaptures":{"1":{"name":"string.other.end.code.fenced.mdx"}}}]}}}
1
+ {"scopeName":"mdx.vue.codeblock","patterns":[{"include":"#vue-code-block"}],"repository":{"vue-code-block":{"patterns":[{"name":"markup.code.vue.mdx","contentName":"meta.embedded.vue","begin":"(?:^|\\G)[\\t ]*(`{3,})(?:[\\t ]*((?i:(?:.*\\.)?vue))(?:[\\t ]+((?:[^\\n\\r`])+))?)(?:[\\t ]*$)","end":"(\\1)(?:[\\t ]*$)","patterns":[{"include":"text.html.vue"}],"beginCaptures":{"1":{"name":"string.other.begin.code.fenced.mdx"},"2":{"name":"entity.name.function.mdx"}},"endCaptures":{"1":{"name":"string.other.end.code.fenced.mdx"}}},{"name":"markup.code.vue.mdx","contentName":"meta.embedded.vue","begin":"(?:^|\\G)[\\t ]*(~{3,})(?:[\\t ]*((?i:(?:.*\\.)?vue))(?:[\\t ]+((?:[^\\n\\r])+))?)(?:[\\t ]*$)","end":"(\\1)(?:[\\t ]*$)","patterns":[{"include":"text.html.vue"}],"beginCaptures":{"1":{"name":"string.other.begin.code.fenced.mdx"},"2":{"name":"entity.name.function.mdx"}},"endCaptures":{"1":{"name":"string.other.end.code.fenced.mdx"}}}]}}}
@@ -0,0 +1 @@
1
+ {"scopeName":"res.inline.edgeql","patterns":[{"contentName":"meta.embedded.block.edgeql","begin":"(%edgeql\\()\\s*$","end":"(?\u003c=\\))","patterns":[{"begin":"^\\s*(`)$","end":"^\\s*(`)","patterns":[{"include":"source.edgeql"}]}]},{"contentName":"meta.embedded.block.edgeql","begin":"(%edgeql\\(`)","end":"(\\`( )?\\))","patterns":[{"include":"source.edgeql"}]}]}