github-linguist 9.5.0 → 9.7.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 (157) hide show
  1. checksums.yaml +4 -4
  2. data/grammars/etc.json +1 -1
  3. data/grammars/gno.mod.json +1 -0
  4. data/grammars/markdown.mojo.codeblock.json +1 -0
  5. data/grammars/markdown.move.codeblock.json +1 -1
  6. data/grammars/source.4dm.json +1 -1
  7. data/grammars/source.abl.json +1 -1
  8. data/grammars/source.aleo.json +1 -0
  9. data/grammars/source.apex.json +1 -1
  10. data/grammars/source.astro.json +1 -1
  11. data/grammars/source.baml.json +1 -0
  12. data/grammars/source.bb.json +1 -1
  13. data/grammars/source.bird2.json +1 -0
  14. data/grammars/source.blueprint.json +1 -0
  15. data/grammars/source.bnd.json +1 -1
  16. data/grammars/source.brs.embedded.xml.json +1 -0
  17. data/grammars/source.bsl.json +1 -1
  18. data/grammars/source.c++.json +1 -1
  19. data/grammars/source.c.json +1 -1
  20. data/grammars/source.c3.json +1 -1
  21. data/grammars/source.carbon.json +1 -0
  22. data/grammars/source.cel.json +1 -0
  23. data/grammars/source.cl.json +1 -1
  24. data/grammars/source.clar.json +1 -1
  25. data/grammars/source.cmake.json +1 -1
  26. data/grammars/source.cmd.json +1 -1
  27. data/grammars/source.comment-string.wesl.json +1 -1
  28. data/grammars/source.comment-string.wgsl.json +1 -1
  29. data/grammars/source.cs.json +1 -1
  30. data/grammars/source.csswg.json +1 -1
  31. data/grammars/source.csv.json +1 -1
  32. data/grammars/source.curlrc.json +1 -1
  33. data/grammars/source.dart.json +1 -1
  34. data/grammars/source.daslang.json +1 -1
  35. data/grammars/source.data-weave.json +1 -1
  36. data/grammars/source.dds.dspf.json +1 -1
  37. data/grammars/source.dds.icff.json +1 -1
  38. data/grammars/source.dds.lf.json +1 -1
  39. data/grammars/source.dds.pf.json +1 -1
  40. data/grammars/source.dds.prtf.json +1 -1
  41. data/grammars/source.deq.json +1 -0
  42. data/grammars/source.emacs.lisp.json +1 -1
  43. data/grammars/source.fift.json +1 -0
  44. data/grammars/source.flix.json +1 -1
  45. data/grammars/source.fpp.json +1 -0
  46. data/grammars/source.func.json +1 -0
  47. data/grammars/source.gdscript.json +1 -1
  48. data/grammars/source.gedcom.json +1 -1
  49. data/grammars/source.gimprc.json +1 -0
  50. data/grammars/source.gimpres.json +1 -0
  51. data/grammars/source.gitconfig.json +1 -1
  52. data/grammars/source.gno.json +1 -0
  53. data/grammars/source.graphql.json +1 -1
  54. data/grammars/source.gtkrc.json +1 -0
  55. data/grammars/source.hack.json +1 -1
  56. data/grammars/source.hosts.json +1 -1
  57. data/grammars/source.hx.json +1 -1
  58. data/grammars/source.hxml.json +1 -1
  59. data/grammars/source.il.json +1 -0
  60. data/grammars/source.interp.json +1 -0
  61. data/grammars/source.jac.json +1 -1
  62. data/grammars/source.jactoml.json +1 -0
  63. data/grammars/source.jai.json +1 -1
  64. data/grammars/source.jass.json +1 -0
  65. data/grammars/source.julia.json +1 -1
  66. data/grammars/source.just.json +1 -1
  67. data/grammars/source.kcl.json +1 -1
  68. data/grammars/source.koka.json +1 -1
  69. data/grammars/source.lean4.markdown.json +1 -1
  70. data/grammars/source.leo.json +1 -1
  71. data/grammars/source.lobster.json +1 -0
  72. data/grammars/source.logos.json +1 -1
  73. data/grammars/source.luau.json +1 -1
  74. data/grammars/source.m2.json +1 -1
  75. data/grammars/source.m3u.json +1 -1
  76. data/grammars/source.matlab.json +1 -1
  77. data/grammars/source.mdx.astro.json +1 -1
  78. data/grammars/source.mi.json +1 -1
  79. data/grammars/source.mo.json +1 -1
  80. data/grammars/source.mojo.json +1 -1
  81. data/grammars/source.moonbit.config.json +1 -0
  82. data/grammars/source.moonbit.json +1 -1
  83. data/grammars/source.move.json +1 -1
  84. data/grammars/source.ms.json +1 -0
  85. data/grammars/source.nim.json +1 -1
  86. data/grammars/source.openqasm.json +1 -1
  87. data/grammars/source.opy.json +1 -0
  88. data/grammars/source.paperspecs.json +1 -0
  89. data/grammars/source.pic.json +1 -1
  90. data/grammars/source.pkgconf.json +1 -0
  91. data/grammars/source.pl.json +1 -0
  92. data/grammars/source.pnlgrp.json +1 -1
  93. data/grammars/source.powerquery.json +1 -0
  94. data/grammars/source.powershell.json +1 -1
  95. data/grammars/source.prisma.json +1 -1
  96. data/grammars/source.qsharp.json +1 -1
  97. data/grammars/source.quint.json +1 -0
  98. data/grammars/source.rarlist.json +1 -0
  99. data/grammars/source.rascript.json +1 -1
  100. data/grammars/source.record-jar.json +1 -1
  101. data/grammars/source.redscript.json +1 -0
  102. data/grammars/source.rego.json +1 -1
  103. data/grammars/source.rhai.json +1 -0
  104. data/grammars/source.rpg.json +1 -1
  105. data/grammars/source.rpgle.json +1 -1
  106. data/grammars/source.rust.json +1 -1
  107. data/grammars/source.scala.json +1 -1
  108. data/grammars/source.slang.json +1 -1
  109. data/grammars/source.slint.json +1 -1
  110. data/grammars/source.smithy.json +1 -1
  111. data/grammars/source.soql.json +1 -1
  112. data/grammars/source.spicedb-yaml.json +1 -0
  113. data/grammars/source.spicedb.json +1 -0
  114. data/grammars/source.stan.json +1 -1
  115. data/grammars/source.stim.json +1 -0
  116. data/grammars/source.surrealql.json +1 -1
  117. data/grammars/source.swift.json +1 -1
  118. data/grammars/source.tasm.json +1 -0
  119. data/grammars/source.tlb.json +1 -0
  120. data/grammars/source.tolk.json +1 -0
  121. data/grammars/source.ucode-template.json +1 -0
  122. data/grammars/source.ucode.json +1 -0
  123. data/grammars/source.uri-list.json +1 -0
  124. data/grammars/source.v.json +1 -1
  125. data/grammars/source.vento.json +1 -1
  126. data/grammars/source.verse.json +1 -0
  127. data/grammars/source.vespaSchema.json +1 -0
  128. data/grammars/source.vhs.json +1 -0
  129. data/grammars/source.wgsl.json +1 -1
  130. data/grammars/source.yaml.salt.json +1 -1
  131. data/grammars/spicedb-yaml.injection.json +1 -0
  132. data/grammars/text.bbcode.json +1 -0
  133. data/grammars/text.cachedir.json +1 -0
  134. data/grammars/text.cookie-jar.json +1 -0
  135. data/grammars/text.html.handlebars.json +1 -1
  136. data/grammars/text.html.vue.json +1 -1
  137. data/grammars/text.mac-tts.json +1 -0
  138. data/grammars/text.recfile.json +1 -0
  139. data/grammars/text.roff.json +1 -1
  140. data/grammars/version +1 -1
  141. data/lib/linguist/VERSION +1 -1
  142. data/lib/linguist/blob_helper.rb +19 -0
  143. data/lib/linguist/classifier.rb +2 -1
  144. data/lib/linguist/generated.rb +40 -0
  145. data/lib/linguist/generic.yml +3 -0
  146. data/lib/linguist/heuristics.yml +97 -5
  147. data/lib/linguist/language.rb +13 -9
  148. data/lib/linguist/languages.yml +368 -37
  149. data/lib/linguist/languages_data.rb +7663 -0
  150. data/lib/linguist/lazy_blob.rb +25 -2
  151. data/lib/linguist/samples.rb +4 -10
  152. data/lib/linguist/samples_data.rb +196100 -0
  153. data/lib/linguist/vendor.yml +3 -0
  154. metadata +54 -18
  155. data/grammars/markdown.bicep.codeblock.json +0 -1
  156. data/lib/linguist/languages.json +0 -1
  157. data/lib/linguist/samples.json +0 -1
@@ -0,0 +1 @@
1
+ {"name":"fift","scopeName":"source.fift","patterns":[{"include":"#comments"},{"include":"#strings"},{"include":"#numbers"},{"include":"#stack_words"},{"include":"#program_words"},{"include":"#control_words"},{"include":"#literals"},{"include":"#commands"}],"repository":{"commands":{"patterns":[{"name":"keyword.other.command.fift","match":"\\b[A-Z][A-Z0-9_]*\\b"}]},"comments":{"patterns":[{"name":"comment.line.double-slash.fift","match":"//.*$"}]},"control_words":{"patterns":[{"name":"keyword.control.flow.fift","match":"\\b(if|ifnot|cond|until|while|times)\\b"},{"name":"keyword.control.import.fift","match":"\\b(include)\\b"}]},"literals":{"patterns":[{"name":"constant.language.boolean.fift","match":"\\b(true|false)\\b"},{"name":"constant.other.binary-slice.fift","match":"b\\{[01]+\\}"},{"name":"constant.other.hex-slice.fift","match":"x\\{[0-9a-fA-F_]+\\}"},{"name":"constant.other.hex-bytes.fift","match":"B\\{[0-9a-fA-F_]+\\}"},{"name":"constant.character.fift","match":"char ."}]},"numbers":{"patterns":[{"name":"constant.numeric.decimal.fift","match":"\\b-?[0-9]+(/-?[0-9]+)?\\b"},{"name":"constant.numeric.hex.fift","match":"\\b0x[0-9a-fA-F]+\\b"},{"name":"constant.numeric.binary.fift","match":"\\b0b[01]+\\b"}]},"program_words":{"patterns":[{"name":"keyword.control.program.fift","match":"\\b(PROGRAM|END\u003ec|PROC|PROCINLINE|DECLPROC|DECLMETHOD)\\b"},{"name":"keyword.control.call.fift","match":"\\b(CALLDICT|INLINECALLDICT)\\b"}]},"stack_words":{"patterns":[{"name":"keyword.operator.stack.fift","match":"\\b(dup|drop|swap|rot|-rot|over|tuck|nip|2dup|2drop|2swap|pick|roll|-roll|exch|exch2|\\?dup)\\b"}]},"strings":{"patterns":[{"name":"string.quoted.double.fift","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.fift","match":"\\\\."}]},{"name":"string.quoted.double.abort.fift","match":"abort\"[^\"]*\""},{"name":"string.quoted.double.print.fift","match":"\\.\"[^\"]*\""}]}}}
@@ -1 +1 @@
1
- {"name":"flix","scopeName":"source.flix","patterns":[{"include":"#all_patterns"}],"repository":{"all_patterns":{"patterns":[{"include":"#constants"},{"include":"#keywords"},{"include":"#literal_char"},{"include":"#literal_string"},{"include":"#literal_dec"},{"include":"#literal_hex"},{"include":"#annotations"},{"include":"#types"},{"include":"#comments"}]},"annotations":{"patterns":[{"name":"storage.type.annotation.flix","match":"@Deprecated"},{"name":"storage.type.annotation.flix","match":"@Experimental"},{"name":"storage.type.annotation.flix","match":"@Internal"},{"name":"storage.type.annotation.flix","match":"@ParallelWhenPure"},{"name":"storage.type.annotation.flix","match":"@Parallel"},{"name":"storage.type.annotation.flix","match":"@LazyWhenPure"},{"name":"storage.type.annotation.flix","match":"@Lazy"},{"name":"storage.type.annotation.flix","match":"@Skip"},{"name":"storage.type.annotation.flix","match":"@Test"}]},"comments":{"patterns":[{"name":"comment.line.double-slash.flix","match":"//.*$"},{"name":"comment.block.flix","begin":"/\\*","end":"\\*/"}]},"constants":{"patterns":[{"name":"constant.language.unit.flix","match":"\\b\\(\\)\\b"},{"name":"constant.language.bool.flix","match":"\\b(true|false)\\b"},{"name":"constant.language.comparison.flix","match":"\\b(LessThan|EqualTo|GreaterThan)\\b"},{"name":"constant.language.nil.flix","match":"\\b(Nil)\\b"},{"name":"constant.language.null.flix","match":"\\b(null)\\b"},{"name":"constant.language.option.flix","match":"\\b(Some|None)\\b"},{"name":"constant.language.result.flix","match":"\\b(Ok|Err)\\b"}]},"keywords":{"patterns":[{"name":"keyword.control.choose.flix","match":"\\b(choose\\*|choose)\\b"},{"name":"keyword.control.debug.flix","match":"\\b(dbg)\\b"},{"name":"keyword.control.applicativefor.flix","match":"\\b(forA)\\b"},{"name":"keyword.control.monadicfor.flix","match":"\\b(forM)\\b"},{"name":"keyword.control.foreach.flix","match":"\\b(foreach)\\b"},{"name":"keyword.control.handler.flix","match":"\\b(handler)\\b"},{"name":"keyword.control.yield.flix","match":"\\b(yield)\\b"},{"name":"keyword.control.if.flix","match":"\\b(if|else)\\b"},{"name":"keyword.control.match.flix","match":"\\b(case|match|typematch|ematch)\\b"},{"name":"keyword.control.run.flix","match":"\\b(run)\\b"},{"name":"keyword.control.resume.flix","match":"\\b(resume)\\b"},{"name":"keyword.control.throw.flix","match":"\\b(throw)\\b"},{"name":"keyword.control.try.flix","match":"\\b(try|catch)\\b"},{"name":"keyword.control.spawn.flix","match":"\\b(spawn)\\b"},{"name":"keyword.control.par.flix","match":"\\b(par)\\b"},{"name":"keyword.control.unsafe.flix","match":"\\b(unsafe)\\b"},{"name":"keyword.control.ast.flix","match":"\\b(branch|jumpto)\\b"},{"name":"keyword.forall.flix","match":"\\b(forall)\\b"},{"name":"keyword.operator.bool.flix","match":"\\b(not|and|or)\\b"},{"name":"keyword.operator.fix.flix","match":"\\bfix\\b"},{"name":"keyword.operator.new.flix","match":"\\b(new)\\b"},{"name":"keyword.declaration.flix","match":"\\b(eff|def|redef|law|enum|case|type|alias|trait|instance|with|without|opaque|mod|struct|handler|xvar)\\b"},{"name":"keyword.expression.cast.flix","match":"\\b(checked_cast|checked_ecast|unchecked_cast|as)\\b"},{"name":"keyword.expression.discard.flix","match":"\\b(discard)\\b"},{"name":"keyword.expression.fixpoint.flix","match":"\\b(from|into|inject|project|psolve|solve|query|pquery|where|select)\\b"},{"name":"keyword.expression.force.flix","match":"\\b(force)\\b"},{"name":"keyword.expression.hole.flix","match":"(\\?\\?\\?|\\?[a-zA-Z0-9]+)"},{"name":"keyword.expression.import.flix","match":"\\b(import)\\b"},{"name":"keyword.expression.instanceof.flix","match":"\\b(instanceof)\\b"},{"name":"keyword.expression.let.flix","match":"\\b(let)\\b"},{"name":"keyword.expression.lazy.flix","match":"\\b(lazy)\\b"},{"name":"keyword.expression.region.flix","match":"\\b(region)\\b"},{"name":"keyword.use.flix","match":"\\b(use)\\b"},{"name":"keyword.mut.flix","match":"\\b(mut)\\b"},{"name":"keyword.symbols.flix","match":"(~\u003e|\u003c\\-|=\u003e)"},{"name":"keyword.arrow.function.flix","match":"(\\s\\-\u003e\\s|\\s\\-\u003e|\\-\u003e\\s)"},{"name":"keyword.operator.arrow.struct.flix","match":"\\-\u003e"},{"name":"keyword.control.semicolon.flix","match":";"},{"name":"storage.type.modifier.flix","match":"\\b(lawful|pub|sealed|static)\\b"}]},"literal_char":{"name":"string.quoted.single.flix","begin":"'","end":"'","patterns":[{"name":"constant.character.escape","match":"\\\\((u[0-9a-fA-F]{4})|.)"}]},"literal_dec":{"patterns":[{"name":"constant.numeric.decimal.flix","match":"\\b[0-9](_*[0-9])*\\.[0-9](_*[0-9])*(f32|f64)?\\b"},{"name":"constant.numeric.decimal.bigdecimal.flix","match":"\\b[0-9](_*[0-9])*\\.[0-9](_*[0-9])*(ff)?\\b"},{"name":"constant.numeric.decimal.flix","match":"(?\u003c!\\$)\\b[0-9](_*[0-9])*(i8|i16|i32|i64|ii)?\\b"}]},"literal_hex":{"name":"constant.numeric.hex.flix","match":"\\b0x[a-fA-F0-9](_*[a-fA-F0-9])*(i8|i16|i32|i64|ii)?\\b"},"literal_string":{"name":"string.quoted.double.flix","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.flix","match":"\\\\((u[0-9a-fA-F]{4})|.)"},{"contentName":"meta.embedded.line.flix","begin":"\\$\\{","end":"\\}","patterns":[{"include":"#all_patterns"}],"beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.flix"}},"endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.flix"}}}]},"types":{"patterns":[{"name":"entity.name.type","match":"\\b(Unit|Bool|Char|Float32|Float64|Int8|Int16|Int32|Int64|BigInt|String)\\b"}]}}}
1
+ {"name":"flix","scopeName":"source.flix","patterns":[{"include":"#all_patterns"}],"repository":{"all_patterns":{"patterns":[{"include":"#constants"},{"include":"#declarations"},{"include":"#keywords"},{"include":"#literal_char"},{"include":"#literal_string"},{"include":"#literal_dec"},{"include":"#literal_hex"},{"include":"#annotations"},{"include":"#functions"},{"include":"#types"},{"include":"#comments"}]},"annotations":{"patterns":[{"name":"storage.type.annotation.flix","match":"@Deprecated"},{"name":"storage.type.annotation.flix","match":"@Experimental"},{"name":"storage.type.annotation.flix","match":"@Internal"},{"name":"storage.type.annotation.flix","match":"@ParallelWhenPure"},{"name":"storage.type.annotation.flix","match":"@Parallel"},{"name":"storage.type.annotation.flix","match":"@LazyWhenPure"},{"name":"storage.type.annotation.flix","match":"@Lazy"},{"name":"storage.type.annotation.flix","match":"@Skip"},{"name":"storage.type.annotation.flix","match":"@Test"}]},"comments":{"patterns":[{"name":"comment.line.double-slash.flix","match":"//.*$"},{"name":"comment.block.flix","begin":"/\\*","end":"\\*/"}]},"constants":{"patterns":[{"name":"constant.language.unit.flix","match":"(?\u003c![a-zA-Z0-9_!])\\(\\)"},{"name":"constant.language.bool.flix","match":"\\b(true|false)\\b"},{"name":"constant.language.comparison.flix","match":"\\b(LessThan|EqualTo|GreaterThan)\\b"},{"name":"constant.language.nil.flix","match":"\\b(Nil)\\b"},{"name":"constant.language.null.flix","match":"\\b(null)\\b"},{"name":"constant.language.option.flix","match":"\\b(Some|None)\\b"},{"name":"constant.language.result.flix","match":"\\b(Ok|Err)\\b"}]},"declarations":{"patterns":[{"match":"\\b(def|redef)\\s+([a-z][a-zA-Z0-9_]*!?)","captures":{"1":{"name":"keyword.declaration.flix"},"2":{"name":"entity.name.function.flix"}}}]},"functions":{"patterns":[{"match":"\\b([A-Z][a-zA-Z0-9_]*)\\.([a-z][a-zA-Z0-9_]*!?)","captures":{"1":{"name":"entity.name.type.flix"},"2":{"name":"support.function.flix"}}},{"name":"entity.name.function.flix","match":"\\b[a-z][a-zA-Z0-9_]*!?(?=\\s*\\()"}]},"keywords":{"patterns":[{"name":"keyword.control.choose.flix","match":"\\b(choose\\*|choose)\\b"},{"name":"keyword.control.applicativefor.flix","match":"\\b(forA)\\b"},{"name":"keyword.control.monadicfor.flix","match":"\\b(forM)\\b"},{"name":"keyword.control.foreach.flix","match":"\\b(foreach)\\b"},{"name":"keyword.control.handler.flix","match":"\\b(handler)\\b"},{"name":"keyword.control.yield.flix","match":"\\b(yield)\\b"},{"name":"keyword.control.if.flix","match":"\\b(if|else)\\b"},{"name":"keyword.control.match.flix","match":"\\b(case|match|ematch)\\b"},{"name":"keyword.control.run.flix","match":"\\b(run)\\b"},{"name":"keyword.control.throw.flix","match":"\\b(throw)\\b"},{"name":"keyword.control.try.flix","match":"\\b(try|catch)\\b"},{"name":"keyword.control.spawn.flix","match":"\\b(spawn)\\b"},{"name":"keyword.control.par.flix","match":"\\b(par)\\b"},{"name":"keyword.control.unsafe.flix","match":"\\b(unsafe)\\b"},{"name":"keyword.forall.flix","match":"\\b(forall)\\b"},{"name":"keyword.operator.bool.flix","match":"\\b(not|and|or)\\b"},{"name":"keyword.operator.fix.flix","match":"\\bfix\\b"},{"name":"keyword.operator.new.flix","match":"\\b(new)\\b"},{"name":"keyword.declaration.flix","match":"\\b(eff|def|redef|enum|type|alias|trait|instance|with|mod|struct)\\b"},{"name":"keyword.expression.cast.flix","match":"\\b(checked_cast|checked_ecast|unchecked_cast|as)\\b"},{"name":"keyword.expression.discard.flix","match":"\\b(discard)\\b"},{"name":"keyword.expression.fixpoint.flix","match":"\\b(from|into|inject|project|psolve|solve|query|pquery|where|select)\\b"},{"name":"keyword.expression.force.flix","match":"\\b(force)\\b"},{"name":"keyword.expression.hole.flix","match":"(\\?\\?\\?|\\?[a-zA-Z0-9]+)"},{"name":"keyword.expression.import.flix","match":"\\b(import)\\b"},{"name":"keyword.expression.instanceof.flix","match":"\\b(instanceof)\\b"},{"name":"keyword.expression.let.flix","match":"\\b(let)\\b"},{"name":"keyword.expression.lazy.flix","match":"\\b(lazy)\\b"},{"name":"keyword.expression.region.flix","match":"\\b(region)\\b"},{"name":"keyword.use.flix","match":"\\b(use)\\b"},{"name":"keyword.mut.flix","match":"\\b(mut)\\b"},{"name":"keyword.symbols.flix","match":"(~\u003e|\u003c\\-|=\u003e)"},{"name":"keyword.arrow.function.flix","match":"(\\s\\-\u003e\\s|\\s\\-\u003e|\\-\u003e\\s)"},{"name":"keyword.operator.arrow.struct.flix","match":"\\-\u003e"},{"name":"keyword.control.semicolon.flix","match":";"},{"name":"variable.language.super.flix","match":"\\b(super)\\b"},{"name":"storage.modifier.flix","match":"\\b(pub|sealed|static)\\b"}]},"literal_char":{"name":"string.quoted.single.flix","begin":"'","end":"'","patterns":[{"name":"constant.character.escape","match":"\\\\((u[0-9a-fA-F]{4})|.)"}]},"literal_dec":{"patterns":[{"name":"constant.numeric.decimal.flix","match":"\\b[0-9](_*[0-9])*\\.[0-9](_*[0-9])*(f32|f64)?\\b"},{"name":"constant.numeric.decimal.bigdecimal.flix","match":"\\b[0-9](_*[0-9])*\\.[0-9](_*[0-9])*(ff)?\\b"},{"name":"constant.numeric.decimal.flix","match":"(?\u003c!\\$)\\b[0-9](_*[0-9])*(i8|i16|i32|i64|ii)?\\b"}]},"literal_hex":{"name":"constant.numeric.hex.flix","match":"\\b0x[a-fA-F0-9](_*[a-fA-F0-9])*(i8|i16|i32|i64|ii)?\\b"},"literal_string":{"name":"string.quoted.double.flix","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.flix","match":"\\\\((u[0-9a-fA-F]{4})|.)"},{"contentName":"meta.embedded.line.flix","begin":"\\$\\{","end":"\\}","patterns":[{"include":"#all_patterns"}],"beginCaptures":{"0":{"name":"punctuation.definition.template-expression.begin.flix"}},"endCaptures":{"0":{"name":"punctuation.definition.template-expression.end.flix"}}}]},"types":{"patterns":[{"name":"entity.name.type.flix","match":"\\b[A-Z][a-zA-Z0-9_]*\\b"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"fpp","scopeName":"source.fpp","patterns":[{"include":"#specInitPhase"},{"include":"#keywords"},{"include":"#modifiers"},{"include":"#severity"},{"include":"#types"},{"include":"#type-builtin-literals"},{"include":"#annotations"},{"include":"#tripleString"},{"include":"#strings"},{"include":"#punctuation-comma"},{"include":"#punctuation-semicolon"},{"include":"#punctuation-accessor"},{"include":"#string-character-escape"},{"include":"#numeric-literal"}],"repository":{"annotations":{"patterns":[{"name":"comment.block.documentation.fpp","match":"[@][\u003c]?[^\n]*"},{"name":"comment.line.fpp","match":"[#][^\n]*"}]},"cppTripleString":{"contentName":"meta.embedded.block.cpp","begin":"\"\"\"","end":"\"\"\"","patterns":[{"include":"source.c++"}],"beginCaptures":{"0":{"name":"string.quoted.triple.fpp punctuation.definition.string.begin.fpp"}},"endCaptures":{"0":{"name":"string.quoted.triple.fpp punctuation.definition.string.end.fpp"}}},"keywords":{"patterns":[{"name":"storage.type.class.fpp","match":"\\b(?\u003c![$])(action|always|array|assert|at|base|block|bool|change|choice|command|component|connections|constant|container|cpu|default|do|drop|else|enter|entry|enum|event|exit|format|get|group|guard|health|hook|id|if|import|include|initial|input|instance|interface|internal|locate|machine|match|module|omit|on|opcode|orange|output|packet|packets|param|phase|port|priority|private|product|queue|record|recv|red|ref|reg|request|resp|save|send|serial|set|severity|signal|size|sizeof|stack|state|string|struct|telemetry|text|throttle|time|topology|type|unmatched|update|with|yellow)\\b"}]},"line-continuation":{"name":"punctuation.separator.continuation.fpp","match":"\\\\\\s*$"},"modifiers":{"patterns":[{"name":"keyword.control.export.fpp","match":"\\b(?\u003c![$])(active|async|deployment|dictionary|sync|system|passive|queued|guarded)\\b"}]},"numeric-literal":{"patterns":[{"name":"constant.numeric.hex.ts","match":"\\b(?\u003c!\\$)0(?:x|X)[0-9a-fA-F][0-9a-fA-F_]*(n)?\\b(?!\\$)","captures":{"1":{"name":"storage.type.numeric.bigint.ts"}}},{"name":"constant.numeric.binary.ts","match":"\\b(?\u003c!\\$)0(?:b|B)[01][01_]*(n)?\\b(?!\\$)","captures":{"1":{"name":"storage.type.numeric.bigint.ts"}}},{"name":"constant.numeric.octal.ts","match":"\\b(?\u003c!\\$)0(?:o|O)?[0-7][0-7_]*(n)?\\b(?!\\$)","captures":{"1":{"name":"storage.type.numeric.bigint.ts"}}},{"match":"(?x)\n(?\u003c!\\$)(?:\n (?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| # 1.1E+3\n (?:\\b[0-9][0-9_]*(\\.)[eE][+-]?[0-9][0-9_]*(n)?\\b)| # 1.E+3\n (?:\\B(\\.)[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| # .1E+3\n (?:\\b[0-9][0-9_]*[eE][+-]?[0-9][0-9_]*(n)?\\b)| # 1E+3\n (?:\\b[0-9][0-9_]*(\\.)[0-9][0-9_]*(n)?\\b)| # 1.1\n (?:\\b[0-9][0-9_]*(\\.)(n)?\\B)| # 1.\n (?:\\B(\\.)[0-9][0-9_]*(n)?\\b)| # .1\n (?:\\b[0-9][0-9_]*(n)?\\b(?!\\.)) # 1\n)(?!\\$)","captures":{"0":{"name":"constant.numeric.decimal.ts"},"1":{"name":"meta.delimiter.decimal.period.ts"},"10":{"name":"meta.delimiter.decimal.period.ts"},"11":{"name":"storage.type.numeric.bigint.ts"},"12":{"name":"meta.delimiter.decimal.period.ts"},"13":{"name":"storage.type.numeric.bigint.ts"},"14":{"name":"storage.type.numeric.bigint.ts"},"2":{"name":"storage.type.numeric.bigint.ts"},"3":{"name":"meta.delimiter.decimal.period.ts"},"4":{"name":"storage.type.numeric.bigint.ts"},"5":{"name":"meta.delimiter.decimal.period.ts"},"6":{"name":"storage.type.numeric.bigint.ts"},"7":{"name":"storage.type.numeric.bigint.ts"},"8":{"name":"meta.delimiter.decimal.period.ts"},"9":{"name":"storage.type.numeric.bigint.ts"}}}]},"punctuation-accessor":{"match":"(?:(\\.)|(\\?\\.(?!\\s*[[:digit:]])))","captures":{"1":{"name":"punctuation.accessor.ts"},"2":{"name":"punctuation.accessor.optional.ts"}}},"punctuation-comma":{"name":"punctuation.separator.comma.ts","match":","},"punctuation-semicolon":{"name":"punctuation.terminator.statement.ts","match":";"},"severity":{"patterns":[{"name":"keyword.control.trycatch.fpp","match":"\\b(?\u003c![$])(activity|diagnostic|low|fatal|high|warning)\\b"}]},"specInitPhase":{"name":"meta.spec-init.fpp","begin":"\\b(?\u003c![$])(phase)\\b","end":"(?\u003c=\")|(?=\\})","patterns":[{"include":"#cppTripleString"},{"include":"#strings"},{"include":"#line-continuation"},{"include":"#annotations"},{"include":"#numeric-literal"},{"include":"#punctuation-accessor"}],"beginCaptures":{"1":{"name":"storage.type.class.fpp"}}},"string-character-escape":{"name":"constant.character.escape.ts","match":"\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|u\\{[0-9A-Fa-f]+\\}|[0-2][0-7]{0,2}|3[0-6][0-7]?|37[0-7]?|[4-7][0-7]?|.|$)"},"strings":{"name":"string.quoted.double.fpp","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.fpp","match":"\\\\."}]},"tripleString":{"name":"string.quoted.triple.fpp","begin":"\"\"\"","end":"\"\"\"","patterns":[{"name":"constant.character.escape.fpp","match":"\\\\."}]},"type-builtin-literals":{"name":"support.type.builtin.ts","match":"\\b(?\u003c![$])(true|false)\\b"},"types":{"patterns":[{"name":"support.type.primitive.fpp","match":"\\b(U8|I8|U16|I16|U32|I32|U64|I64|F32|F64|string|bool)\\b"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"func","scopeName":"source.func","patterns":[{"include":"#comments"},{"include":"#strings"},{"include":"#numbers"},{"include":"#directives"},{"include":"#keywords"},{"include":"#types"},{"include":"#specifiers"},{"include":"#operators"},{"include":"#function-calls"},{"include":"#punctuation"},{"include":"#identifiers"}],"repository":{"comments":{"patterns":[{"name":"comment.line.double-semicolon.func","match":";;.*$"},{"name":"comment.block.func","begin":"\\{-","end":"-\\}","patterns":[{"include":"#comments"}]}]},"directives":{"patterns":[{"name":"keyword.control.directive.include.func","match":"#include"},{"name":"keyword.control.directive.pragma.func","match":"#pragma"}]},"function-calls":{"patterns":[{"name":"meta.function-call.builtin.func","match":"(?x)\\b(?:throw_unless|equal_slices|send_raw_message|accept_message)\\b(?=\\s*\\()","captures":{"0":{"name":"support.function.builtin.func"}}},{"name":"meta.function-call.method.func","begin":"(?\u003c=\\.|~)\\s*(`[^`]+`|[A-Za-z_\\$][^\\s+\\-*\\/%,.;(){}\\[\\]=\u003c\u003e|\\^~]*)\\s*(?=\\()","end":"(?=)","beginCaptures":{"1":{"name":"support.function.method.func"}}},{"name":"meta.function-call.func","begin":"(?x)(?\u003c![\\.\\$~])(`[^`]+`|[A-Za-z_\\$][^\\s+\\-*\\/%,.;(){}\\[\\]=\u003c\u003e|\\^~]*)\\s*(?=\\()","end":"(?=)","beginCaptures":{"1":{"name":"support.function.call.func"}}}]},"identifiers":{"patterns":[{"name":"entity.name.function.definition.func","match":"(?x)(?:(?\u003c=^)|(?\u003c=[;{])\\s*)(`[^`]+`|[A-Za-z_\\$][^\\s+\\-*\\/%,.;(){}\\[\\]=\u003c\u003e|\\^~]*)\\s*(?=\\()"},{"name":"variable.other.func","match":"`[^`]+`|[A-Za-z_\\$][^\\s+\\-*\\/%,.;(){}\\[\\]=\u003c\u003e|\\^~]*"}]},"keywords":{"patterns":[{"name":"keyword.control.func","match":"\\b(?:if|ifnot|elseif|elseifnot|else|while|do|until|repeat|return|try|catch)\\b"},{"name":"keyword.declaration.func","match":"\\b(?:global|const|forall)\\b"}]},"numbers":{"patterns":[{"name":"constant.numeric.hex.func","match":"(?\u003c![0-9A-Za-z_])-?0x[0-9a-fA-F]+"},{"name":"constant.numeric.dec.func","match":"(?\u003c![0-9A-Za-z_])-?[0-9]+"}]},"operators":{"patterns":[{"name":"keyword.operator.func","match":"(?:==|!=|\u003c=|\u003e=|\u003c=\u003e|\u003c\u003c=|\u003e\u003e=|~\u003e\u003e=|\\^\u003e\u003e=|\u003c\u003c|\u003e\u003e|~\u003e\u003e|\\^\u003e\u003e|-\u003e|=|\\+=|-=|\\*=|\\/=|~\\/=|\\^\\/=|%|~%=|\\^%|\u0026|\\|\\||~|\\^|\\?|\\.)"}]},"punctuation":{"patterns":[{"name":"punctuation.brackets.func","match":"[()\\[\\]{}]"},{"name":"punctuation.separator.func","match":"[,:;]"}]},"specifiers":{"patterns":[{"name":"storage.modifier.func","match":"\\b(?:impure|inline|inline_ref|method_id|asm)\\b"}]},"strings":{"patterns":[{"name":"string.quoted.double.func","match":"\"(?:[^\\\"\\\\]|\\\\.)*\"[Hhcu]?"}]},"types":{"patterns":[{"name":"storage.type.primitive.func","match":"\\b(?:int|cell|slice|builder|cont|tuple)\\b"},{"name":"storage.type.modifier.func","match":"\\bvar\\b"}]}}}
@@ -1 +1 @@
1
- {"name":"GDScript","scopeName":"source.gdscript","patterns":[{"include":"#statement"},{"include":"#expression"}],"repository":{"annotated_parameter":{"begin":"(?x)\n \\s* ([a-zA-Z_]\\w*) \\s* (:)\\s* ([a-zA-Z_]\\w*)? \n","end":"(,)|(?=\\))","patterns":[{"include":"#expression"},{"name":"keyword.operator.assignment.gdscript","match":"=(?!=)"}],"beginCaptures":{"1":{"name":"variable.parameter.function.language.gdscript"},"2":{"name":"punctuation.separator.annotation.gdscript"},"3":{"name":"entity.name.type.class.gdscript"}},"endCaptures":{"1":{"name":"punctuation.separator.parameters.gdscript"}}},"annotations":{"match":"(@)(abstract|export|export_category|export_color_no_alpha|export_custom|export_dir|export_enum|export_exp_easing|export_file|export_file_path|export_flags|export_flags_2d_navigation|export_flags_2d_physics|export_flags_2d_render|export_flags_3d_navigation|export_flags_3d_physics|export_flags_3d_render|export_flags_avoidance|export_global_dir|export_global_file|export_group|export_multiline|export_node_path|export_placeholder|export_range|export_storage|export_subgroup|export_tool_button|icon|onready|rpc|static_unload|tool|warning_ignore|warning_ignore_restore|warning_ignore_start)\\b","captures":{"1":{"name":"entity.name.function.decorator.gdscript"},"2":{"name":"entity.name.function.decorator.gdscript"}}},"any_method":{"name":"entity.name.function.other.gdscript","match":"\\b([A-Za-z_]\\w*)\\b(?=\\s*(?:[(]))"},"any_property":{"match":"\\b(\\.)\\s*(?\u003c![@\\$#%])(?:([A-Z_][A-Z_0-9]*)|([A-Za-z_]\\w*))\\b(?![(])","captures":{"1":{"name":"punctuation.accessor.gdscript"},"2":{"name":"constant.language.gdscript"},"3":{"name":"variable.other.property.gdscript"}}},"any_variable":{"name":"variable.other.gdscript","match":"\\b(?\u003c![@\\$#%])([A-Za-z_]\\w*)\\b(?![(])"},"arithmetic_operator":{"name":"keyword.operator.arithmetic.gdscript","match":"-\u003e|\\+=|-=|\\*\\*=|\\*=|\\^=|/=|%=|\u0026=|~=|\\|=|\\*\\*|\\*|/|%|\\+|-"},"assignment_operator":{"name":"keyword.operator.assignment.gdscript","match":"="},"base_expression":{"patterns":[{"include":"#builtin_get_node_shorthand"},{"include":"#nodepath_object"},{"include":"#nodepath_function"},{"include":"#strings"},{"include":"#builtin_classes"},{"include":"#const_vars"},{"include":"#keywords"},{"include":"#operators"},{"include":"#lambda_declaration"},{"include":"#class_declaration"},{"include":"#variable_declaration"},{"include":"#signal_declaration_bare"},{"include":"#signal_declaration"},{"include":"#function_declaration"},{"include":"#statement_keyword"},{"include":"#assignment_operator"},{"include":"#in_keyword"},{"include":"#control_flow"},{"include":"#match_keyword"},{"include":"#curly_braces"},{"include":"#square_braces"},{"include":"#round_braces"},{"include":"#function_call"},{"include":"#region"},{"include":"#comment"},{"include":"#func"},{"include":"#letter"},{"include":"#numbers"},{"include":"#pascal_case_class"},{"include":"#line_continuation"}]},"bitwise_operator":{"name":"keyword.operator.bitwise.gdscript","match":"\u0026|\\||\u003c\u003c=|\u003e\u003e=|\u003c\u003c|\u003e\u003e|\\^|~"},"boolean_operator":{"name":"keyword.operator.boolean.gdscript","match":"(\u0026\u0026|\\|\\|)"},"builtin_classes":{"name":"entity.name.type.class.builtin.gdscript","match":"(?\u003c![^.]\\.|:)\\b(Vector2|Vector2i|Vector3|Vector3i|Vector4|Vector4i|Color|Rect2|Rect2i|Array|Basis|Dictionary|Plane|Quat|RID|Rect3|Transform|Transform2D|Transform3D|AABB|String|Color|NodePath|PoolByteArray|PoolIntArray|PoolRealArray|PoolStringArray|PoolVector2Array|PoolVector3Array|PoolColorArray|bool|int|float|Signal|Callable|StringName|Quaternion|Projection|PackedByteArray|PackedInt32Array|PackedInt64Array|PackedFloat32Array|PackedFloat64Array|PackedStringArray|PackedVector2Array|PackedVector2iArray|PackedVector3Array|PackedVector3iArray|PackedVector4Array|PackedColorArray|JSON|UPNP|OS|IP|JSONRPC|XRVRS|Variant|void)\\b"},"builtin_get_node_shorthand":{"patterns":[{"include":"#builtin_get_node_shorthand_quoted"},{"include":"#builtin_get_node_shorthand_bare"},{"include":"#builtin_get_node_shorthand_bare_multi"}]},"builtin_get_node_shorthand_bare":{"name":"meta.literal.nodepath.bare.gdscript","captures":{"1":{"name":"keyword.control.flow.gdscript"},"2":{"name":"constant.character.escape.gdscript"},"3":{"name":"constant.character.escape.gdscript"},"4":{"name":"constant.character.escape.gdscript"}}},"builtin_get_node_shorthand_bare_multi":{"name":"meta.literal.nodepath.bare.gdscript","begin":"(\\$\\s*|%|\\$%\\s*)(/\\s*)?([a-zA-Z_]\\w*)","end":"(?!\\s*/\\s*%?\\s*[a-zA-Z_]\\w*)","patterns":[{"match":"(/)\\s*(%)?\\s*([a-zA-Z_]\\w*)\\s*","captures":{"1":{"name":"constant.character.escape.gdscript"},"2":{"name":"keyword.control.flow.gdscript"},"3":{"name":"constant.character.escape.gdscript"}}}],"beginCaptures":{"1":{"name":"keyword.control.flow.gdscript"},"2":{"name":"constant.character.escape.gdscript"},"3":{"name":"constant.character.escape.gdscript"}}},"builtin_get_node_shorthand_quoted":{"name":"string.quoted.gdscript meta.literal.nodepath.gdscript constant.character.escape.gdscript","begin":"(?:(\\$|%)|(\u0026|\\^|@))(\"|')","end":"(\\3)","patterns":[{"name":"keyword.control.flow","match":"%"}],"beginCaptures":{"1":{"name":"keyword.control.flow.gdscript"},"2":{"name":"variable.other.enummember.gdscript"}}},"class_declaration":{"match":"(?\u003c=^class)\\s+([a-zA-Z_]\\w*)\\s*(?=:)","captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"class.other.gdscript"}}},"class_enum":{"match":"\\b([A-Z][a-zA-Z_0-9]*)\\.([A-Z_0-9]+)","captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"variable.other.enummember.gdscript"}}},"class_is":{"match":"\\s+(is)\\s+([a-zA-Z_]\\w*)","captures":{"1":{"name":"storage.type.is.gdscript"},"2":{"name":"entity.name.type.class.gdscript"}}},"class_name":{"match":"(?\u003c=class_name)\\s+([a-zA-Z_]\\w*(\\.([a-zA-Z_]\\w*))?)","captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"class.other.gdscript"}}},"class_new":{"match":"\\b([a-zA-Z_]\\w*).(new)\\(","captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"storage.type.new.gdscript"},"3":{"name":"punctuation.parenthesis.begin.gdscript"}}},"comment":{"name":"comment.line.number-sign.gdscript","match":"(##|#).*$\\n?","captures":{"1":{"name":"punctuation.definition.comment.number-sign.gdscript"}}},"compare_operator":{"name":"keyword.operator.comparison.gdscript","match":"\u003c=|\u003e=|==|\u003c|\u003e|!=|!"},"const_vars":{"name":"variable.other.constant.gdscript","match":"\\b([A-Z_][A-Z_0-9]*)\\b"},"control_flow":{"name":"keyword.control.gdscript","match":"\\b(?:if|elif|else|while|break|continue|pass|return|when|yield|await)\\b"},"curly_braces":{"begin":"\\{","end":"\\}","patterns":[{"include":"#base_expression"},{"include":"#any_variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.dict.begin.gdscript"}},"endCaptures":{"0":{"name":"punctuation.definition.dict.end.gdscript"}}},"expression":{"patterns":[{"include":"#getter_setter_godot4"},{"include":"#base_expression"},{"include":"#assignment_operator"},{"include":"#annotations"},{"include":"#class_name"},{"include":"#builtin_classes"},{"include":"#class_new"},{"include":"#class_is"},{"include":"#class_enum"},{"include":"#any_method"},{"include":"#any_variable"},{"include":"#any_property"}]},"extends_statement":{"match":"(extends)\\s+([a-zA-Z_]\\w*\\.[a-zA-Z_]\\w*)?","captures":{"1":{"name":"keyword.language.gdscript"},"2":{"name":"entity.other.inherited-class.gdscript"}}},"func":{"name":"keyword.language.gdscript storage.type.function.gdscript","match":"\\bfunc\\b"},"function_arguments":{"contentName":"meta.function.parameters.gdscript","begin":"(\\()","end":"(?=\\))(?!\\)\\s*\\()","patterns":[{"name":"punctuation.separator.arguments.gdscript","match":"(,)"},{"match":"\\b([a-zA-Z_]\\w*)\\s*(=)(?!=)","captures":{"1":{"name":"variable.parameter.function-call.gdscript"},"2":{"name":"keyword.operator.assignment.gdscript"}}},{"name":"keyword.operator.assignment.gdscript","match":"=(?!=)"},{"include":"#base_expression"},{"match":"\\s*(\\))\\s*(\\()","captures":{"1":{"name":"punctuation.definition.arguments.end.gdscript"},"2":{"name":"punctuation.definition.arguments.begin.gdscript"}}},{"include":"#letter"},{"include":"#any_variable"},{"include":"#any_property"},{"include":"#keywords"}],"beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.gdscript"}}},"function_call":{"name":"meta.function-call.gdscript","begin":"(?=\\b[a-zA-Z_]\\w*\\b\\()","end":"(\\))","patterns":[{"include":"#function_name"},{"include":"#function_arguments"}],"endCaptures":{"1":{"name":"punctuation.definition.arguments.end.gdscript"}}},"function_declaration":{"name":"meta.function.gdscript","begin":"(?x) \\s*\n (func) \\s+\n ([a-zA-Z_]\\w*) \\s*\n (?=\\()","end":"(:)","patterns":[{"include":"#parameters"},{"include":"#line_continuation"},{"include":"#base_expression"}],"beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}},"endCaptures":{"1":{"name":"punctuation.section.function.begin.gdscript"}}},"function_name":{"patterns":[{"include":"#builtin_classes"},{"name":"keyword.language.gdscript","match":"\\b(preload)\\b"},{"name":"entity.name.function.gdscript","match":"\\b([a-zA-Z_]\\w*)\\b"}]},"getter_setter_godot4":{"patterns":[{"name":"meta.variable.declaration.getter.gdscript","match":"(get)\\s*(:)","captures":{"1":{"name":"entity.name.function.gdscript"},"2":{"name":"punctuation.separator.annotation.gdscript"}}},{"name":"meta.variable.declaration.setter.gdscript","match":"(set)\\s*(\\()\\s*([A-Za-z_]\\w*)\\s*(\\))\\s*(:)","captures":{"1":{"name":"entity.name.function.gdscript"},"2":{"name":"punctuation.definition.arguments.begin.gdscript"},"3":{"name":"variable.other.gdscript"},"4":{"name":"punctuation.definition.arguments.end.gdscript"},"5":{"name":"punctuation.separator.annotation.gdscript"}}}]},"in_keyword":{"patterns":[{"begin":"\\b(for)\\b","end":":","patterns":[{"name":"keyword.control.gdscript","match":"\\bin\\b"},{"include":"#base_expression"},{"include":"#any_variable"},{"include":"#any_property"}],"captures":{"1":{"name":"keyword.control.gdscript"}}},{"name":"keyword.operator.wordlike.gdscript","match":"\\bin\\b"}]},"keywords":{"name":"keyword.language.gdscript","match":"\\b(?:class|class_name|is|onready|tool|static|export|as|enum|assert|breakpoint|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|trait|namespace|super|self)\\b"},"lambda_declaration":{"name":"meta.function.gdscript","begin":"(func)\\s?(?=\\()","end":"(:|(?=[#'\"\\n]))","patterns":[{"include":"#parameters"},{"include":"#line_continuation"},{"include":"#base_expression"},{"include":"#any_variable"},{"include":"#any_property"}],"beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}}},"letter":{"name":"constant.language.gdscript","match":"\\b(?:true|false|null)\\b"},"line_continuation":{"patterns":[{"match":"(\\\\)\\s*(\\S.*$\\n?)","captures":{"1":{"name":"punctuation.separator.continuation.line.gdscript"},"2":{"name":"invalid.illegal.line.continuation.gdscript"}}},{"begin":"(\\\\)\\s*$\\n?","end":"(?x)\n (?=^\\s*$)\n |\n (?! (\\s* [rR]? (\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))\n |\n (\\G $) (?# '\\G' is necessary for ST)\n )\n","patterns":[{"include":"#base_expression"}],"beginCaptures":{"1":{"name":"punctuation.separator.continuation.line.gdscript"}}}]},"loose_default":{"begin":"(=)","end":"(,)|(?=\\))","patterns":[{"include":"#expression"}],"beginCaptures":{"1":{"name":"keyword.operator.gdscript"}},"endCaptures":{"1":{"name":"punctuation.separator.parameters.gdscript"}}},"match_keyword":{"match":"^\n\\s*(match)","captures":{"1":{"name":"keyword.control.gdscript"}}},"nodepath_function":{"name":"meta.function.gdscript","contentName":"meta.function.parameters.gdscript","begin":"(get_node_or_null|has_node|has_node_and_resource|find_node|get_node)\\s*(\\()","end":"(\\))","patterns":[{"name":"string.quoted.gdscript meta.literal.nodepath.gdscript constant.character.escape.gdscript","begin":"(\"|')","end":"\\1","patterns":[{"name":"keyword.control.flow.gdscript","match":"%"}]},{"include":"#expression"}],"beginCaptures":{"1":{"name":"entity.name.function.gdscript"},"2":{"name":"punctuation.definition.parameters.begin.gdscript"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.gdscript"}}},"nodepath_object":{"name":"meta.literal.nodepath.gdscript","begin":"(NodePath)\\s*(?:\\()","end":"(?:\\))","patterns":[{"name":"string.quoted.gdscript constant.character.escape.gdscript","begin":"(\"|')","end":"\\1","patterns":[{"name":"keyword.control.flow.gdscript","match":"%"}]}],"beginCaptures":{"1":{"name":"support.class.library.gdscript"}}},"numbers":{"patterns":[{"name":"constant.numeric.integer.binary.gdscript","match":"0b[01_]+"},{"name":"constant.numeric.integer.hexadecimal.gdscript","match":"0x[0-9A-Fa-f_]+"},{"name":"constant.numeric.float.gdscript","match":"\\.[0-9][0-9_]*([eE][+-]?[0-9_]+)?"},{"name":"constant.numeric.float.gdscript","match":"([0-9][0-9_]*)\\.[0-9_]*([eE][+-]?[0-9_]+)?"},{"name":"constant.numeric.float.gdscript","match":"([0-9][0-9_]*)?\\.[0-9_]*([eE][+-]?[0-9_]+)"},{"name":"constant.numeric.float.gdscript","match":"[0-9][0-9_]*[eE][+-]?[0-9_]+"},{"name":"constant.numeric.integer.gdscript","match":"[-]?[0-9][0-9_]*"}]},"operators":{"patterns":[{"include":"#wordlike_operator"},{"include":"#boolean_operator"},{"include":"#arithmetic_operator"},{"include":"#bitwise_operator"},{"include":"#compare_operator"}]},"parameters":{"name":"meta.function.parameters.gdscript","begin":"(\\()","end":"(\\))","patterns":[{"include":"#annotated_parameter"},{"match":"(?x)\n ([a-zA-Z_]\\w*)\n \\s* (?: (,) | (?=[)#\\n=]))\n","captures":{"1":{"name":"variable.parameter.function.language.gdscript"},"2":{"name":"punctuation.separator.parameters.gdscript"}}},{"include":"#comment"},{"include":"#loose_default"}],"beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.gdscript"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.gdscript"}}},"pascal_case_class":{"name":"entity.name.type.class.gdscript","match":"\\b[A-Z]+(?:[a-z]+[A-Za-z0-9_]*)+\\b"},"region":{"name":"keyword.language.region.gdscript","match":"#(end)?region.*$\\n?"},"round_braces":{"begin":"\\(","end":"\\)","patterns":[{"include":"#base_expression"},{"include":"#any_variable"}],"beginCaptures":{"0":{"name":"punctuation.parenthesis.begin.gdscript"}},"endCaptures":{"0":{"name":"punctuation.parenthesis.end.gdscript"}}},"signal_declaration":{"name":"meta.signal.gdscript","begin":"(?x) \\s*\n (signal) \\s+\n ([a-zA-Z_]\\w*) \\s*\n (?=\\()","end":"((?=[#'\"\\n]))","patterns":[{"include":"#parameters"},{"include":"#line_continuation"}],"beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}}},"signal_declaration_bare":{"name":"meta.signal.gdscript","match":"(?x) \\s*\n (signal) \\s+\n ([a-zA-Z_]\\w*)(?=[\\n\\s])","captures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}}},"square_braces":{"begin":"\\[","end":"\\]","patterns":[{"include":"#base_expression"},{"include":"#any_variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.list.begin.gdscript"}},"endCaptures":{"0":{"name":"punctuation.definition.list.end.gdscript"}}},"statement":{"patterns":[{"include":"#extends_statement"}]},"statement_keyword":{"patterns":[{"name":"keyword.control.flow.gdscript","match":"(?x)\n \\b(?\u003c!\\.)(\n continue | assert | break | elif | else | if | pass | return | while )\\b\n"},{"name":"storage.type.class.gdscript","match":"\\b(?\u003c!\\.)(class)\\b"},{"match":"(?x)\n ^\\s*(\n case | match\n )(?=\\s*([-+\\w\\d(\\[{'\":#]|$))\\b\n","captures":{"1":{"name":"keyword.control.flow.gdscript"}}}]},"string_bracket_placeholders":{"patterns":[{"name":"meta.format.brace.gdscript","match":"(?x)\n (\n {{ | }}\n | (?:\n {\n \\w* (\\.[[:alpha:]_]\\w* | \\[[^\\]'\"]+\\])*\n (![rsa])?\n ( : \\w? [\u003c\u003e=^]? [-+ ]? \\#?\n \\d* ,? (\\.\\d+)? [bcdeEfFgGnosxX%]? )?\n })\n )\n","captures":{"1":{"name":"constant.character.format.placeholder.other.gdscript"},"3":{"name":"storage.type.format.gdscript"},"4":{"name":"storage.type.format.gdscript"}}},{"name":"meta.format.brace.gdscript","match":"(?x)\n (\n {\n \\w* (\\.[[:alpha:]_]\\w* | \\[[^\\]'\"]+\\])*\n (![rsa])?\n (:)\n [^'\"{}\\n]* (?:\n \\{ [^'\"}\\n]*? \\} [^'\"{}\\n]*\n )*\n }\n )\n","captures":{"1":{"name":"constant.character.format.placeholder.other.gdscript"},"3":{"name":"storage.type.format.gdscript"},"4":{"name":"storage.type.format.gdscript"}}}]},"string_percent_placeholders":{"name":"meta.format.percent.gdscript","match":"(?x)\n (\n % (\\([\\w\\s]*\\))?\n [-+#0 ]*\n (\\d+|\\*)? (\\.(\\d+|\\*))?\n ([hlL])?\n [diouxXeEfFgGcrsab%]\n )\n","captures":{"1":{"name":"constant.character.format.placeholder.other.gdscript"}}},"strings":{"name":"string.quoted.gdscript","begin":"(r)?(\"\"\"|'''|\"|')","end":"\\2","patterns":[{"name":"constant.character.escape.gdscript","match":"\\\\."},{"include":"#string_percent_placeholders"},{"include":"#string_bracket_placeholders"}],"beginCaptures":{"1":{"name":"constant.character.escape.gdscript"}}},"variable_declaration":{"name":"meta.variable.declaration.gdscript","begin":"\\b(?:(var)|(const))\\b","end":"$|;","patterns":[{"match":"(:)?\\s*(set|get)\\s+=\\s+([a-zA-Z_]\\w*)","captures":{"1":{"name":"punctuation.separator.annotation.gdscript"},"2":{"name":"entity.name.function.gdscript"},"3":{"name":"entity.name.function.gdscript"}}},{"name":"keyword.operator.assignment.gdscript","match":":=|=(?!=)"},{"match":"(:)\\s*([a-zA-Z_]\\w*)?","captures":{"1":{"name":"punctuation.separator.annotation.gdscript"},"2":{"name":"entity.name.type.class.gdscript"}}},{"match":"(setget)\\s+([a-zA-Z_]\\w*)(?:[,]\\s*([a-zA-Z_]\\w*))?","captures":{"1":{"name":"keyword.language.gdscript"},"2":{"name":"entity.name.function.gdscript"},"3":{"name":"entity.name.function.gdscript"}}},{"include":"#expression"},{"include":"#letter"},{"include":"#any_variable"},{"include":"#any_property"},{"include":"#keywords"}],"beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.var.gdscript"},"2":{"name":"keyword.language.gdscript storage.type.const.gdscript"}}},"wordlike_operator":{"name":"keyword.operator.wordlike.gdscript","match":"\\b(and|or|not)\\b"}}}
1
+ {"name":"GDScript","scopeName":"source.gdscript","patterns":[{"include":"#statement"},{"include":"#expression"}],"repository":{"annotated_parameter":{"begin":"(?x)\n \\s* ([a-zA-Z_]\\w*) \\s* (:)\\s* ([a-zA-Z_]\\w*)? \n","end":"(,)|(?=\\))","patterns":[{"include":"#expression"},{"name":"keyword.operator.assignment.gdscript","match":"=(?!=)"}],"beginCaptures":{"1":{"name":"variable.parameter.function.language.gdscript"},"2":{"name":"punctuation.separator.annotation.gdscript"},"3":{"name":"entity.name.type.class.gdscript"}},"endCaptures":{"1":{"name":"punctuation.separator.parameters.gdscript"}}},"annotations":{"match":"(@)(abstract|export|export_category|export_color_no_alpha|export_custom|export_dir|export_enum|export_exp_easing|export_file|export_file_path|export_flags|export_flags_2d_navigation|export_flags_2d_physics|export_flags_2d_render|export_flags_3d_navigation|export_flags_3d_physics|export_flags_3d_render|export_flags_avoidance|export_global_dir|export_global_file|export_group|export_multiline|export_node_path|export_placeholder|export_range|export_storage|export_subgroup|export_tool_button|icon|onready|rpc|static_unload|tool|warning_ignore|warning_ignore_restore|warning_ignore_start)\\b","captures":{"1":{"name":"entity.name.function.decorator.gdscript"},"2":{"name":"entity.name.function.decorator.gdscript"}}},"any_method":{"name":"entity.name.function.other.gdscript","match":"\\b([A-Za-z_]\\w*)\\b(?=\\s*(?:[(]))"},"any_property":{"match":"\\b(\\.)\\s*(?\u003c![@\\$#%])(?:([A-Z_][A-Z_0-9]*)|([A-Za-z_]\\w*))\\b(?![(])","captures":{"1":{"name":"punctuation.accessor.gdscript"},"2":{"name":"constant.language.gdscript"},"3":{"name":"variable.other.property.gdscript"}}},"any_variable":{"name":"variable.other.gdscript","match":"\\b(?\u003c![@\\$#%])([A-Za-z_]\\w*)\\b(?![(])"},"arithmetic_operator":{"name":"keyword.operator.arithmetic.gdscript","match":"-\u003e|\\+=|-=|\\*\\*=|\\*=|\\^=|/=|%=|\u0026=|~=|\\|=|\\*\\*|\\*|/|%|\\+|-"},"assignment_operator":{"name":"keyword.operator.assignment.gdscript","match":"="},"base_expression":{"patterns":[{"include":"#builtin_get_node_shorthand"},{"include":"#nodepath_object"},{"include":"#nodepath_function"},{"include":"#strings"},{"include":"#builtin_classes"},{"include":"#const_vars"},{"include":"#keywords"},{"include":"#operators"},{"include":"#lambda_declaration"},{"include":"#class_declaration"},{"include":"#variable_declaration"},{"include":"#signal_declaration_bare"},{"include":"#signal_declaration"},{"include":"#function_declaration"},{"include":"#statement_keyword"},{"include":"#assignment_operator"},{"include":"#in_keyword"},{"include":"#control_flow"},{"include":"#match_keyword"},{"include":"#curly_braces"},{"include":"#square_braces"},{"include":"#round_braces"},{"include":"#function_call"},{"include":"#region"},{"include":"#comment"},{"include":"#func"},{"include":"#letter"},{"include":"#numbers"},{"include":"#pascal_case_class"},{"include":"#line_continuation"}]},"bitwise_operator":{"name":"keyword.operator.bitwise.gdscript","match":"\u0026|\\||\u003c\u003c=|\u003e\u003e=|\u003c\u003c|\u003e\u003e|\\^|~"},"boolean_operator":{"name":"keyword.operator.boolean.gdscript","match":"(\u0026\u0026|\\|\\|)"},"builtin_classes":{"name":"entity.name.type.class.builtin.gdscript","match":"(?\u003c![^.]\\.|:)\\b(Vector2|Vector2i|Vector3|Vector3i|Vector4|Vector4i|Color|Rect2|Rect2i|Array|Basis|Dictionary|Plane|Quat|RID|Rect3|Transform|Transform2D|Transform3D|AABB|String|Color|NodePath|PoolByteArray|PoolIntArray|PoolRealArray|PoolStringArray|PoolVector2Array|PoolVector3Array|PoolColorArray|bool|int|float|Signal|Callable|StringName|Quaternion|Projection|PackedByteArray|PackedInt32Array|PackedInt64Array|PackedFloat32Array|PackedFloat64Array|PackedStringArray|PackedVector2Array|PackedVector2iArray|PackedVector3Array|PackedVector3iArray|PackedVector4Array|PackedColorArray|JSON|UPNP|OS|IP|JSONRPC|XRVRS|Variant|void)\\b"},"builtin_get_node_shorthand":{"patterns":[{"include":"#builtin_get_node_shorthand_quoted"},{"include":"#builtin_get_node_shorthand_bare"},{"include":"#builtin_get_node_shorthand_bare_multi"}]},"builtin_get_node_shorthand_bare":{"name":"meta.literal.nodepath.bare.gdscript","captures":{"1":{"name":"keyword.control.flow.gdscript"},"2":{"name":"constant.character.escape.gdscript"},"3":{"name":"constant.character.escape.gdscript"},"4":{"name":"constant.character.escape.gdscript"}}},"builtin_get_node_shorthand_bare_multi":{"name":"meta.literal.nodepath.bare.gdscript","begin":"(\\$\\s*|%|\\$%\\s*)(/\\s*)?([a-zA-Z_]\\w*)","end":"(?!\\s*/\\s*%?\\s*[a-zA-Z_]\\w*)","patterns":[{"match":"(/)\\s*(%)?\\s*([a-zA-Z_]\\w*)\\s*","captures":{"1":{"name":"constant.character.escape.gdscript"},"2":{"name":"keyword.control.flow.gdscript"},"3":{"name":"constant.character.escape.gdscript"}}}],"beginCaptures":{"1":{"name":"keyword.control.flow.gdscript"},"2":{"name":"constant.character.escape.gdscript"},"3":{"name":"constant.character.escape.gdscript"}}},"builtin_get_node_shorthand_quoted":{"name":"string.quoted.gdscript meta.literal.nodepath.gdscript constant.character.escape.gdscript","begin":"(?:(\\$|%)|(\u0026|\\^|@))(\"|')","end":"(\\3)","patterns":[{"name":"keyword.control.flow","match":"%"}],"beginCaptures":{"1":{"name":"keyword.control.flow.gdscript"},"2":{"name":"variable.other.enummember.gdscript"}}},"class_declaration":{"match":"(?\u003c=^class)\\s+([a-zA-Z_]\\w*)\\s*(?=:)","captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"class.other.gdscript"}}},"class_enum":{"match":"\\b([A-Z][a-zA-Z_0-9]*)\\.([A-Z_0-9]+)","captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"variable.other.enummember.gdscript"}}},"class_is":{"match":"\\s+(is)\\s+(not?)\\s+\\s+([a-zA-Z_]\\w*)","captures":{"1":{"name":"storage.type.is.gdscript"},"2":{"name":"storage.type.not.gdscript"},"3":{"name":"entity.name.type.class.gdscript"}}},"class_name":{"match":"(?\u003c=class_name)\\s+([a-zA-Z_]\\w*(\\.([a-zA-Z_]\\w*))?)","captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"class.other.gdscript"}}},"class_new":{"match":"\\b([a-zA-Z_]\\w*).(new)\\(","captures":{"1":{"name":"entity.name.type.class.gdscript"},"2":{"name":"storage.type.new.gdscript"},"3":{"name":"punctuation.parenthesis.begin.gdscript"}}},"comment":{"name":"comment.line.number-sign.gdscript","match":"(##|#).*$\\n?","captures":{"1":{"name":"punctuation.definition.comment.number-sign.gdscript"}}},"compare_operator":{"name":"keyword.operator.comparison.gdscript","match":"\u003c=|\u003e=|==|\u003c|\u003e|!=|!"},"const_vars":{"name":"variable.other.constant.gdscript","match":"\\b([A-Z_][A-Z_0-9]*)\\b"},"control_flow":{"name":"keyword.control.gdscript","match":"\\b(?:if|elif|else|while|break|continue|pass|return|when|yield|await)\\b"},"curly_braces":{"begin":"\\{","end":"\\}","patterns":[{"include":"#base_expression"},{"include":"#any_variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.dict.begin.gdscript"}},"endCaptures":{"0":{"name":"punctuation.definition.dict.end.gdscript"}}},"expression":{"patterns":[{"include":"#getter_setter_godot4"},{"include":"#base_expression"},{"include":"#assignment_operator"},{"include":"#annotations"},{"include":"#class_name"},{"include":"#builtin_classes"},{"include":"#class_new"},{"include":"#class_is"},{"include":"#class_enum"},{"include":"#any_method"},{"include":"#any_variable"},{"include":"#any_property"}]},"extends_statement":{"match":"(extends)\\s+([a-zA-Z_]\\w*\\.[a-zA-Z_]\\w*)?","captures":{"1":{"name":"keyword.language.gdscript"},"2":{"name":"entity.other.inherited-class.gdscript"}}},"func":{"name":"keyword.language.gdscript storage.type.function.gdscript","match":"\\bfunc\\b"},"function_arguments":{"contentName":"meta.function.parameters.gdscript","begin":"(\\()","end":"(?=\\))(?!\\)\\s*\\()","patterns":[{"name":"punctuation.separator.arguments.gdscript","match":"(,)"},{"match":"\\b([a-zA-Z_]\\w*)\\s*(=)(?!=)","captures":{"1":{"name":"variable.parameter.function-call.gdscript"},"2":{"name":"keyword.operator.assignment.gdscript"}}},{"name":"keyword.operator.assignment.gdscript","match":"=(?!=)"},{"include":"#base_expression"},{"match":"\\s*(\\))\\s*(\\()","captures":{"1":{"name":"punctuation.definition.arguments.end.gdscript"},"2":{"name":"punctuation.definition.arguments.begin.gdscript"}}},{"include":"#letter"},{"include":"#any_variable"},{"include":"#any_property"},{"include":"#keywords"}],"beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.gdscript"}}},"function_call":{"name":"meta.function-call.gdscript","begin":"(?=\\b[a-zA-Z_]\\w*\\b\\s*\\()","end":"(\\))","patterns":[{"include":"#function_name"},{"include":"#function_arguments"}],"endCaptures":{"1":{"name":"punctuation.definition.arguments.end.gdscript"}}},"function_declaration":{"name":"meta.function.gdscript","begin":"(?x) \\s*\n (func) \\s+\n ([a-zA-Z_]\\w*) \\s*\n (?=\\()","end":"(:)|\n","patterns":[{"include":"#parameters"},{"include":"#line_continuation"},{"include":"#base_expression"}],"beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}},"endCaptures":{"1":{"name":"punctuation.section.function.begin.gdscript"}}},"function_name":{"patterns":[{"include":"#builtin_classes"},{"name":"keyword.language.gdscript","match":"\\b(preload)\\b"},{"name":"entity.name.function.gdscript","match":"\\b([a-zA-Z_]\\w*)\\b"}]},"getter_setter_godot4":{"patterns":[{"name":"meta.variable.declaration.getter.gdscript","match":"(get)\\s*(:)","captures":{"1":{"name":"entity.name.function.gdscript"},"2":{"name":"punctuation.separator.annotation.gdscript"}}},{"name":"meta.variable.declaration.setter.gdscript","match":"(set)\\s*(\\()\\s*([A-Za-z_]\\w*)\\s*(\\))\\s*(:)","captures":{"1":{"name":"entity.name.function.gdscript"},"2":{"name":"punctuation.definition.arguments.begin.gdscript"},"3":{"name":"variable.other.gdscript"},"4":{"name":"punctuation.definition.arguments.end.gdscript"},"5":{"name":"punctuation.separator.annotation.gdscript"}}}]},"in_keyword":{"patterns":[{"begin":"\\b(for)\\b","end":":","patterns":[{"name":"keyword.control.gdscript","match":"\\bin\\b"},{"include":"#base_expression"},{"include":"#any_variable"},{"include":"#any_property"}],"captures":{"1":{"name":"keyword.control.gdscript"}}},{"name":"keyword.operator.wordlike.gdscript","match":"\\bin\\b"}]},"keywords":{"name":"keyword.language.gdscript","match":"\\b(?:class|class_name|is|onready|tool|static|export|as|enum|assert|breakpoint|sync|remote|master|puppet|slave|remotesync|mastersync|puppetsync|trait|namespace|super|self)\\b"},"lambda_declaration":{"name":"meta.function.gdscript","begin":"(func)\\s?(?=\\()","end":"(:|(?=[#'\"\\n]))","patterns":[{"include":"#parameters"},{"include":"#line_continuation"},{"include":"#base_expression"},{"include":"#any_variable"},{"include":"#any_property"}],"beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}}},"letter":{"name":"constant.language.literal.gdscript","match":"\\b(?:true|false|null)\\b"},"line_continuation":{"patterns":[{"match":"(\\\\)\\s*(\\S.*$\\n?)","captures":{"1":{"name":"punctuation.separator.continuation.line.gdscript"},"2":{"name":"invalid.illegal.line.continuation.gdscript"}}},{"begin":"(\\\\)\\s*$\\n?","end":"(?x)\n (?=^\\s*$)\n |\n (?! (\\s* [rR]? (\\'\\'\\'|\\\"\\\"\\\"|\\'|\\\"))\n |\n (\\G $) (?# '\\G' is necessary for ST)\n )\n","patterns":[{"include":"#base_expression"}],"beginCaptures":{"1":{"name":"punctuation.separator.continuation.line.gdscript"}}}]},"loose_default":{"begin":"(=)","end":"(,)|(?=\\))","patterns":[{"include":"#expression"}],"beginCaptures":{"1":{"name":"keyword.operator.gdscript"}},"endCaptures":{"1":{"name":"punctuation.separator.parameters.gdscript"}}},"match_keyword":{"match":"(?:^|:)\\s*(match)\\b","captures":{"1":{"name":"keyword.control.flow.gdscript"}}},"nodepath_function":{"name":"meta.function.gdscript","contentName":"meta.function.parameters.gdscript","begin":"(get_node_or_null|has_node|has_node_and_resource|find_node|get_node)\\s*(\\()","end":"(\\))","patterns":[{"name":"string.quoted.gdscript meta.literal.nodepath.gdscript constant.character.escape.gdscript","begin":"(\"|')","end":"\\1","patterns":[{"name":"keyword.control.flow.gdscript","match":"%"}]},{"include":"#expression"}],"beginCaptures":{"1":{"name":"entity.name.function.gdscript"},"2":{"name":"punctuation.definition.parameters.begin.gdscript"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.gdscript"}}},"nodepath_object":{"name":"meta.literal.nodepath.gdscript","begin":"(NodePath)\\s*(?:\\()","end":"(?:\\))","patterns":[{"name":"string.quoted.gdscript constant.character.escape.gdscript","begin":"(\"|')","end":"\\1","patterns":[{"name":"keyword.control.flow.gdscript","match":"%"}]}],"beginCaptures":{"1":{"name":"support.class.library.gdscript"}}},"numbers":{"patterns":[{"name":"constant.numeric.integer.binary.gdscript","match":"0b[01_]+"},{"name":"constant.numeric.integer.hexadecimal.gdscript","match":"0x[0-9A-Fa-f_]+"},{"name":"constant.numeric.float.gdscript","match":"\\.[0-9][0-9_]*([eE][+-]?[0-9_]+)?"},{"name":"constant.numeric.float.gdscript","match":"([0-9][0-9_]*)\\.[0-9_]*([eE][+-]?[0-9_]+)?"},{"name":"constant.numeric.float.gdscript","match":"([0-9][0-9_]*)?\\.[0-9_]*([eE][+-]?[0-9_]+)"},{"name":"constant.numeric.float.gdscript","match":"[0-9][0-9_]*[eE][+-]?[0-9_]+"},{"name":"constant.numeric.integer.gdscript","match":"[-]?[0-9][0-9_]*"}]},"operators":{"patterns":[{"include":"#wordlike_operator"},{"include":"#boolean_operator"},{"include":"#arithmetic_operator"},{"include":"#bitwise_operator"},{"include":"#compare_operator"}]},"parameters":{"name":"meta.function.parameters.gdscript","begin":"(\\()","end":"(\\))","patterns":[{"include":"#annotated_parameter"},{"match":"(?x)\n ([a-zA-Z_]\\w*)\n \\s* (?: (,) | (?=[)#\\n=]))\n","captures":{"1":{"name":"variable.parameter.function.language.gdscript"},"2":{"name":"punctuation.separator.parameters.gdscript"}}},{"include":"#comment"},{"include":"#loose_default"}],"beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.gdscript"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.gdscript"}}},"pascal_case_class":{"name":"entity.name.type.class.gdscript","match":"\\b[A-Z]+(?:[a-z]+[A-Za-z0-9_]*)+\\b"},"region":{"name":"keyword.language.region.gdscript","match":"#(end)?region.*$\\n?"},"round_braces":{"begin":"\\(","end":"\\)","patterns":[{"include":"#base_expression"},{"include":"#any_variable"}],"beginCaptures":{"0":{"name":"punctuation.parenthesis.begin.gdscript"}},"endCaptures":{"0":{"name":"punctuation.parenthesis.end.gdscript"}}},"signal_declaration":{"name":"meta.signal.gdscript","begin":"(?x) \\s*\n (signal) \\s+\n ([a-zA-Z_]\\w*) \\s*\n (?=\\()","end":"((?=[#'\"\\n]))","patterns":[{"include":"#parameters"},{"include":"#line_continuation"}],"beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}}},"signal_declaration_bare":{"name":"meta.signal.gdscript","match":"(?x) \\s*\n (signal) \\s+\n ([a-zA-Z_]\\w*)(?=[\\n\\s])","captures":{"1":{"name":"keyword.language.gdscript storage.type.function.gdscript"},"2":{"name":"entity.name.function.gdscript"}}},"square_braces":{"begin":"\\[","end":"\\]","patterns":[{"include":"#base_expression"},{"include":"#any_variable"}],"beginCaptures":{"0":{"name":"punctuation.definition.list.begin.gdscript"}},"endCaptures":{"0":{"name":"punctuation.definition.list.end.gdscript"}}},"statement":{"patterns":[{"include":"#extends_statement"}]},"statement_keyword":{"patterns":[{"name":"keyword.control.flow.gdscript","match":"(?x)\n \\b(?\u003c!\\.)(\n continue | assert | break | elif | else | if | pass | return | while )\\b\n"},{"name":"storage.type.class.gdscript","match":"\\b(?\u003c!\\.)(class)\\b"},{"match":"(?x)\n (?:^|:)\\s*(\n case | match\n )(?=\\s*([-+\\w\\d(\\[{'\":#]|$))\\b\n","captures":{"1":{"name":"keyword.control.flow.gdscript"}}}]},"string_bracket_placeholders":{"patterns":[{"name":"meta.format.brace.gdscript","match":"(?x)\n (\n {{ | }}\n | (?:\n {\n \\w* (\\.[[:alpha:]_]\\w* | \\[[^\\]'\"]+\\])*\n (![rsa])?\n ( : \\w? [\u003c\u003e=^]? [-+ ]? \\#?\n \\d* ,? (\\.\\d+)? [bcdeEfFgGnosxX%]? )?\n })\n )\n","captures":{"1":{"name":"constant.character.format.placeholder.other.gdscript"},"3":{"name":"storage.type.format.gdscript"},"4":{"name":"storage.type.format.gdscript"}}},{"name":"meta.format.brace.gdscript","match":"(?x)\n (\n {\n \\w* (\\.[[:alpha:]_]\\w* | \\[[^\\]'\"]+\\])*\n (![rsa])?\n (:)\n [^'\"{}\\n]* (?:\n \\{ [^'\"}\\n]*? \\} [^'\"{}\\n]*\n )*\n }\n )\n","captures":{"1":{"name":"constant.character.format.placeholder.other.gdscript"},"3":{"name":"storage.type.format.gdscript"},"4":{"name":"storage.type.format.gdscript"}}}]},"string_percent_placeholders":{"name":"meta.format.percent.gdscript","match":"(?x)\n (\n % (\\([\\w\\s]*\\))?\n [-+#0 ]*\n (\\d+|\\*)? (\\.(\\d+|\\*))?\n ([hlL])?\n [diouxXeEfFgGcrsab%]\n )\n","captures":{"1":{"name":"constant.character.format.placeholder.other.gdscript"}}},"strings":{"name":"string.quoted.gdscript","begin":"(r)?(\"\"\"|'''|\"|')","end":"\\2","patterns":[{"name":"constant.character.escape.gdscript","match":"\\\\."},{"include":"#string_percent_placeholders"},{"include":"#string_bracket_placeholders"}],"beginCaptures":{"1":{"name":"constant.character.escape.gdscript"}}},"variable_declaration":{"name":"meta.variable.declaration.gdscript","begin":"\\b(?:(var)|(const))\\b","end":"$|;","patterns":[{"match":"(:)?\\s*(set|get)\\s+=\\s+([a-zA-Z_]\\w*)","captures":{"1":{"name":"punctuation.separator.annotation.gdscript"},"2":{"name":"entity.name.function.gdscript"},"3":{"name":"entity.name.function.gdscript"}}},{"name":"keyword.operator.assignment.gdscript","match":":=|=(?!=)"},{"match":"(:)\\s*([a-zA-Z_]\\w*)?","captures":{"1":{"name":"punctuation.separator.annotation.gdscript"},"2":{"name":"entity.name.type.class.gdscript"}}},{"match":"(setget)\\s+([a-zA-Z_]\\w*)(?:[,]\\s*([a-zA-Z_]\\w*))?","captures":{"1":{"name":"keyword.language.gdscript"},"2":{"name":"entity.name.function.gdscript"},"3":{"name":"entity.name.function.gdscript"}}},{"include":"#expression"},{"include":"#letter"},{"include":"#any_variable"},{"include":"#any_property"},{"include":"#keywords"}],"beginCaptures":{"1":{"name":"keyword.language.gdscript storage.type.var.gdscript"},"2":{"name":"keyword.language.gdscript storage.type.const.gdscript"}}},"wordlike_operator":{"name":"keyword.operator.wordlike.gdscript","match":"\\b(and|or|not)\\b"}}}
@@ -1 +1 @@
1
- {"name":"GEDCOM","scopeName":"source.gedcom","patterns":[{"include":"#line"}],"repository":{"delim":{"patterns":[{"name":"text.gedcom","match":"(\\s)"}]},"level":{"patterns":[{"name":"constant.numeric.gedcom","match":"(^\\d*)"},{"include":"#delim"}]},"line":{"patterns":[{"include":"#level"},{"include":"#xref"},{"include":"#statement"}]},"line_name":{"patterns":[{"name":"text.gedcom","match":"([^/]*$)"},{"include":"#line_name_composite"}]},"line_name_composite":{"patterns":[{"contentName":"string.regexp.gedcom","begin":"(/)","end":"(/)","beginCaptures":{"1":{"name":"string.regexp.gedcom"}},"endCaptures":{"1":{"name":"string.regexp.gedcom"}}},{"name":"string.unquoted.gedcom","match":"(.)"}]},"noop":{"patterns":[{"name":"text.gedcom","match":"(.)"}]},"pointer":{"patterns":[{"contentName":"storage.type.gedcom","begin":"(@)","end":"(@)","beginCaptures":{"1":{"name":"storage.type.gedcom"}},"endCaptures":{"1":{"name":"storage.type.gedcom"}}}]},"statement":{"patterns":[{"include":"#tag_name"},{"include":"#tag_pointers"},{"include":"#tag_line"},{"include":"#pointer"}]},"tag_line":{"patterns":[{"begin":"([A-Z]*)","end":"(^(?=.{0,1})(?:|))","patterns":[{"include":"#noop"}],"beginCaptures":{"1":{"name":"keyword.control.gedcom"}},"endCaptures":{"1":{"name":"text.gedcom"}}}]},"tag_name":{"patterns":[{"begin":"(NAME)","end":"(^(?=.{0,1})(?:|))","patterns":[{"include":"#line_name"}],"beginCaptures":{"1":{"name":"keyword.control.gedcom"}},"endCaptures":{"1":{"name":"text.gedcom"}}}]},"tag_pointers":{"patterns":[{"begin":"(FAMS|FAMC|HUSB|WIFE|CHIL|SUBM|SUMN|REPO|ALIA|ANCI|DESI|ASSO|OBJE|NOTE|SOUR)","end":"(^(?=.{0,1})(?:|))","patterns":[{"include":"#pointer"}],"beginCaptures":{"1":{"name":"keyword.control.gedcom"}},"endCaptures":{"1":{"name":"text.gedcom"}}}]},"xref":{"patterns":[{"include":"#pointer"}]}}}
1
+ {"name":"GEDCOM","scopeName":"source.gedcom","patterns":[{"include":"#line"}],"repository":{"bad-enum-line":{"patterns":[{"name":"meta.line.gedcom","match":"^(\\s*)(\\d+)[ ]+(SEX)[ ](?!(?i:M|F|U|X)[ ]*$)(?![_A-Za-z][A-Za-z0-9]*:)(?!_)(.+)$","captures":{"2":{"name":"constant.numeric.integer.level.gedcom"},"3":{"patterns":[{"include":"#tag"}]},"4":{"name":"invalid.illegal.value.gedcom"}}},{"name":"meta.line.gedcom","match":"^(\\s*)(\\d+)[ ]+(QUAY)[ ](?!(?i:[0-3])[ ]*$)(?![_A-Za-z][A-Za-z0-9]*:)(?!_)(.+)$","captures":{"2":{"name":"constant.numeric.integer.level.gedcom"},"3":{"patterns":[{"include":"#tag"}]},"4":{"name":"invalid.illegal.value.gedcom"}}},{"name":"meta.line.gedcom","match":"^(\\s*)(\\d+)[ ]+(PEDI)[ ](?!(?i:ADOPTED|BIRTH|FOSTER|SEALING|OTHER)[ ]*$)(?![_A-Za-z][A-Za-z0-9]*:)(?!_)(.+)$","captures":{"2":{"name":"constant.numeric.integer.level.gedcom"},"3":{"patterns":[{"include":"#tag"}]},"4":{"name":"invalid.illegal.value.gedcom"}}},{"name":"meta.line.gedcom","match":"^(\\s*)(\\d+)[ ]+(RESN)[ ](?!(?i:(?:CONFIDENTIAL|LOCKED|PRIVACY)(?:[ ]*,[ ]*(?:CONFIDENTIAL|LOCKED|PRIVACY))*)[ ]*$)(?![_A-Za-z][A-Za-z0-9]*:)(?!_)(.+)$","captures":{"2":{"name":"constant.numeric.integer.level.gedcom"},"3":{"patterns":[{"include":"#tag"}]},"4":{"name":"invalid.illegal.value.gedcom"}}}]},"bad-format-line":{"patterns":[{"name":"meta.line.gedcom","match":"^(\\s*)(\\d+)[ ]+(AGE)[ ](?!(?i:(?:[\u003c\u003e][ ]*)?\\d+[ ]*[ymwd](?:[ ]*\\d+[ ]*[ymwd])*|(?i:CHILD|INFANT|STILLBORN))[ ]*$)(?![_A-Za-z][A-Za-z0-9]*:)(?!_)(.+)$","captures":{"2":{"name":"constant.numeric.integer.level.gedcom"},"3":{"patterns":[{"include":"#tag"}]},"4":{"name":"invalid.illegal.value.gedcom"}}},{"name":"meta.line.gedcom","match":"^(\\s*)(\\d+)[ ]+(TIME)[ ](?!(?i:\\d{1,2}:\\d{2}(?::\\d{2}(?:\\.\\d+)?)?(?:[ ]*(?i:AM|PM))?)[ ]*$)(?![_A-Za-z][A-Za-z0-9]*:)(?!_)(.+)$","captures":{"2":{"name":"constant.numeric.integer.level.gedcom"},"3":{"patterns":[{"include":"#tag"}]},"4":{"name":"invalid.illegal.value.gedcom"}}}]},"bad-integer-line":{"patterns":[{"name":"meta.line.gedcom","match":"^(\\s*)(\\d+)[ ]+(ANCE|DESC|HEIGHT|LEFT|NCHI|NMR|TOP|WIDTH)[ ](?!(?i:\\d+)[ ]*$)(?![_A-Za-z][A-Za-z0-9]*:)(?!_)(.+)$","captures":{"2":{"name":"constant.numeric.integer.level.gedcom"},"3":{"patterns":[{"include":"#tag"}]},"4":{"name":"invalid.illegal.value.gedcom"}}}]},"broken-pointer-line":{"patterns":[{"name":"meta.line.gedcom","match":"^(\\s*)(\\d+)[ ]+(ALIA|ANCI|ASSO|CHIL|DESI|FAMC|FAMS)[ ](.+)$","captures":{"2":{"name":"constant.numeric.integer.level.gedcom"},"3":{"patterns":[{"include":"#tag"}]},"4":{"name":"invalid.illegal.pointer.gedcom"}}}]},"continuation-line":{"patterns":[{"name":"meta.line.continuation.gedcom","match":"^(\\s*)(\\d+)[ ]+(CONC|CONT)(?:[ ](.*))?$","captures":{"2":{"name":"constant.numeric.integer.level.gedcom"},"3":{"name":"keyword.control.continuation.gedcom"},"4":{"name":"string.unquoted.payload.gedcom","patterns":[{"include":"#payload-escapes"}]}}}]},"date":{"patterns":[{"name":"constant.language.calendar.gedcom","match":"@#[^@]*@"},{"name":"constant.language.calendar.gedcom","match":"\\b(?:GREGORIAN|JULIAN|HEBREW|FRENCH_R|ROMAN|UNKNOWN)\\b"},{"name":"keyword.operator.date.gedcom","match":"\\b(?:FROM|TO|BEF|AFT|BET|AND|ABT|CAL|EST|INT)\\b"},{"name":"constant.language.month.gedcom","match":"\\b(?:JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC|TSH|CSH|KSL|TVT|SHV|ADR|ADS|NSN|IYR|SVN|TMZ|AAV|ELL|VEND|BRUM|FRIM|NIVO|PLUV|VENT|GERM|FLOR|PRAI|MESS|THER|FRUC|COMP)\\b"},{"name":"constant.language.epoch.gedcom","match":"\\b(?:BCE|BC|B\\.C\\.)"},{"name":"constant.numeric.date.gedcom","match":"\\b\\d+\\b"}]},"date-line":{"patterns":[{"name":"meta.line.date.gedcom","match":"^(\\s*)(\\d+)[ ]+(DATE|SDATE)(?:[ ](.*))?$","captures":{"2":{"name":"constant.numeric.integer.level.gedcom"},"3":{"name":"entity.name.tag.gedcom"},"4":{"name":"string.unquoted.payload.gedcom","patterns":[{"include":"#date"}]}}}]},"invalid-line":{"patterns":[{"name":"invalid.illegal.line.gedcom","match":"^(?!\\s*$).*$"}]},"line":{"patterns":[{"include":"#record-line"},{"include":"#continuation-line"},{"include":"#date-line"},{"include":"#name-line"},{"include":"#pointer-line"},{"include":"#broken-pointer-line"},{"include":"#bad-enum-line"},{"include":"#bad-integer-line"},{"include":"#bad-format-line"},{"include":"#tag-line"},{"include":"#invalid-line"}]},"name-line":{"patterns":[{"name":"meta.line.name.gedcom","match":"^(\\s*)(\\d+)[ ]+(NAME|_MARNM|_AKA|_AKAN|_BIRN|_ADPN)(?:[ ](.*))?$","captures":{"2":{"name":"constant.numeric.integer.level.gedcom"},"3":{"patterns":[{"include":"#tag"}]},"4":{"name":"string.unquoted.payload.gedcom","patterns":[{"include":"#personal-name"}]}}}]},"payload-escapes":{"patterns":[{"name":"constant.language.escape.gedcom","match":"@#[^@]*@"},{"name":"constant.character.escape.gedcom","match":"@@"}]},"personal-name":{"patterns":[{"match":"(/)([^/]*)(/)","captures":{"1":{"name":"punctuation.definition.surname.begin.gedcom"},"2":{"name":"string.quoted.other.surname.gedcom"},"3":{"name":"punctuation.definition.surname.end.gedcom"}}},{"include":"#payload-escapes"}]},"pointer-line":{"patterns":[{"name":"meta.line.pointer.gedcom","match":"^(\\s*)(\\d+)[ ]+([A-Za-z_][A-Za-z0-9_]*)[ ](@[^@#\\s][^@\\n]*@)[ ]*$","captures":{"2":{"name":"constant.numeric.integer.level.gedcom"},"3":{"patterns":[{"include":"#tag"}]},"4":{"patterns":[{"include":"#xref-reference"}]}}}]},"record-line":{"patterns":[{"name":"meta.line.record.gedcom","match":"^(\\s*)(\\d+)[ ]+(@[^@#\\s][^@\\n]*@)[ ]+([A-Za-z_][A-Za-z0-9_]*)(?:[ ](.*))?$","captures":{"2":{"name":"constant.numeric.integer.level.gedcom"},"3":{"patterns":[{"include":"#xref-definition"}]},"4":{"patterns":[{"include":"#tag"}]},"5":{"name":"string.unquoted.payload.gedcom","patterns":[{"include":"#payload-escapes"}]}}}]},"tag":{"patterns":[{"name":"keyword.control.envelope.gedcom","match":"\\b(?:CHAR|DEST|FORM|GEDC|HEAD|SCHMA|TAG|TRLR|VERS)\\b"},{"name":"entity.name.type.record.gedcom","match":"\\b(?:FAM|INDI|OBJE|REPO|SNOTE|SOUR|SUBM)\\b"},{"name":"support.function.event.gedcom","match":"\\b(?:ADOP|ANUL|BAPM|BARM|BASM|BIRT|BLES|BURI|CENS|CHR|CHRA|CONF|CREM|DEAT|DIV|DIVF|EMIG|ENGA|FCOM|GRAD|IMMI|MARB|MARC|MARL|MARR|MARS|NATU|ORDN|PROB|RETI|WILL)\\b"},{"name":"entity.name.tag.attribute.gedcom","match":"\\b(?:CAST|DSCR|EDUC|EVEN|FACT|IDNO|NAME|NATI|NCHI|NMR|OCCU|PROP|RELI|RESI|SEX|SSN|TITL)\\b"},{"name":"variable.other.linkage.gedcom","match":"\\b(?:ALIA|ANCI|ASSO|CHIL|DESI|FAMC|FAMS|HUSB|WIFE)\\b"},{"name":"markup.quote.evidence.gedcom","match":"\\b(?:ABBR|AUTH|CALN|DATA|MEDI|NOTE|PAGE|PUBL|QUAY|TEXT)\\b"},{"name":"entity.name.tag.administrative.gedcom","match":"\\b(?:CHAN|CREA|EXID|REFN|RESN|RIN|UID)\\b"},{"name":"entity.name.tag.gedcom","match":"\\b(?:ADDR|ADR1|ADR2|ADR3|AFN|AGE|AGNC|ANCE|BAPL|CAUS|CITY|CONL|COPR|CORP|CROP|CTRY|DATE|DESC|EMAIL|ENDL|FAMF|FAX|FILE|FONE|GIVN|HEIGHT|INIL|LANG|LATI|LEFT|LONG|MAP|MIME|NICK|NO|NPFX|NSFX|ORDI|PEDI|PHON|PHRASE|PLAC|POST|RELA|RFN|ROLE|ROMN|SDATE|SLGC|SLGS|SPFX|STAE|STAT|SUBN|SURN|TEMP|TIME|TOP|TRAN|TYPE|WIDTH|WWW)\\b"},{"name":"entity.name.tag.extension.gedcom","match":"_[A-Za-z0-9_]*"},{"name":"entity.name.tag.unknown.gedcom","match":"[A-Za-z][A-Za-z0-9_]*"}]},"tag-line":{"patterns":[{"name":"meta.line.gedcom","match":"^(\\s*)(\\d+)[ ]+([A-Za-z_][A-Za-z0-9_]*)(?:[ ](.*))?$","captures":{"2":{"name":"constant.numeric.integer.level.gedcom"},"3":{"patterns":[{"include":"#tag"}]},"4":{"name":"string.unquoted.payload.gedcom","patterns":[{"include":"#payload-escapes"}]}}}]},"xref-definition":{"patterns":[{"match":"(@)([^@#\\s][^@\\n]*)(@)","captures":{"1":{"name":"punctuation.definition.xref.begin.gedcom"},"2":{"name":"entity.name.type.xref.gedcom"},"3":{"name":"punctuation.definition.xref.end.gedcom"}}}]},"xref-reference":{"patterns":[{"match":"(@)(VOID)(@)","captures":{"1":{"name":"punctuation.definition.xref.begin.gedcom"},"2":{"name":"constant.language.void.gedcom"},"3":{"name":"punctuation.definition.xref.end.gedcom"}}},{"match":"(@)([^@#\\s][^@\\n]*)(@)","captures":{"1":{"name":"punctuation.definition.xref.begin.gedcom"},"2":{"name":"variable.other.xref.gedcom"},"3":{"name":"punctuation.definition.xref.end.gedcom"}}}]}}}
@@ -0,0 +1 @@
1
+ {"name":"GIMP Configuration","scopeName":"source.gimprc","patterns":[{"include":"#main"}],"repository":{"arrow":{"name":"punctuation.separator.arrow.gimprc","match":"-\u003e"},"boolean":{"name":"constant.logical.bool.boolean.${1:/downcase}.gimprc","match":"(?i)(?:^|(?\u003c=[\\s()\";]))\\b(yes|no)\\b(?=$|[\\s()\";])"},"char":{"patterns":[{"name":"constant.character.hex-literal.gimprc","match":"(#\\\\)x[0-9A-Fa-f]{2}","captures":{"1":{"name":"punctuation.definition.escape.character.gimprc"}}},{"name":"constant.character.named.${2:/downcase}.gimprc","match":"(?xi)\n(\\#\\\\)\n(space|newline|return|tab|ack|bel|bs|can|cr|dc[1-4]\n|del|dle|em|enq|eot|esc|etv|etx|ff|fs|gs|ht|lf|nak\n|nul|rs|si|soh|so|stx|sub|syn|us|vt)","captures":{"1":{"name":"punctuation.definition.escape.character.gimprc"}}},{"name":"constant.character.single.gimprc","match":"(#\\\\).","captures":{"1":{"name":"punctuation.definition.escape.character.gimprc"}}}]},"comment":{"name":"comment.line.number-sign.gimprc","begin":"^#","end":"(?=\\s*$)","beginCaptures":{"0":{"name":"punctuation.definition.comment.gimprc"}}},"constants":{"patterns":[{"name":"constant.language.boolean.true.gimprc","match":"(#)t","captures":{"1":{"name":"punctuation.definition.boolean.gimprc"}}},{"name":"constant.language.boolean.false.gimprc","match":"(#)f","captures":{"1":{"name":"punctuation.definition.boolean.gimprc"}}}]},"expr":{"patterns":[{"name":"meta.expression.${2:/downcase}.gimprc","begin":"(\\()(image-(?:status|title)-format)(?=$|\\s)","end":"\\)","patterns":[{"name":"string.quoted.double.format.gimprc","begin":"\"","end":"\"","patterns":[{"include":"#placeholders"},{"include":"#stringInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.gimprc"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.gimprc"}}}],"beginCaptures":{"1":{"patterns":[{"include":"#punct"}]},"2":{"name":"variable.property.gimprc"}},"endCaptures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"meta.expression.${2:/downcase}.gimprc","begin":"(\\()([A-Za-z0-9][-A-Za-z0-9!$%\u0026*+,./:\u003c=\u003e?@^_~]*(?=$|\\s|\\)))?","end":"\\)","patterns":[{"include":"#values"}],"beginCaptures":{"1":{"patterns":[{"include":"#punct"}]},"2":{"name":"variable.property.gimprc"}},"endCaptures":{"0":{"patterns":[{"include":"#punct"}]}}}]},"interpolations":{"patterns":[{"name":"keyword.operator.tilde.homedir.gimprc","match":"~"},{"name":"variable.other.bracket.environment.shell.gimprc","contentName":"brackethighlighter.unmatched","begin":"(\\${)","end":"((}))|([^}\"]*)(?=\"|$)","beginCaptures":{"0":{"name":"punctuation.definition.variable.begin.shell.gimprc"},"1":{"name":"brackethighlighter.curly"}},"endCaptures":{"1":{"name":"punctuation.definition.variable.end.shell.gimprc"},"2":{"name":"brackethighlighter.curly"},"3":{"name":"invalid.illegal.syntax.unclosed-bracket.shell.gimprc"}}}]},"main":{"patterns":[{"include":"#comment"},{"include":"#expr"}]},"number":{"patterns":[{"name":"constant.numeric.integer.memsize.gimprc","match":"(?i)(?\u003c=[\\s()\\[]|^)\\d+([BKMG])\\b","captures":{"0":{"name":"constant.numeric.integer.decimal.filesize.gimprc"},"1":{"name":"keyword.other.unit.filesize.gimprc"}}},{"name":"constant.numeric.integer.binary.gimprc","match":"(?\u003c=[\\s()\\[]|^)(#)b[01]+","captures":{"1":{"name":"punctuation.definition.binary.gimprc"}}},{"name":"constant.numeric.integer.octal.gimprc","match":"(?\u003c=[\\s()\\[]|^)(#)o[0-7]+","captures":{"1":{"name":"punctuation.definition.oct.gimprc"}}},{"name":"constant.numeric.integer.decimal.gimprc","match":"(?\u003c=[\\s()\\[]|^)(#)d[0-9]+","captures":{"1":{"name":"punctuation.definition.decimal.gimprc"}}},{"name":"constant.numeric.integer.hex.gimprc","match":"(?\u003c=[\\s()\\[]|^)(#)x[0-9A-Fa-f]+","captures":{"1":{"name":"punctuation.definition.hex.gimprc"}}},{"include":"etc#num"}]},"placeholders":{"patterns":[{"name":"constant.character.escape.placeholder.gimprc","match":"(%)%","captures":{"1":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.bare-filename.gimprc","match":"%f","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.file-path.gimprc","match":"%F","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.pdb-image-id.gimprc","match":"%p","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.view-instance-number.gimprc","match":"%i","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.image-type.gimprc","match":"%t","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.zoom-factor.gimprc","match":"%z","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.source-scale-factor.gimprc","match":"%s","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.destination-scale-factor.gimprc","match":"%d","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.conditional.if-modified.gimprc","match":"%B","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.conditional.if-clean.gimprc","match":"%A","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.layer-count.gimprc","match":"%l","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.layer-count-long.gimprc","match":"%L","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.memory-usage.gimprc","match":"%m","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.active-layer-name.gimprc","match":"%n","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.active-layer-pbd-id.gimprc","match":"%P","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.image-width-in-pixels.gimprc","match":"%w","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.image-width-in-units.gimprc","match":"%W","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.image-height-in-pixels.gimprc","match":"%h","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.image-height-in-units.gimprc","match":"%H","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.size-in-megapixels.gimprc","match":"%M","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.unit-symbol.gimprc","match":"%u","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.unit-abbreviation.gimprc","match":"%U","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.active-layer-width-in-pixels.gimprc","match":"%x","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.active-layer-width-in-units.gimprc","match":"%X","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.active-layer-height-in-pixels.gimprc","match":"%y","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.active-layer-height-in-units.gimprc","match":"%Y","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.colour-profile-name.gimprc","match":"%o","captures":{"0":{"patterns":[{"include":"#punct"}]}}},{"name":"constant.other.placeholder.conditional.if-dirty.gimprc","match":"(%)D(.)","captures":{"1":{"patterns":[{"include":"#punct"}]},"2":{"name":"constant.character.variable.placeholder.gimprc"}}},{"name":"constant.other.placeholder.conditional.if-clean.gimprc","match":"(%)C(.)","captures":{"1":{"patterns":[{"include":"#punct"}]},"2":{"name":"constant.character.variable.placeholder.gimprc"}}},{"name":"constant.other.placeholder.conditional.if-export-dirty.gimprc","match":"(%)N(.)","captures":{"1":{"patterns":[{"include":"#punct"}]},"2":{"name":"constant.character.variable.placeholder.gimprc"}}},{"name":"constant.other.placeholder.conditional.if-export-clean.gimprc","match":"(%)E(.)","captures":{"1":{"patterns":[{"include":"#punct"}]},"2":{"name":"constant.character.variable.placeholder.gimprc"}}}]},"punct":{"patterns":[{"name":"punctuation.definition.placeholder.gimprc","match":"%","captures":{"0":{"name":"meta.separator"}}},{"name":"punctuation.section.expression.begin.gimprc","match":"\\(","captures":{"0":{"name":"brackethighlighter.round"}}},{"name":"punctuation.section.expression.end.gimprc","match":"\\)","captures":{"0":{"name":"brackethighlighter.round"}}},{"name":"punctuation.definition.escape.gimprc","match":"\\\\","captures":{"0":{"name":"sublimelinter.gutter-mark"}}}]},"string":{"name":"string.quoted.double.gimprc","begin":"\"","end":"\"","patterns":[{"include":"#stringInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.gimprc"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.gimprc"}}},"stringInnards":{"patterns":[{"name":"constant.character.escape.gimprc","match":"(\\\\)(?:[\"nrt\\\\]|x[0-9A-Fa-f]{2}|[0-7]{1,3})","captures":{"1":{"patterns":[{"include":"#punct"}]}}},{"include":"#interpolations"}]},"symbol":{"name":"constant.other.symbol.gimprc","match":"(')([A-Za-z0-9][-A-Za-z0-9!$%\u0026*+,./:\u003c=\u003e?@^_~]*)","captures":{"1":{"name":"punctuation.section.quoted.symbol.gimprc"},"2":{"patterns":[{"include":"#arrow"}]}}},"values":{"patterns":[{"include":"#string"},{"include":"#expr"},{"include":"#char"},{"include":"#number"},{"include":"#symbol"},{"include":"#constants"},{"include":"#boolean"},{"include":"#variable"}]},"variable":{"name":"constant.language.variable-name.gimprc","match":"[A-Za-z0-9][-A-Za-z0-9!$%\u0026*+,./:\u003c=\u003e?@^_~]*","captures":{"0":{"patterns":[{"include":"#arrow"}]}}}}}
@@ -0,0 +1 @@
1
+ {"name":"GIMP Resource","scopeName":"source.gimpres","patterns":[{"include":"#main"}],"repository":{"brush":{"name":"meta.brush.gimpres","begin":"\\A(?=GIMP-VBR$)","end":"(?=A)B","patterns":[{"name":"meta.header.gimpres","begin":"\\A(GIMP-VBR)$","end":"^\\s*(\\S+.*?)(?=\\s*$)","patterns":[{"begin":"\\G(?=$)|^(?=\\d+(?:\\.\\d+)?$)","end":"^(\\d+(?:\\.\\d+)?)$","endCaptures":{"1":{"name":"constant.numeric.version-number.gimpres"}}}],"beginCaptures":{"1":{"name":"keyword.control.signature.gimpres"}},"endCaptures":{"1":{"name":"entity.name.tag.resource.gimpres"}},"applyEndPatternLast":true},{"name":"constant.language.brush-shape.$1.gimpres","match":"^(circle|diamond|square)$"},{"include":"etc#comment"},{"include":"etc#num"}]},"columnsField":{"name":"meta.field.columns.gimpres","begin":"^(Columns(:))[ \\t]*","end":"(?=\\s*$)","patterns":[{"match":"\\G\\d+","captures":{"0":{"patterns":[{"include":"etc#intNoExp"}]}}},{"name":"invalid.illegal.syntax.gimpres","begin":"(?=(?!\\G)\\d|[^\\s\\d])","end":"(?=\\s*$)"}],"beginCaptures":{"1":{"name":"variable.assignment.columns.gimpres"},"2":{"patterns":[{"include":"etc#kolon"}]}}},"fractal":{"name":"meta.fractal.gimpres","begin":"\\A(?=Fractal Explorer Plug-In Version \\d)","end":"(?=A)B","patterns":[{"name":"meta.header.gimpres","begin":"(?i)\\A(Fractal Explorer Plug-In Version (\\d+(?:\\.\\d+)*))","end":"$","patterns":[{"match":"\\s*(-)\\s*((?:\\([Cc]\\)|©))\\s+(\\d{4})\\s+(\u003c[^\u003c\u003e]+\u003e)","captures":{"1":{"name":"meta.separator.dash.gimpres"},"2":{"name":"constant.character.copyright-symbol.gimpres"},"3":{"name":"constant.numeric.copyright-year.gimpres"},"4":{"patterns":[{"include":"etc#emailBracketed"}]}}}],"beginCaptures":{"1":{"name":"keyword.control.signature.gimpres"},"2":{"name":"ignore-github.constant.numeric.format-version.gimpres"}}},{"begin":"(?!\\A)^","end":"$","patterns":[{"include":"#gfigField"},{"include":"etc#comment"},{"name":"keyword.control.directive.eof.gimpres","match":"^(\u003c)EOF(\u003e)$","captures":{"1":{"name":"punctuation.definition.directive.begin.gimpres"},"2":{"name":"punctuation.definition.directive.end.gimpres"}}}]}]},"gfig":{"name":"meta.gfig-drawing.gimpres","begin":"\\A(?=GFIG Version \\d+(?:\\.\\d+)*$)","end":"(?=A)B","patterns":[{"name":"meta.header.gimpres","match":"\\A(GFIG Version (\\d+(?:\\.\\d+)*)$)","captures":{"1":{"name":"keyword.control.signature.gimpres"},"2":{"name":"ignore-github.constant.numeric.format-version.gimpres"}}},{"include":"#gfigField"},{"include":"#gfigTag"}]},"gfigField":{"patterns":[{"name":"meta.field.name.gimpres","contentName":"string.unquoted.resource-name.gimpres","begin":"^(Name(:))[ \\t]*","end":"(?=\\s*$)","patterns":[{"include":"#octalEscape"}],"beginCaptures":{"1":{"name":"variable.assignment.name.gimpres"},"2":{"patterns":[{"include":"etc#kolon"}]}}},{"name":"meta.field.gimpres","begin":"^(\\w+(:))[ \\t]*","end":"(?=\\s*$)","patterns":[{"include":"etc#num"},{"name":"constant.language.boolean.${1:/downcase}.gimpres","match":"(?:\\G|(?\u003c=\\s))(TRUE|FALSE)(?=$|\\s)"},{"name":"string.unquoted.bareword.gimpres","match":"(?!\\d)[-\\w]+"}],"beginCaptures":{"1":{"name":"variable.assignment.gimpres"},"2":{"patterns":[{"include":"etc#kolon"}]}}}]},"gfigTag":{"name":"meta.section.${3:/downcase}.gimpres","begin":"^((\u003c))(\\w+)((\u003e))$","end":"^((\u003c/))(\\3)((\u003e))$","patterns":[{"begin":"(?\u003c=\u003cOPTIONS\u003e)\\G","end":"(?=^\u003c/OPTIONS\u003e$)","patterns":[{"include":"#gfigField"}]},{"include":"etc#num"},{"include":"#gfigTag"}],"captures":{"0":{"name":"meta.tag.section.gimpres"},"1":{"name":"punctuation.definition.tag.begin.gimpres"},"2":{"name":"brackethighlighter.angle"},"3":{"name":"entity.name.tag.section.gimpres"},"4":{"name":"punctuation.definition.tag.end.gimpres"},"5":{"name":"brackethighlighter.angle"}}},"gflare":{"name":"meta.gradient-flare.gimpres","begin":"\\A(?=GIMP GFlare \\d+(?:\\.\\d+)*$)","end":"(?=A)B","patterns":[{"name":"meta.header.gimpres","match":"\\A(GIMP GFlare (\\d+(?:\\.\\d+)*)$)","captures":{"1":{"name":"keyword.control.signature.gimpres"},"2":{"name":"ignore-github.constant.numeric.format-version.gimpres"}}},{"name":"meta.paint-options.gimpres","match":"^(\\d+(?:\\.\\d+)?) ([A-Z]+)$","captures":{"1":{"name":"constant.numeric.decimal.opacity.gimpres"},"2":{"name":"storage.modifier.blending-mode.gimpres"}}},{"begin":"^(?=\\s*-?\\d+(?:\\.\\d+)?\\s+-?\\d)","end":"(?=\\s*$)","patterns":[{"include":"etc#num"}]},{"name":"meta.secondary-flare-shape.gimpres","match":"^(POLYGON|CIRCLE)\\s+(\\d+)(?:\\s+(\\d+))?[ \\t]*$","captures":{"1":{"name":"storage.type.shape.${1:/downcase}.gimpres"},"2":{"name":"constant.numeric.decimal.number-of-sides.gimpres"},"3":{"name":"constant.numeric.decimal.random-seed.gimpres"}}},{"name":"meta.gradient-specifier.gimpres","match":"^(%)\\w+$","captures":{"0":{"name":"keyword.operator.built-in.gradient-name.gimpres"},"1":{"name":"punctuation.definition.gradient-name.gimpres"}}},{"name":"meta.gradient-specifier.gimpres","match":"^\\s*(\\S[^\\r\\n]*)","captures":{"0":{"name":"entity.name.gradient.user-defined.gimpres"},"1":{"patterns":[{"include":"#octalEscape"}]}}}]},"gimpressionist":{"name":"meta.gimpressionist-preset.gimpres","begin":"\\A(?=Preset$)","end":"(?=A)B","patterns":[{"name":"meta.header.gimpres","match":"\\APreset$","captures":{"0":{"name":"keyword.control.signature.gimpres"}}},{"include":"source.ini"}]},"gradient":{"name":"meta.gradient.gimpres","begin":"\\A(?=GIMP Gradient$)","end":"(?=A)B","patterns":[{"name":"meta.header.gimpres","begin":"\\A(GIMP Gradient)$[\\r\\n]*","end":"^","patterns":[{"include":"#nameField"},{"name":"meta.number-of-segments.gimpres","match":"^(\\d+)[ \\t]*$","captures":{"1":{"patterns":[{"include":"etc#intNoExp"}]}}}],"beginCaptures":{"1":{"name":"keyword.control.signature.gimpres"}},"applyEndPatternLast":true},{"name":"meta.segment.gimpres","begin":"(?!\\A)^(?=\\s*-?\\d+(?:\\.\\d+)?\\s+\\d)","end":"(?=\\s*$)","patterns":[{"include":"etc#num"}]}]},"main":{"patterns":[{"include":"#brush"},{"include":"#gradient"},{"include":"#fractal"},{"include":"#palette"},{"include":"#gfig"},{"include":"#gflare"},{"include":"#gimpressionist"}]},"nameField":{"name":"meta.field.name.gimpres","contentName":"entity.name.resource.gimpres","begin":"^(Name(:))[ \\t]*","end":"(?=\\s*$)","beginCaptures":{"1":{"name":"variable.assignment.name.gimpres"},"2":{"patterns":[{"include":"etc#kolon"}]}}},"octalEscape":{"name":"constant.character.escape.octal.gimpres","match":"(\\\\)[0-7]{3}","captures":{"1":{"name":"punctuation.definition.escape.backslash.gimpres"}}},"palette":{"name":"meta.palette.gimpres","begin":"\\A(?=GIMP Palette$)","end":"(?=A)B","patterns":[{"name":"meta.palette.gimpres","begin":"\\A(GIMP Palette)$[\\r\\n]*","end":"^","patterns":[{"include":"#nameField"},{"include":"#columnsField"}],"beginCaptures":{"1":{"name":"keyword.control.signature.gimpres"}},"applyEndPatternLast":true},{"include":"etc#comment"},{"name":"meta.palette-colour.gimpres","contentName":"entity.name.tag.colour.gimpres","begin":"^\\s*(\\d+)\\s+(\\d+)\\s+(\\d+)(?:$|[ \\t]*)","end":"(?=\\s*$)","beginCaptures":{"1":{"name":"constant.numeric.integer.colour-component.red.gimpres"},"2":{"name":"constant.numeric.integer.colour-component.green.gimpres"},"3":{"name":"constant.numeric.integer.colour-component.blue.gimpres"}}}]}}}
@@ -1 +1 @@
1
- {"name":".gitconfig","scopeName":"source.gitconfig","patterns":[{"include":"#main"}],"repository":{"alias":{"name":"meta.alias.gitconfig","begin":"(?:^|(?\u003c=\\])\\G)\\s*([A-Za-z][-A-Za-z]*)\\s*(=)","end":"(?\u003c!\\\\)$|(?=#|;)","patterns":[{"begin":"\\G\\s*(?=\\\\$)","end":"(?=\\s*(?!\\\\$)(?=\\S))","patterns":[{"include":"#escapedNewline"}]},{"begin":"\\s*(?!\\\\$)(?=\\S)","end":"(?!\\G)","patterns":[{"include":"#aliasInnards"}]}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}},"aliasInnards":{"patterns":[{"name":"meta.shell.command.gitconfig","begin":"\\G\\s*(?=(?:\"\\s*)?!)","end":"(?\u003c!\\\\)$","patterns":[{"name":"string.quoted.double.gitconfig","match":"\\G(\")\\s*(!)((?:[^\\\\\"]|\\\\.)*+)(\")","captures":{"1":{"name":"punctuation.definition.string.begin.gitconfig"},"2":{"name":"keyword.operator.shell-script.gitconfig"},"3":{"name":"source.embedded.shell","patterns":[{"include":"#escapes"},{"include":"source.shell"}]},"4":{"name":"punctuation.definition.string.end.gitconfig"}}},{"name":"string.quoted.double.gitconfig","contentName":"source.embedded.shell","begin":"\\G(\")\\s*(!)","end":"(\")|((?:[^\\\\\"]|\\\\.)*+)$","patterns":[{"include":"#escapes"},{"include":"source.shell"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.gitconfig"},"2":{"name":"keyword.operator.shell-script.gitconfig"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.gitconfig"},"2":{"name":"invalid.illegal.syntax.unclosed-string.gitconfig"}}},{"name":"keyword.operator.shell-script.gitconfig","match":"\\G!"},{"include":"#cmdInnards"}]},{"name":"meta.unquoted.shell.command.gitconfig","begin":"\\G\\s*(!)","end":"(?\u003c!\\\\)(?=$)","patterns":[{"include":"#escapedNewline"},{"include":"source.shell"}],"beginCaptures":{"1":{"name":"keyword.operator.shell-script.gitconfig"}}},{"name":"meta.git.subcommands.gitconfig","contentName":"string.unquoted.source.gitconfig","begin":"\\G\\s*([^\\s\"#;!]+)","end":"(?\u003c!\\\\)(?=$|#|;)","patterns":[{"include":"#escapes"}],"beginCaptures":{"0":{"name":"string.unquoted.source.gitconfig"}}}]},"aliasSection":{"name":"meta.aliases.section.gitconfig","begin":"(?xi)\n(?:^|\\G)\n\\s* (\\[) #1\n\\s* (alias) #2\n(?:\n\t\\s+ (\") ((?:[^\\\\\"\\r\\n]|\\\\.)*+) (\") #3-5\n\t|\n\t(\\.) ([-A-Za-z0-9]+) #6-7\n)?\n\\s* (\\]) #8","end":"(?!\\G)(?=^\\s*\\[)","patterns":[{"include":"#alias"},{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"0":{"name":"meta.section.header.gitconfig"},"1":{"name":"punctuation.definition.bracket.square.begin.gitconfig"},"2":{"name":"entity.section.name.gitconfig"},"3":{"name":"punctuation.definition.subsection.begin.gitconfig"},"4":{"name":"entity.subsection.name.gitconfig","patterns":[{"include":"#sectionEscapes"}]},"5":{"name":"punctuation.definition.subsection.end.gitconfig"},"6":{"patterns":[{"include":"#dot"}]},"7":{"name":"entity.subsection.name.deprecated-syntax.gitconfig"},"8":{"name":"punctuation.definition.bracket.square.end.gitconfig"}}},"cmd":{"name":"meta.command.gitconfig","begin":"(?:^|(?\u003c=\\])\\G)\\s*(textconv|command|driver)\\s*(=)","end":"(?\u003c!\\\\)$|(?=#|;)","patterns":[{"begin":"\\G\\s*(?=\\\\$)","end":"(?=\\s*(?!\\\\$)(?=\\S))","patterns":[{"include":"#escapedNewline"}]},{"contentName":"source.embedded.shell","begin":"\\s*(?!\\\\$)(?=\\S)","end":"(?!\\G)","patterns":[{"include":"#cmdInnards"}]}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}},"cmdInnards":{"patterns":[{"name":"string.quoted.double.gitconfig","match":"(\")((?:[^\\\\\"]|\\\\.)*+)(\")","captures":{"1":{"name":"punctuation.definition.string.begin.gitconfig"},"2":{"name":"source.embedded.shell","patterns":[{"include":"#escapes"},{"include":"source.shell"}]},"3":{"name":"punctuation.definition.string.end.gitconfig"}}},{"name":"string.quoted.double.gitconfig","contentName":"source.embedded.shell","begin":"\"","end":"(\")|((?:[^\\\\\"]|\\\\.)*+)$","patterns":[{"include":"#escapes"},{"include":"source.shell"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.gitconfig"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.gitconfig"},"2":{"name":"invalid.illegal.syntax.unclosed-string.gitconfig"}}},{"include":"#escapedNewline"},{"include":"source.shell"}]},"comments":{"patterns":[{"name":"comment.line.number-sign.gitconfig","begin":"#","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.gitconfig"}}},{"name":"comment.line.semicolon.gitconfig","begin":";","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.gitconfig"}}}]},"diffSection":{"name":"meta.diff.section.gitconfig","begin":"(?xi)\n(?:^|\\G)\n\\s* (\\[) #1\n\\s* (diff) #2\n(?:\n\t\\s+ (\") ((?:[^\\\\\"\\r\\n]|\\\\.)*+) (\") #3-5\n\t|\n\t(\\.) ([-A-Za-z0-9]+) #6-7\n)\n\\s* (\\]) #8","end":"(?!\\G)(?=^\\s*\\[)","patterns":[{"include":"#cmd"},{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"0":{"name":"meta.section.header.gitconfig"},"1":{"name":"punctuation.definition.bracket.square.begin.gitconfig"},"2":{"name":"entity.section.name.gitconfig"},"3":{"name":"punctuation.definition.subsection.begin.gitconfig"},"4":{"name":"entity.subsection.name.gitconfig","patterns":[{"include":"#sectionEscapes"}]},"5":{"name":"punctuation.definition.subsection.end.gitconfig"},"6":{"patterns":[{"include":"#dot"}]},"7":{"name":"entity.subsection.name.deprecated-syntax.gitconfig"},"8":{"name":"punctuation.definition.bracket.square.end.gitconfig"}}},"dot":{"name":"punctuation.delimiter.separator.meta.dot.period.gitconfig","match":"\\."},"escapedNewline":{"name":"constant.character.escape.newline.gitconfig","match":"(\\\\)$\\s*","captures":{"1":{"name":"punctuation.definition.escape.backslash.gitconfig"}}},"escapes":{"patterns":[{"name":"constant.character.escape.backslash.gitconfig","match":"(\\\\)\\\\","captures":{"1":{"name":"punctuation.definition.escape.backslash.gitconfig"}}},{"name":"constant.character.escape.quote.gitconfig","match":"(\\\\)\"","captures":{"1":{"name":"punctuation.definition.escape.backslash.gitconfig"}}},{"name":"constant.character.escape.newline.gitconfig","match":"(\\\\)n","captures":{"1":{"name":"punctuation.definition.escape.backslash.gitconfig"}}},{"name":"constant.character.escape.tab.gitconfig","match":"(\\\\)t","captures":{"1":{"name":"punctuation.definition.escape.backslash.gitconfig"}}},{"name":"constant.character.escape.backspace.gitconfig","match":"(\\\\)b","captures":{"1":{"name":"punctuation.definition.escape.backslash.gitconfig"}}},{"include":"#escapedNewline"},{"name":"invalid.illegal.syntax.escape.gitconfig","match":"\\\\."}]},"includeInnards":{"patterns":[{"name":"keyword.operator.tilde.gitconfig","match":"(?:^|\\G)~(?=/)"},{"name":"keyword.operator.config-path.gitconfig","match":"(?:^|\\G)\\.(?=/)"},{"name":"keyword.operator.glob.wildcard.globstar.gitconfig","match":"\\*\\*"},{"name":"keyword.operator.glob.wildcard.gitconfig","match":"[*?]"},{"name":"punctuation.directory.separator.meta.gitconfig","match":"/"},{"include":"#escapes"}]},"includePath":{"name":"meta.included-file.gitconfig","begin":"(?:^|(?\u003c=\\])\\G)\\s*(path)\\s*(=)[ \\t]*","end":"(?=\\s*(?:(?\u003c!\\\\)$|#|;))","patterns":[{"name":"string.quoted.double.pathspec.gitconfig","contentName":"string.other.link.pathspec.gitconfig","begin":"\\G\\s*\"","end":"\"|(?\u003c!\\\\)(?=\\s*$)","patterns":[{"include":"#includeInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.gitconfig"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.gitconfig"}}},{"match":"([^\"\\s;#][^;#]*?)(?\u003c=\\S)(?=\\s*(?:$|;|#))","captures":{"1":{"name":"string.other.link.pathspec.gitconfig","patterns":[{"include":"#includeInnards"}]}}},{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}},"includeSection":{"name":"meta.include.section.gitconfig","begin":"(?ix)\n(?:^|\\G) \\s*\n(\\[) #1\n\\s*\n(include(?:If)?) #2\n(?:\n\t\\s*\n\t(\") #3\n\t( #4\n\t\t(?: [^\\\\\"]\n\t\t| \\\\.\n\t\t)*+\n\t)\n\t(\") #5\n)?+\n\\s* (\\]) #6","end":"(?!\\G)(?=^\\s*\\[)","patterns":[{"include":"#includePath"},{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"0":{"name":"meta.section.header.gitconfig"},"1":{"name":"punctuation.definition.bracket.square.begin.gitconfig"},"2":{"name":"keyword.control.directive.${2:/downcase}.gitconfig"},"3":{"name":"punctuation.definition.condition.begin.gitconfig"},"4":{"patterns":[{"name":"meta.condition.match-directory.gitconfig","contentName":"string.other.link.gitconfig","begin":"(gitdir)((/)i)?(:)","end":"(?=\\s*(?:$|\"))","patterns":[{"include":"#sectionEscapes"},{"include":"#includeInnards"}],"beginCaptures":{"1":{"name":"entity.name.condition-type.gitconfig"},"2":{"name":"storage.modifier.ignore-case.gitconfig"},"3":{"name":"punctuation.separator.modifier.slash.gitconfig"},"4":{"name":"punctuation.separator.key-value.gitconfig"}}},{"name":"meta.condition.match-worktree.gitconfig","contentName":"string.other.file.name.gitconfig","begin":"(onbranch)(:)","end":"(?=\\s*(?:$|\"))","patterns":[{"include":"#sectionEscapes"},{"include":"#includeInnards"}],"beginCaptures":{"1":{"name":"entity.name.condition-type.gitconfig"},"2":{"name":"punctuation.separator.key-value.gitconfig"}}},{"name":"meta.condition.match-config.gitconfig","contentName":"string.unquoted.argument.gitconfig","begin":"(hasconfig)(:)([^\":]+)(:)","end":"(?=\\s*(?:$|\"))","patterns":[{"include":"#sectionEscapes"},{"include":"#includeInnards"}],"beginCaptures":{"1":{"name":"entity.name.condition-type.gitconfig"},"2":{"name":"punctuation.separator.parameter.gitconfig"},"3":{"name":"variable.parameter.comparison.gitconfig","patterns":[{"include":"#dot"},{"include":"#sectionEscapes"},{"include":"#includeInnards"}]},"4":{"name":"punctuation.separator.key-value.gitconfig"}}}]},"5":{"name":"punctuation.definition.condition.end.gitconfig"},"6":{"name":"punctuation.definition.bracket.square.end.gitconfig"}}},"main":{"patterns":[{"include":"#comments"},{"include":"#includeSection"},{"include":"#aliasSection"},{"include":"#diffSection"},{"include":"#urlSection"},{"include":"#section"}]},"section":{"name":"meta.section.gitconfig","begin":"(?x)\n(?:^|\\G) \\s*\n(?:\n\t(\\[)\\s*(\\]) #1, #2\n\t|\n\t(\\[) #3\n\t\\s*\n\t(?:\n\t\t([-.A-Za-z0-9]+?) #4\n\t\t(?:\n\t\t\t(\\.) #5\n\t\t\t([-A-Za-z0-9]+) #6\n\t\t)?\n\t)\n\t(?:\n\t\t\\s*\n\t\t(\") #7\n\t\t( #8\n\t\t\t(?: [^\\\\\"]\n\t\t\t| \\\\.\n\t\t\t)*+\n\t\t)\n\t\t(\") #9\n\t)?+\n\t\\s* (\\]) #10\n)","end":"(?!\\G)(?=^\\s*\\[)","patterns":[{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"0":{"name":"meta.section.header.gitconfig"},"1":{"name":"punctuation.definition.bracket.square.begin.gitconfig"},"10":{"name":"punctuation.definition.bracket.square.end.gitconfig"},"2":{"name":"punctuation.definition.bracket.square.end.gitconfig"},"3":{"name":"punctuation.definition.bracket.square.begin.gitconfig"},"4":{"name":"entity.section.name.gitconfig"},"5":{"patterns":[{"include":"#dot"}]},"6":{"name":"entity.subsection.name.deprecated-syntax.gitconfig"},"7":{"name":"punctuation.definition.subsection.begin.gitconfig"},"8":{"name":"entity.subsection.name.gitconfig","patterns":[{"include":"#sectionEscapes"}]},"9":{"name":"punctuation.definition.subsection.end.gitconfig"}}},"sectionEscapes":{"patterns":[{"name":"constant.character.escape.backslash.gitconfig","match":"(\\\\)[\\\\\"]","captures":{"1":{"name":"punctuation.definition.escape.backslash.gitconfig"}}},{"name":"constant.character.escape.unknown.gitconfig","match":"\\\\(?=[^\\\\\"])","captures":{"0":{"name":"punctuation.definition.escape.backslash.ignored.gitconfig"}}}]},"urlInnards":{"patterns":[{"name":"string.other.link.gitconfig","begin":"\"","end":"\"|(?=\\s*$)","patterns":[{"include":"#escapes"}],"beginCaptures":{"0":{"name":"string.quoted.string.begin.gitconfig"}},"endCaptures":{"0":{"name":"string.quoted.string.end.gitconfig"}}},{"name":"string.other.link.gitconfig","match":"(?:[^\\s\";#\\\\]|\\\\.)+","captures":{"0":{"patterns":[{"include":"#escapes"}]}}}]},"urlSection":{"name":"meta.url.section.gitconfig","begin":"(?ix)\n(?:^|\\G) \\s*\n(\\[) #1\n\\s*\n(url|https?|core.(?:git)?proxy) #2\n(?:\n\t\\s*\n\t(\") #3\n\t( #4\n\t\t(?: [^\\\\\"]\n\t\t| \\\\.\n\t\t)*+\n\t)\n\t(\") #5\n)?+\n\\s* (\\]) #6","end":"(?!\\G)(?=^\\s*\\[)","patterns":[{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"0":{"name":"meta.section.header.gitconfig"},"1":{"name":"punctuation.definition.bracket.square.begin.gitconfig"},"2":{"name":"entity.section.name.gitconfig"},"3":{"name":"punctuation.definition.subsection.begin.gitconfig"},"4":{"name":"string.other.link.gitconfig","patterns":[{"include":"#sectionEscapes"}]},"5":{"name":"punctuation.definition.subsection.end.gitconfig"},"6":{"name":"punctuation.definition.bracket.square.end.gitconfig"}}},"variableInnards":{"patterns":[{"name":"constant.logical.boolean.$1.gitconfig","match":"(?i)\\b(true|false|on|off|1|0|yes|no)\\b"},{"name":"constant.numeric.decimal.integer.int.gitconfig","match":"[-+]?[0-9]+(?=$|[\\s#;])"},{"name":"constant.numeric.decimal.float.gitconfig","match":"[-+]?(?:[0-9]+\\.[0-9]*|\\.[0-9]+)(?=$|\\s#;)"},{"name":"string.quoted.double.argument.gitconfig","match":"(\")((?:[^\\\\\"]|\\\\.)*?)(?\u003c!\\\\)(?=\\s*$)","captures":{"0":{"name":"invalid.illegal.syntax.unclosed-string.gitconfig"},"1":{"name":"punctuation.definition.string.begin.gitconfig"},"2":{"patterns":[{"include":"#escapes"}]}}},{"name":"string.quoted.double.argument.gitconfig","begin":"\"","end":"\"|(?\u003c!\\\\)(?=\\s*$)","patterns":[{"include":"#escapes"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.gitconfig"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.gitconfig"}}},{"name":"string.unquoted.argument.gitconfig","match":"(?:[^\\\\\\s\";#]|\\\\.)+","captures":{"0":{"patterns":[{"include":"#escapes"}]}}},{"include":"#escapedNewline"}]},"variables":{"patterns":[{"name":"meta.variable-field.gitconfig","begin":"(?i)\\b(signingkey)\\s*(=)","end":"(?=\\s*(?:$|#|;))","patterns":[{"name":"constant.other.signing-key.hex.gitconfig","match":"\\w+"},{"include":"#variableInnards"}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}},{"name":"meta.variable-field.gitconfig","begin":"(?i)\\b(email|url)\\s*(=)","end":"(?=\\s*(?:$|#|;))","patterns":[{"include":"#urlInnards"}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}},{"name":"meta.variable-field.gitconfig","begin":"([0-9A-Za-z][-0-9A-Za-z]*)\\s*(=)","end":"(?=\\s*(?:$|#|;))","patterns":[{"include":"#variableInnards"}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}}]}},"injections":{"L:meta.alias.gitconfig source.embedded.shell, L:meta.command.gitconfig - string.quoted":{"patterns":[{"include":"#escapedNewline"}]},"L:string.quoted.double.gitconfig source.embedded.shell - string.quoted.*.shell":{"patterns":[{"name":"comment.line.number-sign.shell","begin":"\\s*(?\u003c![^\\s;\\\\|\\(\u0026])(#)","end":"(?=\")","beginCaptures":{"1":{"name":"punctuation.definition.comment.shell"}}}]}}}
1
+ {"name":".gitconfig","scopeName":"source.gitconfig","patterns":[{"include":"#main"}],"repository":{"alias":{"name":"meta.alias.gitconfig","begin":"(?:^|(?\u003c=\\])\\G)\\s*([A-Za-z][-A-Za-z]*)\\s*(=)","end":"(?\u003c!\\\\)$|(?=#|;)","patterns":[{"begin":"\\G\\s*(?=\\\\$)","end":"(?=\\s*(?!\\\\$)(?=\\S))","patterns":[{"include":"#escapedNewline"}]},{"begin":"\\s*(?!\\\\$)(?=\\S)","end":"(?!\\G)","patterns":[{"include":"#aliasInnards"}]}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}},"aliasInnards":{"patterns":[{"name":"meta.shell.command.gitconfig","begin":"\\G\\s*(?=(?:\"\\s*)?!)","end":"(?\u003c!\\\\)$","patterns":[{"name":"string.quoted.double.gitconfig","match":"\\G(\")\\s*(!)((?:[^\\\\\"]|\\\\.)*+)(\")","captures":{"1":{"name":"punctuation.definition.string.begin.gitconfig"},"2":{"name":"keyword.operator.shell-script.gitconfig"},"3":{"name":"source.embedded.shell","patterns":[{"include":"#escapes"},{"include":"source.shell"}]},"4":{"name":"punctuation.definition.string.end.gitconfig"}}},{"name":"string.quoted.double.gitconfig","contentName":"source.embedded.shell","begin":"\\G(\")\\s*(!)","end":"(\")|((?:[^\\\\\"]|\\\\.)*+)$","patterns":[{"include":"#escapes"},{"include":"source.shell"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.gitconfig"},"2":{"name":"keyword.operator.shell-script.gitconfig"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.gitconfig"},"2":{"name":"invalid.illegal.syntax.unclosed-string.gitconfig"}}},{"name":"keyword.operator.shell-script.gitconfig","match":"\\G!"},{"include":"#cmdInnards"}]},{"name":"meta.unquoted.shell.command.gitconfig","begin":"\\G\\s*(!)","end":"(?\u003c!\\\\)(?=$)","patterns":[{"include":"#escapedNewline"},{"include":"source.shell"}],"beginCaptures":{"1":{"name":"keyword.operator.shell-script.gitconfig"}}},{"name":"meta.git.subcommands.gitconfig","contentName":"string.unquoted.source.gitconfig","begin":"\\G\\s*([^\\s\"#;!]+)","end":"(?\u003c!\\\\)(?=$|#|;)","patterns":[{"include":"#escapes"}],"beginCaptures":{"0":{"name":"string.unquoted.source.gitconfig"}}}]},"aliasSection":{"name":"meta.aliases.section.gitconfig","begin":"(?xi)\n(?:^|\\G)\n\\s* (\\[) #1\n\\s* (alias) #2\n(?:\n\t\\s+ (\") ((?:[^\\\\\"\\r\\n]|\\\\.)*+) (\") #3-5\n\t|\n\t(\\.) ([-A-Za-z0-9]+) #6-7\n)?\n\\s* (\\]) #8","end":"(?!\\G)(?=^\\s*\\[)","patterns":[{"include":"#alias"},{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"0":{"name":"meta.section.header.gitconfig"},"1":{"name":"punctuation.definition.bracket.square.begin.gitconfig"},"2":{"name":"entity.section.name.gitconfig"},"3":{"name":"punctuation.definition.subsection.begin.gitconfig"},"4":{"name":"entity.subsection.name.gitconfig","patterns":[{"include":"#sectionEscapes"}]},"5":{"name":"punctuation.definition.subsection.end.gitconfig"},"6":{"patterns":[{"include":"#dot"}]},"7":{"name":"entity.subsection.name.deprecated-syntax.gitconfig"},"8":{"name":"punctuation.definition.bracket.square.end.gitconfig"}}},"bugtraqLog":{"name":"meta.bug-matcher.gitconfig","begin":"(?i)\\b(logregex)\\s*(=)[ \\t]*","end":"(?=\\s*(?:$|#|;))","patterns":[{"name":"string.regexp.gitconfig","begin":"\\G(\"|')","end":"\\1","patterns":[{"include":"source.regexp"},{"include":"#escapes"}],"beginCaptures":{"0":{"name":"punctuation.definition.regexp.begin.gitconfig"}},"endCaptures":{"0":{"name":"punctuation.definition.regexp.end.gitconfig"}}},{"include":"#variableInnards"}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}},"bugtraqMessage":{"name":"meta.log-message.gitconfig","begin":"(?i)\\b(message)\\s*(=)[ \\t]*","end":"(?=\\s*(?:$|#|;))","patterns":[{"name":"string.quoted.double.message.gitconfig","begin":"\\G\"","end":"\"","patterns":[{"include":"#bugtraqPlaceholder"},{"include":"#escapes"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.gitconfig"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.gitconfig"}}},{"name":"string.quoted.single.message.gitconfig","begin":"\\G'","end":"'","patterns":[{"include":"#bugtraqPlaceholder"},{"include":"#escapes"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.gitconfig"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.gitconfig"}}},{"include":"#variableInnards"}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}},"bugtraqPlaceholder":{"name":"constant.other.placeholder.bugid.gitconfig","match":"%BUGID%"},"bugtraqSection":{"name":"meta.bugtraq.section.gitconfig","begin":"(?:^|\\G)\\s*(?:(\\[)\\s*(bugtraq)\\s*(\\]))","end":"(?!\\G)(?=^\\s*\\[)","patterns":[{"include":"#bugtraqLog"},{"include":"#bugtraqUUID"},{"include":"#bugtraqMessage"},{"include":"#bugtraqURL"},{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"0":{"name":"meta.section.header.gitconfig"},"1":{"name":"punctuation.definition.bracket.square.begin.gitconfig"},"2":{"name":"entity.section.name.gitconfig"},"3":{"name":"punctuation.definition.bracket.square.end.gitconfig"}}},"bugtraqURL":{"name":"meta.bug-tracker.gitconfig","begin":"(?i)\\b(url)\\s*(=)[ \\t]*","end":"(?=\\s*(?:$|#|;))","patterns":[{"name":"string.other.link.gitconfig","match":"\\G\\S+","captures":{"0":{"patterns":[{"include":"#bugtraqPlaceholder"}]}}}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}},"bugtraqUUID":{"name":"meta.provider-uuid.gitconfig","begin":"(?i)\\b(provideruuid(?:64)?)\\s*(=)[ \\t]*","end":"(?=\\s*(?:$|#|;))","patterns":[{"name":"meta.uuid.gitconfig","match":"(?i)\\G({)([0-9A-F](?:-?[0-9A-F]){31})(})","captures":{"1":{"patterns":[{"include":"etc#bracket"}]},"2":{"patterns":[{"include":"etc#dash"},{"include":"etc#hexNoSign"}]},"3":{"patterns":[{"include":"etc#bracket"}]}}},{"include":"#variableInnards"}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}},"cmd":{"name":"meta.command.gitconfig","begin":"(?:^|(?\u003c=\\])\\G)\\s*(textconv|command|driver)\\s*(=)","end":"(?\u003c!\\\\)$|(?=#|;)","patterns":[{"begin":"\\G\\s*(?=\\\\$)","end":"(?=\\s*(?!\\\\$)(?=\\S))","patterns":[{"include":"#escapedNewline"}]},{"contentName":"source.embedded.shell","begin":"\\s*(?!\\\\$)(?=\\S)","end":"(?!\\G)","patterns":[{"include":"#cmdInnards"}]}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}},"cmdInnards":{"patterns":[{"name":"string.quoted.double.gitconfig","match":"(\")((?:[^\\\\\"]|\\\\.)*+)(\")","captures":{"1":{"name":"punctuation.definition.string.begin.gitconfig"},"2":{"name":"source.embedded.shell","patterns":[{"include":"#escapes"},{"include":"source.shell"}]},"3":{"name":"punctuation.definition.string.end.gitconfig"}}},{"name":"string.quoted.double.gitconfig","contentName":"source.embedded.shell","begin":"\"","end":"(\")|((?:[^\\\\\"]|\\\\.)*+)$","patterns":[{"include":"#escapes"},{"include":"source.shell"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.gitconfig"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.gitconfig"},"2":{"name":"invalid.illegal.syntax.unclosed-string.gitconfig"}}},{"include":"#escapedNewline"},{"include":"source.shell"}]},"comments":{"patterns":[{"name":"comment.line.number-sign.gitconfig","begin":"#","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.gitconfig"}}},{"name":"comment.line.semicolon.gitconfig","begin":";","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.gitconfig"}}}]},"diffSection":{"name":"meta.diff.section.gitconfig","begin":"(?xi)\n(?:^|\\G)\n\\s* (\\[) #1\n\\s* (diff) #2\n(?:\n\t\\s+ (\") ((?:[^\\\\\"\\r\\n]|\\\\.)*+) (\") #3-5\n\t|\n\t(\\.) ([-A-Za-z0-9]+) #6-7\n)\n\\s* (\\]) #8","end":"(?!\\G)(?=^\\s*\\[)","patterns":[{"include":"#cmd"},{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"0":{"name":"meta.section.header.gitconfig"},"1":{"name":"punctuation.definition.bracket.square.begin.gitconfig"},"2":{"name":"entity.section.name.gitconfig"},"3":{"name":"punctuation.definition.subsection.begin.gitconfig"},"4":{"name":"entity.subsection.name.gitconfig","patterns":[{"include":"#sectionEscapes"}]},"5":{"name":"punctuation.definition.subsection.end.gitconfig"},"6":{"patterns":[{"include":"#dot"}]},"7":{"name":"entity.subsection.name.deprecated-syntax.gitconfig"},"8":{"name":"punctuation.definition.bracket.square.end.gitconfig"}}},"dot":{"name":"punctuation.delimiter.separator.meta.dot.period.gitconfig","match":"\\."},"escapedNewline":{"name":"constant.character.escape.newline.gitconfig","match":"(\\\\)$\\s*","captures":{"1":{"name":"punctuation.definition.escape.backslash.gitconfig"}}},"escapes":{"patterns":[{"name":"constant.character.escape.backslash.gitconfig","match":"(\\\\)\\\\","captures":{"1":{"name":"punctuation.definition.escape.backslash.gitconfig"}}},{"name":"constant.character.escape.quote.gitconfig","match":"(\\\\)\"","captures":{"1":{"name":"punctuation.definition.escape.backslash.gitconfig"}}},{"name":"constant.character.escape.newline.gitconfig","match":"(\\\\)n","captures":{"1":{"name":"punctuation.definition.escape.backslash.gitconfig"}}},{"name":"constant.character.escape.tab.gitconfig","match":"(\\\\)t","captures":{"1":{"name":"punctuation.definition.escape.backslash.gitconfig"}}},{"name":"constant.character.escape.backspace.gitconfig","match":"(\\\\)b","captures":{"1":{"name":"punctuation.definition.escape.backslash.gitconfig"}}},{"include":"#escapedNewline"},{"name":"invalid.illegal.syntax.escape.gitconfig","match":"\\\\."}]},"hookCmd":{"name":"meta.command.hook.gitconfig","begin":"(?:^|(?\u003c=\\])\\G)\\s*(cmdline)\\s*(=)","end":"(?\u003c!\\\\)$|(?=#|;)","patterns":[{"begin":"\\G\\s*(?=\\\\$)","end":"(?=\\s*(?!\\\\$)(?=\\S))","patterns":[{"include":"#escapedNewline"}]},{"contentName":"source.embedded.batchfile","begin":"\\s*(?!\\\\$)(?=\\S)","end":"(?!\\G)","patterns":[{"include":"source.batchfile"}]}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}},"hookSection":{"name":"meta.hook.section.gitconfig","begin":"(?xi)\n(?:^|\\G)\n\\s* (\\[) #1\n\\s* (hook) #2\n(?:\n\t\\s+ (\") ((?:[^\\\\\"\\r\\n]|\\\\.)*+) (\") #3-5\n\t|\n\t(\\.) ([-A-Za-z0-9]+) #6-7\n)\n\\s* (\\]) #8","end":"(?!\\G)(?=^\\s*\\[)","patterns":[{"include":"#hookCmd"},{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"0":{"name":"meta.section.header.gitconfig"},"1":{"name":"punctuation.definition.bracket.square.begin.gitconfig"},"2":{"name":"entity.section.name.gitconfig"},"3":{"name":"punctuation.definition.subsection.begin.gitconfig"},"4":{"name":"entity.subsection.name.gitconfig","patterns":[{"include":"#sectionEscapes"}]},"5":{"name":"punctuation.definition.subsection.end.gitconfig"},"6":{"patterns":[{"include":"#dot"}]},"7":{"name":"entity.subsection.name.deprecated-syntax.gitconfig"},"8":{"name":"punctuation.definition.bracket.square.end.gitconfig"}}},"includeInnards":{"patterns":[{"name":"keyword.operator.tilde.gitconfig","match":"(?:^|\\G)~(?=/)"},{"name":"keyword.operator.config-path.gitconfig","match":"(?:^|\\G)\\.(?=/)"},{"name":"keyword.operator.glob.wildcard.globstar.gitconfig","match":"\\*\\*"},{"name":"keyword.operator.glob.wildcard.gitconfig","match":"[*?]"},{"name":"punctuation.directory.separator.meta.gitconfig","match":"/"},{"include":"#escapes"}]},"includePath":{"name":"meta.included-file.gitconfig","begin":"(?:^|(?\u003c=\\])\\G)\\s*(path)\\s*(=)[ \\t]*","end":"(?=\\s*(?:(?\u003c!\\\\)$|#|;))","patterns":[{"name":"string.quoted.double.pathspec.gitconfig","contentName":"string.other.link.pathspec.gitconfig","begin":"\\G\\s*\"","end":"\"|(?\u003c!\\\\)(?=\\s*$)","patterns":[{"include":"#includeInnards"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.gitconfig"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.gitconfig"}}},{"match":"([^\"\\s;#][^;#]*?)(?\u003c=\\S)(?=\\s*(?:$|;|#))","captures":{"1":{"name":"string.other.link.pathspec.gitconfig","patterns":[{"include":"#includeInnards"}]}}},{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}},"includeSection":{"name":"meta.include.section.gitconfig","begin":"(?ix)\n(?:^|\\G) \\s*\n(\\[) #1\n\\s*\n(include(?:If)?) #2\n(?:\n\t\\s*\n\t(\") #3\n\t( #4\n\t\t(?: [^\\\\\"]\n\t\t| \\\\.\n\t\t)*+\n\t)\n\t(\") #5\n)?+\n\\s* (\\]) #6","end":"(?!\\G)(?=^\\s*\\[)","patterns":[{"include":"#includePath"},{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"0":{"name":"meta.section.header.gitconfig"},"1":{"name":"punctuation.definition.bracket.square.begin.gitconfig"},"2":{"name":"keyword.control.directive.${2:/downcase}.gitconfig"},"3":{"name":"punctuation.definition.condition.begin.gitconfig"},"4":{"patterns":[{"name":"meta.condition.match-directory.gitconfig","contentName":"string.other.link.gitconfig","begin":"(gitdir)((/)i)?(:)","end":"(?=\\s*(?:$|\"))","patterns":[{"include":"#sectionEscapes"},{"include":"#includeInnards"}],"beginCaptures":{"1":{"name":"entity.name.condition-type.gitconfig"},"2":{"name":"storage.modifier.ignore-case.gitconfig"},"3":{"name":"punctuation.separator.modifier.slash.gitconfig"},"4":{"name":"punctuation.separator.key-value.gitconfig"}}},{"name":"meta.condition.match-worktree.gitconfig","contentName":"string.other.file.name.gitconfig","begin":"(onbranch)(:)","end":"(?=\\s*(?:$|\"))","patterns":[{"include":"#sectionEscapes"},{"include":"#includeInnards"}],"beginCaptures":{"1":{"name":"entity.name.condition-type.gitconfig"},"2":{"name":"punctuation.separator.key-value.gitconfig"}}},{"name":"meta.condition.match-config.gitconfig","contentName":"string.unquoted.argument.gitconfig","begin":"(hasconfig)(:)([^\":]+)(:)","end":"(?=\\s*(?:$|\"))","patterns":[{"include":"#sectionEscapes"},{"include":"#includeInnards"}],"beginCaptures":{"1":{"name":"entity.name.condition-type.gitconfig"},"2":{"name":"punctuation.separator.parameter.gitconfig"},"3":{"name":"variable.parameter.comparison.gitconfig","patterns":[{"include":"#dot"},{"include":"#sectionEscapes"},{"include":"#includeInnards"}]},"4":{"name":"punctuation.separator.key-value.gitconfig"}}}]},"5":{"name":"punctuation.definition.condition.end.gitconfig"},"6":{"name":"punctuation.definition.bracket.square.end.gitconfig"}}},"main":{"patterns":[{"include":"#comments"},{"include":"#bugtraqSection"},{"include":"#includeSection"},{"include":"#aliasSection"},{"include":"#diffSection"},{"include":"#hookSection"},{"include":"#urlSection"},{"include":"#section"}]},"section":{"name":"meta.section.gitconfig","begin":"(?x)\n(?:^|\\G) \\s*\n(?:\n\t(\\[)\\s*(\\]) #1, #2\n\t|\n\t(\\[) #3\n\t\\s*\n\t(?:\n\t\t([-.A-Za-z0-9]+?) #4\n\t\t(?:\n\t\t\t(\\.) #5\n\t\t\t([-A-Za-z0-9]+) #6\n\t\t)?\n\t)\n\t(?:\n\t\t\\s*\n\t\t(\") #7\n\t\t( #8\n\t\t\t(?: [^\\\\\"]\n\t\t\t| \\\\.\n\t\t\t)*+\n\t\t)\n\t\t(\") #9\n\t)?+\n\t\\s* (\\]) #10\n)","end":"(?!\\G)(?=^\\s*\\[)","patterns":[{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"0":{"name":"meta.section.header.gitconfig"},"1":{"name":"punctuation.definition.bracket.square.begin.gitconfig"},"10":{"name":"punctuation.definition.bracket.square.end.gitconfig"},"2":{"name":"punctuation.definition.bracket.square.end.gitconfig"},"3":{"name":"punctuation.definition.bracket.square.begin.gitconfig"},"4":{"name":"entity.section.name.gitconfig"},"5":{"patterns":[{"include":"#dot"}]},"6":{"name":"entity.subsection.name.deprecated-syntax.gitconfig"},"7":{"name":"punctuation.definition.subsection.begin.gitconfig"},"8":{"name":"entity.subsection.name.gitconfig","patterns":[{"include":"#sectionEscapes"}]},"9":{"name":"punctuation.definition.subsection.end.gitconfig"}}},"sectionEscapes":{"patterns":[{"name":"constant.character.escape.backslash.gitconfig","match":"(\\\\)[\\\\\"]","captures":{"1":{"name":"punctuation.definition.escape.backslash.gitconfig"}}},{"name":"constant.character.escape.unknown.gitconfig","match":"\\\\(?=[^\\\\\"])","captures":{"0":{"name":"punctuation.definition.escape.backslash.ignored.gitconfig"}}}]},"urlInnards":{"patterns":[{"name":"string.other.link.gitconfig","begin":"\"","end":"\"|(?=\\s*$)","patterns":[{"include":"#escapes"}],"beginCaptures":{"0":{"name":"string.quoted.string.begin.gitconfig"}},"endCaptures":{"0":{"name":"string.quoted.string.end.gitconfig"}}},{"name":"string.other.link.gitconfig","match":"(?:[^\\s\";#\\\\]|\\\\.)+","captures":{"0":{"patterns":[{"include":"#escapes"}]}}}]},"urlSection":{"name":"meta.url.section.gitconfig","begin":"(?ix)\n(?:^|\\G) \\s*\n(\\[) #1\n\\s*\n(url|https?|core\\.(?:git)?proxy) #2\n(?:\n\t\\s*\n\t(\") #3\n\t( #4\n\t\t(?: [^\\\\\"]\n\t\t| \\\\.\n\t\t)*+\n\t)\n\t(\") #5\n)?+\n\\s* (\\]) #6","end":"(?!\\G)(?=^\\s*\\[)","patterns":[{"include":"#comments"},{"include":"#variables"}],"beginCaptures":{"0":{"name":"meta.section.header.gitconfig"},"1":{"name":"punctuation.definition.bracket.square.begin.gitconfig"},"2":{"name":"entity.section.name.gitconfig"},"3":{"name":"punctuation.definition.subsection.begin.gitconfig"},"4":{"name":"string.other.link.gitconfig","patterns":[{"include":"#sectionEscapes"}]},"5":{"name":"punctuation.definition.subsection.end.gitconfig"},"6":{"name":"punctuation.definition.bracket.square.end.gitconfig"}}},"variableInnards":{"patterns":[{"name":"constant.logical.boolean.$1.gitconfig","match":"(?i)\\b(true|false|on|off|1|0|yes|no)\\b"},{"name":"constant.numeric.decimal.integer.int.gitconfig","match":"[-+]?[0-9]+(?=$|[\\s#;])"},{"name":"constant.numeric.decimal.float.gitconfig","match":"[-+]?(?:[0-9]+\\.[0-9]*|\\.[0-9]+)(?=$|\\s#;)"},{"name":"string.quoted.double.argument.gitconfig","match":"(\")((?:[^\\\\\"]|\\\\.)*?)(?\u003c!\\\\)(?=\\s*$)","captures":{"0":{"name":"invalid.illegal.syntax.unclosed-string.gitconfig"},"1":{"name":"punctuation.definition.string.begin.gitconfig"},"2":{"patterns":[{"include":"#escapes"}]}}},{"name":"string.quoted.double.argument.gitconfig","begin":"\"","end":"\"|(?\u003c!\\\\)(?=\\s*$)","patterns":[{"include":"#escapes"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.gitconfig"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.gitconfig"}}},{"name":"string.unquoted.argument.gitconfig","match":"(?:[^\\\\\\s\";#]|\\\\.)+","captures":{"0":{"patterns":[{"include":"#escapes"}]}}},{"include":"#escapedNewline"}]},"variables":{"patterns":[{"name":"meta.variable-field.gitconfig","begin":"(?i)\\b(signingkey)\\s*(=)","end":"(?=\\s*(?:$|#|;))","patterns":[{"name":"constant.other.signing-key.hex.gitconfig","match":"\\w+"},{"include":"#variableInnards"}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}},{"name":"meta.variable-field.gitconfig","begin":"(?i)\\b(email|url)\\s*(=)","end":"(?=\\s*(?:$|#|;))","patterns":[{"include":"#urlInnards"}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}},{"name":"meta.variable-field.gitconfig","begin":"([0-9A-Za-z][-0-9A-Za-z]*)\\s*(=)","end":"(?=\\s*(?:$|#|;))","patterns":[{"include":"#variableInnards"}],"beginCaptures":{"1":{"name":"variable.parameter.assignment.gitconfig"},"2":{"name":"keyword.operator.assignment.key-value.gitconfig"}}}]}},"injections":{"L:meta.alias.gitconfig source.embedded.shell, L:meta.command.gitconfig - string.quoted":{"patterns":[{"include":"#escapedNewline"}]},"L:meta.bug-matcher.gitconfig string.regexp":{"patterns":[{"name":"punctuation.definition.escape.backslash.gitconfig","match":"\\\\(?=\\\\)","captures":{"0":{"name":"sublimelinter.gutter-mark"}}}]},"L:string.quoted.double.gitconfig source.embedded.shell - string.quoted.*.shell":{"patterns":[{"name":"comment.line.number-sign.shell","begin":"\\s*(?\u003c![^\\s;\\\\|\\(\u0026])(#)","end":"(?=\")","beginCaptures":{"1":{"name":"punctuation.definition.comment.shell"}}}]}}}