github-linguist 9.0.0 → 9.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (126) hide show
  1. checksums.yaml +4 -4
  2. data/bin/github-linguist +3 -3
  3. data/grammars/etc.json +1 -1
  4. data/grammars/inline.edgeql.json +1 -1
  5. data/grammars/liquid.injection.json +1 -1
  6. data/grammars/source.4dm.json +1 -1
  7. data/grammars/source.QB64.json +1 -1
  8. data/grammars/source.abap.json +1 -1
  9. data/grammars/source.abl.json +1 -1
  10. data/grammars/source.aiken.json +1 -0
  11. data/grammars/source.answersetprogramming.json +1 -0
  12. data/grammars/source.apacheconf.json +1 -0
  13. data/grammars/source.apex.json +1 -1
  14. data/grammars/source.assembly.json +1 -1
  15. data/grammars/source.ats.json +1 -1
  16. data/grammars/source.ballerina.json +1 -1
  17. data/grammars/source.brs.json +1 -1
  18. data/grammars/source.bst.json +1 -0
  19. data/grammars/source.c++.json +1 -1
  20. data/grammars/source.c.calendar.json +1 -0
  21. data/grammars/source.c.json +1 -1
  22. data/grammars/source.c.linker.json +1 -0
  23. data/grammars/source.cairo0.json +1 -1
  24. data/grammars/source.cl.json +1 -1
  25. data/grammars/source.clue.json +1 -0
  26. data/grammars/source.cmake.json +1 -1
  27. data/grammars/source.cmakecache.json +1 -1
  28. data/grammars/source.cobol.json +1 -1
  29. data/grammars/source.cs.json +1 -1
  30. data/grammars/source.curlrc.json +1 -1
  31. data/grammars/source.curry.json +1 -1
  32. data/grammars/source.daslang.json +1 -0
  33. data/grammars/source.dds.dspf.json +1 -1
  34. data/grammars/source.erlang.json +1 -1
  35. data/grammars/source.gdscript.json +1 -1
  36. data/grammars/source.git-revlist.json +1 -1
  37. data/grammars/source.gleam.json +1 -1
  38. data/grammars/source.hack.json +1 -1
  39. data/grammars/source.hcl.json +1 -1
  40. data/grammars/source.hx.json +1 -1
  41. data/grammars/source.ice.json +1 -1
  42. data/grammars/source.ilecobol.json +1 -0
  43. data/grammars/source.ispc.json +1 -0
  44. data/grammars/source.jai.json +1 -0
  45. data/grammars/source.json.comments.json +1 -0
  46. data/grammars/source.julia.console.json +1 -1
  47. data/grammars/source.julia.json +1 -1
  48. data/grammars/source.just.json +1 -1
  49. data/grammars/source.kdl.json +1 -0
  50. data/grammars/source.koka.json +1 -0
  51. data/grammars/source.lean.markdown.json +1 -1
  52. data/grammars/source.lean4.markdown.json +1 -1
  53. data/grammars/source.leo.json +1 -0
  54. data/grammars/source.livescript.json +1 -1
  55. data/grammars/source.m2.json +1 -1
  56. data/grammars/source.m3u.json +1 -0
  57. data/grammars/source.matlab.json +1 -1
  58. data/grammars/source.mo.json +1 -1
  59. data/grammars/source.moonbit.json +1 -1
  60. data/grammars/source.mzn.json +1 -0
  61. data/grammars/source.nasl.json +1 -1
  62. data/grammars/source.nim.json +1 -1
  63. data/grammars/source.nr.json +1 -1
  64. data/grammars/source.nushell.json +1 -1
  65. data/grammars/source.objc.json +1 -1
  66. data/grammars/source.odin.json +1 -1
  67. data/grammars/source.openesql.json +1 -1
  68. data/grammars/source.openqasm.json +1 -0
  69. data/grammars/source.overpassql.json +1 -0
  70. data/grammars/source.polar.json +1 -1
  71. data/grammars/source.prisma.json +1 -1
  72. data/grammars/source.purescript.json +1 -1
  73. data/grammars/source.ql.json +1 -1
  74. data/grammars/source.qsharp.json +1 -1
  75. data/grammars/source.rescript.json +1 -1
  76. data/grammars/source.roc.json +1 -1
  77. data/grammars/source.rpgle.json +1 -1
  78. data/grammars/source.rust.json +1 -1
  79. data/grammars/source.sail.json +1 -0
  80. data/grammars/source.scala.json +1 -1
  81. data/grammars/source.scm.json +1 -0
  82. data/grammars/source.slang.json +1 -0
  83. data/grammars/source.slice.json +1 -1
  84. data/grammars/source.slint.json +1 -1
  85. data/grammars/source.smithy.json +1 -1
  86. data/grammars/source.soql.json +1 -1
  87. data/grammars/source.sourcepawn.json +1 -1
  88. data/grammars/source.stan.json +1 -1
  89. data/grammars/source.sway.json +1 -1
  90. data/grammars/source.swift.json +1 -1
  91. data/grammars/source.tact.json +1 -1
  92. data/grammars/source.talon.json +1 -1
  93. data/grammars/source.templ.json +1 -1
  94. data/grammars/source.textgrid.json +1 -1
  95. data/grammars/source.toc.json +1 -1
  96. data/grammars/source.torrc.json +1 -0
  97. data/grammars/source.ts.prismaClientRawSQL.json +1 -1
  98. data/grammars/source.tsp.json +1 -1
  99. data/grammars/source.typst.json +1 -1
  100. data/grammars/source.uplc.json +1 -0
  101. data/grammars/source.vba.json +1 -1
  102. data/grammars/source.vento.json +1 -0
  103. data/grammars/source.vue.json +1 -1
  104. data/grammars/source.wdl.json +1 -1
  105. data/grammars/source.wit.json +1 -1
  106. data/grammars/source.xmake.json +1 -0
  107. data/grammars/source.zmodel.json +1 -0
  108. data/grammars/text.adblock.json +1 -1
  109. data/grammars/text.html.liquid.json +1 -1
  110. data/grammars/text.html.markdown.d2.json +1 -1
  111. data/grammars/text.html.vento.json +1 -0
  112. data/grammars/text.rtf.json +1 -1
  113. data/grammars/text.valve-cfg.json +1 -1
  114. data/grammars/version +1 -1
  115. data/lib/linguist/VERSION +1 -1
  116. data/lib/linguist/generated.rb +24 -2
  117. data/lib/linguist/heuristics.yml +65 -18
  118. data/lib/linguist/languages.json +1 -1
  119. data/lib/linguist/languages.yml +298 -33
  120. data/lib/linguist/samples.json +1 -1
  121. data/lib/linguist/shebang.rb +1 -1
  122. metadata +34 -14
  123. data/grammars/source.apache-config.json +0 -1
  124. data/grammars/source.apache-config.mod_perl.json +0 -1
  125. data/grammars/source.c.platform.json +0 -1
  126. data/grammars/text.html.erlang.yaws.json +0 -1
@@ -1 +1 @@
1
- {"name":".curlrc","scopeName":"source.curlrc","patterns":[{"include":"#main"}],"repository":{"auth":{"patterns":[{"match":"([^\\s:;]+)(:)([^\\s=:;]*)","captures":{"1":{"name":"constant.other.auth-info.curlrc"},"2":{"patterns":[{"include":"etc#kolon"}]},"3":{"name":"constant.other.auth-info.curlrc"}}},{"match":"(:)([^\\s:;]*)","captures":{"1":{"patterns":[{"include":"etc#kolon"}]},"2":{"name":"constant.other.auth-info.curlrc"}}}]},"authProtocol":{"match":"(?:\\G|^)([^\\\\:\\s/]*)(://|:)","captures":{"1":{"name":"entity.other.protocol.curlrc"},"2":{"name":"keyword.operator.protocol.separator.curlrc"}}},"autoRefer":{"match":"(;)(auto)\\b","captures":{"1":{"name":"punctuation.separator.key-value.semicolon.curlrc"},"2":{"name":"variable.assignment.parameter.name.curlrc"}}},"comment":{"name":"comment.line.number-sign.curlrc","begin":"(?:^|(?\u003c=[ \\t\\xA0\"]))#","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.curlrc"}}},"header":{"match":"(?:\\G|^)\\s*([-A-Za-z0-9]+)\\s*(?:(:)\\s*(.*)|(;))","captures":{"1":{"name":"entity.name.header.curlrc"},"2":{"patterns":[{"include":"etc#kolon"}]},"3":{"name":"string.unquoted.header-value.curlrc"},"4":{"name":"punctuation.terminator.statement.semicolon.curlrc"}}},"longOptions":{"patterns":[{"name":"meta.option.long.curlrc","match":"(?x)\n(?:\\G|^|(?\u003c=[ \\t])) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_no_parameter\u003e\n\t\tanyauth\n\t|\tappend\n\t|\tbasic\n\t|\tca-native\n\t|\tcert-status\n\t|\tcompressed-ssh\n\t|\tcompressed\n\t|\tcreate-dirs\n\t|\tcrlf\n\t|\tdigest\n\t|\tdisable-eprt\n\t|\tdisable-epsv\n\t|\tdisable\n\t|\tdisallow-username-in-url\n\t|\tdoh-cert-status\n\t|\tdoh-insecure\n\t|\tdump-ca-embed\n\t|\tfail-early\n\t|\tfail-with-body\n\t|\tfail\n\t|\tfalse-start\n\t|\tform-escape\n\t|\tftp-create-dirs\n\t|\tftp-pasv\n\t|\tftp-pret\n\t|\tftp-skip-pasv-ip\n\t|\tftp-ssl-ccc\n\t|\tftp-ssl-control\n\t|\tget\n\t|\tgloboff\n\t|\thaproxy-protocol\n\t|\thead\n\t|\thttp0.9\n\t|\thttp1.0\n\t|\thttp1.1\n\t|\thttp2-prior-knowledge\n\t|\thttp2\n\t|\thttp3-only\n\t|\thttp3\n\t|\tignore-content-length\n\t|\tinclude\n\t|\tinsecure\n\t|\tipv4\n\t|\tipv6\n\t|\tjunk-session-cookies\n\t|\tlist-only\n\t|\tlocation-trusted\n\t|\tlocation\n\t|\tmail-rcpt-allowfails\n\t|\tmanual\n\t|\tmetalink\n\t|\tnegotiate\n\t|\tnetrc-optional\n\t|\tnetrc\n\t|\tnext\n\t|\tno-alpn\n\t|\tno-buffer\n\t|\tno-clobber\n\t|\tno-keepalive\n\t|\tno-npn\n\t|\tno-progress-meter\n\t|\tno-sessionid\n\t|\tmptcp\n\t|\tntlm-wb\n\t|\tntlm\n\t|\tparallel-immediate\n\t|\tparallel\n\t|\tpath-as-is\n\t|\tpost301\n\t|\tpost302\n\t|\tpost303\n\t|\tprogress-bar\n\t|\tproxy-anyauth\n\t|\tproxy-basic\n\t|\tproxy-ca-native\n\t|\tproxy-digest\n\t|\tproxy-http2\n\t|\tproxy-insecure\n\t|\tproxy-negotiate\n\t|\tproxy-ntlm\n\t|\tproxy-ssl-allow-beast\n\t|\tproxy-ssl-auto-client-cert\n\t|\tproxy-tlsv1\n\t|\tproxytunnel\n\t|\traw\n\t|\tremote-header-name\n\t|\tremote-name-all\n\t|\tremote-name\n\t|\tremote-time\n\t|\tremove-on-error\n\t|\tretry-all-errors\n\t|\tretry-connrefused\n\t|\tsasl-ir\n\t|\tshow-error\n\t|\tshow-headers\n\t|\tsilent\n\t|\tskip-existing\n\t|\tsocks5-basic\n\t|\tsocks5-gssapi-nec\n\t|\tsocks5-gssapi\n\t|\tssl-allow-beast\n\t|\tssl-auto-client-cert\n\t|\tssl-no-revoke\n\t|\tssl-reqd\n\t|\tssl-revoke-best-effort\n\t|\tsslv2\n\t|\tsslv3\n\t|\tssl\n\t|\tstyled-output\n\t|\tsuppress-connect-headers\n\t|\ttcp-fastopen\n\t|\ttcp-nodelay\n\t|\ttftp-no-options\n\t|\ttlsv1.0\n\t|\ttlsv1.1\n\t|\ttlsv1.2\n\t|\ttlsv1.3\n\t|\ttlsv1\n\t|\ttr-encoding\n\t|\ttrace-ids\n\t|\ttrace-time\n\t|\tuse-ascii\n\t|\tverbose\n\t|\tversion\n\t|\txattr\n\t)\n)\n(?=\\s|$)","captures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:]) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_urls\u003e\n\t\tdns-ipv4-addr\n\t|\tdns-ipv6-addr\n\t|\tdns-servers\n\t|\tdoh-url\n\t|\thaproxy-clientip\n\t|\tipfs-gateway\n\t|\tmail-auth\n\t|\tmail-from\n\t|\tmail-rcpt\n\t|\tnoproxy\n\t|\treferer\n\t|\turl\n\t)\n)\n(?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|(?=$)))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"patterns":[{"include":"#url"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"name":"string.unquoted.curlrc","patterns":[{"include":"#url"}]}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:]) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_headers\u003e\n\t\theader\n\t|\tproxy-header\n\t)\n)\n(?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|(?=$)))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"patterns":[{"include":"#header"},{"include":"etc#bareword"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"patterns":[{"include":"#header"},{"include":"etc#bareword"}]}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:]) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_form_data\u003e\n\t\tcookie\n\t|\tform-string\n\t|\tform\n\t|\ttelnet-option\n\t|\tvariable\n\t)\n)\n(?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|(?=$)))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"patterns":[{"include":"#params"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"patterns":[{"include":"#params"}]}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:]) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_protocols\u003e\n\t\tproto-default\n\t|\tproto-redir\n\t|\tproto\n\t)\n) (?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|$))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"patterns":[{"include":"#protocols"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"patterns":[{"include":"#protocols"}]}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:]) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_port\u003e\n\t\tftp-port\n\t)\n) (?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|$))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"name":"constant.other.port-address.curlrc","patterns":[{"include":"etc#esc"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"name":"constant.other.port-address.curlrc"}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:]) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_md5\u003e\n\t\thostpubmd5\n\t)\n) (?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|$))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"name":"constant.other.md5.checksum.curlrc","patterns":[{"include":"etc#esc"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"name":"constant.other.md5.checksum.curlrc"}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:]) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_range\u003e\n\t\tlocal-port\n\t|\trange\n\t)\n) (?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|$))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"patterns":[{"include":"#range"},{"include":"etc#esc"},{"include":"etc#bareword"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"patterns":[{"include":"#range"},{"include":"etc#bareword"}]}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:](?=\\s)) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_kv_colon\u003e\n\t\taws-sigv4\n\t|\tcert\n\t|\tconnect-to\n\t|\tpreproxy\n\t|\tproxy-cert\n\t|\tproxy-user\n\t|\tproxy1.0\n\t|\tproxy\n\t|\tresolve\n\t|\tsocks4a\n\t|\tsocks4\n\t|\tsocks5-hostname\n\t|\tsocks5\n\t|\tuser\n\t)\n)\n(?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|$))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"patterns":[{"include":"#auth"},{"include":"etc#bareword"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"patterns":[{"include":"#auth"},{"include":"etc#bareword"}]}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:](?=\\s)) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_string\u003e\n\t\tabstract-unix-socket\n\t|\talt-svc\n\t|\tcacert\n\t|\tcapath\n\t|\tcert-type\n\t|\tciphers\n\t|\tconfig\n\t|\tcookie-jar\n\t|\tcrlfile\n\t|\tcurves\n\t|\tdata-ascii\n\t|\tdata-binary\n\t|\tdata-raw\n\t|\tdata-urlencode\n\t|\tdata\n\t|\tdelegation\n\t|\tdns-interface\n\t|\tdump-header\n\t|\tech\n\t|\tegd-file\n\t|\tengine\n\t|\tetag-compare\n\t|\tetag-save\n\t|\tftp-account\n\t|\tftp-alternative-to-user\n\t|\tftp-method\n\t|\tftp-ssl-ccc-mode\n\t|\thappy-eyeballs-timeout-ms\n\t|\thelp\n\t|\thostpubsha256\n\t|\thsts\n\t|\tinterface\n\t|\tjson\n\t|\tkey-type\n\t|\tkey\n\t|\tkrb\n\t|\tlibcurl\n\t|\tlogin-options\n\t|\tnetrc-file\n\t|\toauth2-bearer\n\t|\toutput-dir\n\t|\toutput\n\t|\tpass\n\t|\tpinnedpubkey\n\t|\tproxy-cacert\n\t|\tproxy-capath\n\t|\tproxy-cert-type\n\t|\tproxy-ciphers\n\t|\tproxy-crlfile\n\t|\tproxy-key-type\n\t|\tproxy-key\n\t|\tproxy-pass\n\t|\tproxy-pinnedpubkey\n\t|\tproxy-service-name\n\t|\tproxy-tls13-ciphers\n\t|\tproxy-tlsauthtype\n\t|\tproxy-tlspassword\n\t|\tproxy-tlsuser\n\t|\tpubkey\n\t|\tquote\n\t|\trandom-file\n\t|\trequest-target\n\t|\trequest\n\t|\tsasl-authzid\n\t|\tservice-name\n\t|\tsocks5-gssapi-service\n\t|\tstderr\n\t|\ttls-max\n\t|\ttls13-ciphers\n\t|\ttlsauthtype\n\t|\ttlspassword\n\t|\ttlsuser\n\t|\ttrace-ascii\n\t|\ttrace-config\n\t|\ttrace\n\t|\tunix-socket\n\t|\tupload-file\n\t|\turl-query\n\t|\tuser-agent\n\t|\twrite-out\n\t)\n)\n(?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:(=)?|(?:([-A-Za-z0-9%_]+)(=)?)?([@\u003c]))?(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|$))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"keyword.operator.encoding-modifier.curlrc"},"2":{"name":"entity.name.form-field.curlrc"},"3":{"patterns":[{"include":"etc#eql"}]},"4":{"name":"keyword.operator.source-modifier.curlrc"},"5":{"name":"string.quoted.double.curlrc"},"6":{"name":"punctuation.definition.string.begin.curlrc"},"7":{"patterns":[{"include":"etc#esc"}]},"8":{"name":"punctuation.definition.string.end.curlrc"},"9":{"name":"string.unquoted.curlrc"}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:])\n\\s*\n(\n\t(--)?\n\t(?\u003coptlist_numeric\u003e\n\t\tconnect-timeout\n\t|\tcontinue-at\n\t|\tcreate-file-mode\n\t|\texpect100-timeout\n\t|\tip-tos\n\t|\tkeepalive-cnt\n\t|\tkeepalive-time\n\t|\tlimit-rate\n\t|\tmax-filesize\n\t|\tmax-redirs\n\t|\tmax-time\n\t|\tparallel-max\n\t|\trate\n\t|\tretry-delay\n\t|\tretry-max-time\n\t|\tretry\n\t|\tspeed-limit\n\t|\tspeed-time\n\t|\ttftp-blksize\n\t|\ttime-cond\n\t|\tvlan-priority\n\t)\n) (?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|$))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"patterns":[{"include":"etc#num"},{"include":"etc#bareword"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"patterns":[{"include":"etc#num"},{"include":"etc#bareword"}]}}}]},"main":{"patterns":[{"include":"#comment"},{"include":"#shortOptions"},{"include":"#longOptions"}]},"params":{"patterns":[{"include":"#autoRefer"},{"name":"keyword.operator.encoding-modifier.curlrc","match":"(?:\\G|^|(?\u003c=\\G\"|^\"))="},{"match":"(?:\\G|^|(?\u003c=\\G\"|^\"))(;)([^\\s=;\"]+(?=\"?(?:\\s|$)))?","captures":{"1":{"name":"punctuation.separator.key-value.semicolon.curlrc"},"2":{"name":"variable.assignment.parameter.name.curlrc"}}},{"match":"(?:\\G|^|(?\u003c=\\G\"|^\"))(?:([-A-Za-z0-9%_]+)(=)?)?([@\u003c])","captures":{"1":{"name":"entity.name.form-field.curlrc"},"2":{"patterns":[{"include":"etc#eql"}]},"3":{"name":"keyword.operator.source-modifier.curlrc"}}},{"name":"meta.parameter.curlrc","match":"([^\\s=;]+)(=)([^\\s=;]*)(;)?","captures":{"1":{"name":"variable.assignment.parameter.name.curlrc"},"2":{"patterns":[{"include":"etc#eql"}]},"3":{"name":"constant.other.parameter.value.curlrc"},"4":{"name":"punctuation.separator.key-value.semicolon.curlrc"}}},{"match":"(?\u003c=@)(\"(?:[^\\\\\"]|\\\\.)++\"|(?:[^\"\\s;\\\\]|\\\\.)++)(?:(;)|(?=$|\\s))","captures":{"1":{"name":"variable.assignment.parameter.name.curlrc","patterns":[{"include":"etc#esc"}]},"2":{"name":"punctuation.separator.key-value.semicolon.curlrc"}}},{"include":"etc#esc"},{"include":"etc#bareword"}]},"protocols":{"patterns":[{"name":"constant.other.protocol-name.curlrc","match":"[^\\s,+=-]+"},{"name":"keyword.control.permit-protocol.curlrc","match":"\\+"},{"name":"keyword.control.deny-protocol.curlrc","match":"-"},{"name":"keyword.control.permit-protocol.only.curlrc","match":"="},{"include":"etc#comma"}]},"range":{"patterns":[{"name":"meta.byte-range.curlrc","match":"([0-9]+)(-)([0-9]+)?|(-)([0-9]+)","captures":{"1":{"name":"constant.numeric.integer.int.decimal.dec.range.start.curlrc"},"2":{"name":"punctuation.separator.range.dash.curlrc"},"3":{"name":"constant.numeric.integer.int.decimal.dec.range.end.curlrc"},"4":{"name":"punctuation.separator.range.dash.curlrc"},"5":{"name":"constant.numeric.integer.int.decimal.dec.range.end.curlrc"}}},{"include":"etc#comma"},{"include":"etc#int"}]},"separators":{"patterns":[{"include":"etc#eql"},{"include":"etc#kolon"}]},"shortOptions":{"patterns":[{"name":"meta.option.short.curlrc","begin":"^\\s*((-)[:#012346BGIJLMNOQRSVafghijklnpqsv]*[ACDEFHKPQTUXYbcdehmortuwxyz])","end":"(?x)\n$\n|\n\n# Numbers\n(?\u003c=(?#optlist_numeric)[CYmyz])\n\\G (?:(?! )\\s)*\n([-+]?[0-9.]+)\n\n|\n\n# Byte range\n(?\u003c=(?#optlist_range)r)\n\\G (?:(?! )\\s)*\n([-0-9,]+)\n\n|\n\n# “key=value” pairs\n(?\u003c=(?#optlist_form_data)[Fbt])\n\\G (?:(?! )\\s)*\n(?:\n\t((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|$))\n\t|\n\t([\\S ]+)\n)\n\n|\n\n# “key:value” pairs\n(?\u003c=(?#optlist_kv_colon)[EUux])\n\\G (?:(?! )\\s)*\n((?:[^\\\\:\\s/]| )*://)?\n(\n\t(?:[^\\\\:\\s]|\\\\.| )+\n\t(?::(?:[^\\\\:\\s]|\\\\.| )+)*\n\t:?\n)\n\n|\n\n# Headers\n(?\u003c=(?#optlist_headers)H)\n\\G (?:(?! )\\s)*\n(?:\n\t((\")((?:[^\"\\\\]|\\\\.| )*)(?:(\")|$))\n\t|\n\t([\\S ]+)\n)\n\n|\n\n# URLs\n(?\u003c=(?#optlist_urls)e)\n\\G (?:(?! )\\s)*\n(?:\n\t((\")((?:[^\"\\\\]|\\\\.| )*)(?:(\")|$))\n\t|\n\t([\\S ]+)\n)\n\n|\n\n# Port address\n(?\u003c=(?#optlist_port)P)\n\\G (?:(?! )\\s)*\n(?:\n\t((\")((?:[^\"\\\\]|\\\\.| )*)(?:(\")|$))\n\t|\n\t([\\S ]+)\n)\n\n|\n\n# Anything else\n(?:\n\t((\")((?:[^\"\\\\]|\\\\.| )*)(?:(\")|$))\n\t|\n\t([\\S ]+)\n)","beginCaptures":{"1":{"name":"entity.short.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.short.option.curlrc"}},"endCaptures":{"1":{"patterns":[{"include":"etc#num"}]},"10":{"name":"meta.http-headers.curlrc"},"11":{"name":"punctuation.definition.string.begin.curlrc"},"12":{"patterns":[{"include":"#header"}]},"13":{"name":"punctuation.definition.string.end.curlrc"},"14":{"patterns":[{"include":"#header"}]},"15":{"name":"meta.url-string.curlrc"},"16":{"name":"punctuation.definition.string.begin.curlrc"},"17":{"patterns":[{"include":"#url"}]},"18":{"name":"punctuation.definition.string.end.curlrc"},"19":{"patterns":[{"include":"#url"}]},"2":{"patterns":[{"include":"#range"}]},"20":{"name":"string.quoted.double.curlrc"},"21":{"name":"punctuation.definition.string.begin.curlrc"},"22":{"name":"constant.other.port-address.curlrc","patterns":[{"include":"etc#esc"}]},"23":{"name":"punctuation.definition.string.end.curlrc"},"24":{"name":"constant.other.port-address.curlrc"},"25":{"name":"string.quoted.double.curlrc"},"26":{"name":"punctuation.definition.string.begin.curlrc"},"27":{"patterns":[{"include":"etc#esc"}]},"28":{"name":"punctuation.definition.string.end.curlrc"},"29":{"name":"string.unquoted.curlrc"},"3":{"name":"meta.parameter-string.curlrc"},"4":{"name":"punctuation.definition.string.begin.curlrc"},"5":{"patterns":[{"include":"#params"}]},"6":{"name":"punctuation.definition.string.end.curlrc"},"7":{"patterns":[{"include":"#params"}]},"8":{"patterns":[{"include":"#authProtocol"}]},"9":{"patterns":[{"include":"#auth"}]}}},{"name":"meta.option.short.curlrc","match":"^\\s*((-)(?#optlist_no_parameter)[#012346:BGIJLMNORSVZafgijklnpqsv]+)","captures":{"1":{"name":"entity.short.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.short.option.curlrc"}}}]},"string":{"name":"string.quoted.double.curlrc","begin":"\"","end":"\"|(?=$)","patterns":[{"name":"constant.character.escape.backslash.curlrc","match":"(\\\\)[\\\\\"tnrv]","captures":{"1":{"name":"punctuation.definition.escape.backslash.curlrc"}}}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.curlrc"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.curlrc"}}},"url":{"patterns":[{"include":"#autoRefer"},{"include":"etc#comma"},{"match":"(?\u003c=\\G\"|^\")((?:[^\"\\\\]|\\\\.)*)(?=$|\"|;)|(?:\\G(?\u003c!\")|^)([^\\s,]+?)(?=$|\\s|;|,)","captures":{"1":{"patterns":[{"include":"etc#url"},{"include":"#urlNoSchema"}]},"2":{"patterns":[{"include":"etc#url"},{"include":"#urlNoSchema"}]}}},{"include":"#params"},{"include":"etc#bareword"}]},"urlNoSchema":{"match":"(?:\\G|^)\\s*([-a-zA-Z0-9]+(?:\\.|@)[-a-zA-Z0-9]+.*)\\s*","captures":{"1":{"name":"constant.other.reference.link.underline.url.curlrc"}}}}}
1
+ {"name":".curlrc","scopeName":"source.curlrc","patterns":[{"include":"#main"}],"repository":{"auth":{"patterns":[{"match":"([^\\s:;]+)(:)([^\\s=:;]*)","captures":{"1":{"name":"constant.other.auth-info.curlrc"},"2":{"patterns":[{"include":"etc#kolon"}]},"3":{"name":"constant.other.auth-info.curlrc"}}},{"match":"(:)([^\\s:;]*)","captures":{"1":{"patterns":[{"include":"etc#kolon"}]},"2":{"name":"constant.other.auth-info.curlrc"}}}]},"authProtocol":{"match":"(?:\\G|^)([^\\\\:\\s/]*)(://|:)","captures":{"1":{"name":"entity.other.protocol.curlrc"},"2":{"name":"keyword.operator.protocol.separator.curlrc"}}},"autoRefer":{"match":"(;)(auto)\\b","captures":{"1":{"name":"punctuation.separator.key-value.semicolon.curlrc"},"2":{"name":"variable.assignment.parameter.name.curlrc"}}},"comment":{"name":"comment.line.number-sign.curlrc","begin":"(?:^|(?\u003c=[ \\t\\xA0\"]))#","end":"$","beginCaptures":{"0":{"name":"punctuation.definition.comment.curlrc"}}},"header":{"match":"(?:\\G|^)\\s*([-A-Za-z0-9]+)\\s*(?:(:)\\s*(.*)|(;))","captures":{"1":{"name":"entity.name.header.curlrc"},"2":{"patterns":[{"include":"etc#kolon"}]},"3":{"name":"string.unquoted.header-value.curlrc"},"4":{"name":"punctuation.terminator.statement.semicolon.curlrc"}}},"longOptions":{"patterns":[{"name":"meta.option.long.curlrc","match":"(?x)\n(?:\\G|^|(?\u003c=[ \\t])) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_no_parameter\u003e\n\t\tanyauth\n\t|\tappend\n\t|\tbasic\n\t|\tca-native\n\t|\tcert-status\n\t|\tcompressed-ssh\n\t|\tcompressed\n\t|\tcreate-dirs\n\t|\tcrlf\n\t|\tdigest\n\t|\tdisable-eprt\n\t|\tdisable-epsv\n\t|\tdisable\n\t|\tdisallow-username-in-url\n\t|\tdoh-cert-status\n\t|\tdoh-insecure\n\t|\tdump-ca-embed\n\t|\tfail-early\n\t|\tfail-with-body\n\t|\tfail\n\t|\tfalse-start\n\t|\tform-escape\n\t|\tftp-create-dirs\n\t|\tftp-pasv\n\t|\tftp-pret\n\t|\tftp-skip-pasv-ip\n\t|\tftp-ssl-ccc\n\t|\tftp-ssl-control\n\t|\tget\n\t|\tgloboff\n\t|\thaproxy-protocol\n\t|\thead\n\t|\thttp0.9\n\t|\thttp1.0\n\t|\thttp1.1\n\t|\thttp2-prior-knowledge\n\t|\thttp2\n\t|\thttp3-only\n\t|\thttp3\n\t|\tignore-content-length\n\t|\tinclude\n\t|\tinsecure\n\t|\tipv4\n\t|\tipv6\n\t|\tjunk-session-cookies\n\t|\tlist-only\n\t|\tlocation-trusted\n\t|\tlocation\n\t|\tmail-rcpt-allowfails\n\t|\tmanual\n\t|\tmetalink\n\t|\tnegotiate\n\t|\tnetrc-optional\n\t|\tnetrc\n\t|\tnext\n\t|\tno-alpn\n\t|\tno-buffer\n\t|\tno-clobber\n\t|\tno-keepalive\n\t|\tno-npn\n\t|\tno-progress-meter\n\t|\tno-sessionid\n\t|\tmptcp\n\t|\tntlm-wb\n\t|\tntlm\n\t|\tparallel-immediate\n\t|\tparallel\n\t|\tpath-as-is\n\t|\tpost301\n\t|\tpost302\n\t|\tpost303\n\t|\tprogress-bar\n\t|\tproxy-anyauth\n\t|\tproxy-basic\n\t|\tproxy-ca-native\n\t|\tproxy-digest\n\t|\tproxy-http2\n\t|\tproxy-insecure\n\t|\tproxy-negotiate\n\t|\tproxy-ntlm\n\t|\tproxy-ssl-allow-beast\n\t|\tproxy-ssl-auto-client-cert\n\t|\tproxy-tlsv1\n\t|\tproxytunnel\n\t|\traw\n\t|\tremote-header-name\n\t|\tremote-name-all\n\t|\tremote-name\n\t|\tremote-time\n\t|\tremove-on-error\n\t|\tretry-all-errors\n\t|\tretry-connrefused\n\t|\tsasl-ir\n\t|\tshow-error\n\t|\tshow-headers\n\t|\tsilent\n\t|\tskip-existing\n\t|\tsocks5-basic\n\t|\tsocks5-gssapi-nec\n\t|\tsocks5-gssapi\n\t|\tssl-allow-beast\n\t|\tssl-auto-client-cert\n\t|\tssl-no-revoke\n\t|\tssl-reqd\n\t|\tssl-revoke-best-effort\n\t|\tsslv2\n\t|\tsslv3\n\t|\tssl\n\t|\tstyled-output\n\t|\tsuppress-connect-headers\n\t|\ttcp-fastopen\n\t|\ttcp-nodelay\n\t|\ttftp-no-options\n\t|\ttlsv1.0\n\t|\ttlsv1.1\n\t|\ttlsv1.2\n\t|\ttlsv1.3\n\t|\ttlsv1\n\t|\ttls-earlydata\n\t|\ttr-encoding\n\t|\ttrace-ids\n\t|\ttrace-time\n\t|\tuse-ascii\n\t|\tverbose\n\t|\tversion\n\t|\txattr\n\t)\n)\n(?=\\s|$)","captures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:]) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_urls\u003e\n\t\tdns-ipv4-addr\n\t|\tdns-ipv6-addr\n\t|\tdns-servers\n\t|\tdoh-url\n\t|\thaproxy-clientip\n\t|\tipfs-gateway\n\t|\tmail-auth\n\t|\tmail-from\n\t|\tmail-rcpt\n\t|\tnoproxy\n\t|\treferer\n\t|\turl\n\t)\n)\n(?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|(?=$)))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"patterns":[{"include":"#url"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"name":"string.unquoted.curlrc","patterns":[{"include":"#url"}]}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:]) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_headers\u003e\n\t\theader\n\t|\tproxy-header\n\t)\n)\n(?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|(?=$)))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"patterns":[{"include":"#header"},{"include":"etc#bareword"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"patterns":[{"include":"#header"},{"include":"etc#bareword"}]}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:]) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_form_data\u003e\n\t\tcookie\n\t|\tform-string\n\t|\tform\n\t|\ttelnet-option\n\t|\tvariable\n\t)\n)\n(?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|(?=$)))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"patterns":[{"include":"#params"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"patterns":[{"include":"#params"}]}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:]) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_protocols\u003e\n\t\tproto-default\n\t|\tproto-redir\n\t|\tproto\n\t)\n) (?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|$))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"patterns":[{"include":"#protocols"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"patterns":[{"include":"#protocols"}]}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:]) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_port\u003e\n\t\tftp-port\n\t)\n) (?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|$))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"name":"constant.other.port-address.curlrc","patterns":[{"include":"etc#esc"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"name":"constant.other.port-address.curlrc"}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:]) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_md5\u003e\n\t\thostpubmd5\n\t)\n) (?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|$))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"name":"constant.other.md5.checksum.curlrc","patterns":[{"include":"etc#esc"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"name":"constant.other.md5.checksum.curlrc"}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:]) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_range\u003e\n\t\tlocal-port\n\t|\trange\n\t)\n) (?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|$))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"patterns":[{"include":"#range"},{"include":"etc#esc"},{"include":"etc#bareword"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"patterns":[{"include":"#range"},{"include":"etc#bareword"}]}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:](?=\\s)) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_kv_colon\u003e\n\t\taws-sigv4\n\t|\tcert\n\t|\tconnect-to\n\t|\tpreproxy\n\t|\tproxy-cert\n\t|\tproxy-user\n\t|\tproxy1.0\n\t|\tproxy\n\t|\tresolve\n\t|\tsocks4a\n\t|\tsocks4\n\t|\tsocks5-hostname\n\t|\tsocks5\n\t|\tuser\n\t)\n)\n(?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|$))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"patterns":[{"include":"#auth"},{"include":"etc#bareword"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"patterns":[{"include":"#auth"},{"include":"etc#bareword"}]}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:](?=\\s)) \\s*\n(\n\t(--)?\n\t(?\u003coptlist_string\u003e\n\t\tabstract-unix-socket\n\t|\talt-svc\n\t|\tcacert\n\t|\tcapath\n\t|\tcert-type\n\t|\tciphers\n\t|\tconfig\n\t|\tcookie-jar\n\t|\tcrlfile\n\t|\tcurves\n\t|\tdata-ascii\n\t|\tdata-binary\n\t|\tdata-raw\n\t|\tdata-urlencode\n\t|\tdata\n\t|\tdelegation\n\t|\tdns-interface\n\t|\tdump-header\n\t|\tech\n\t|\tegd-file\n\t|\tengine\n\t|\tetag-compare\n\t|\tetag-save\n\t|\tftp-account\n\t|\tftp-alternative-to-user\n\t|\tftp-method\n\t|\tftp-ssl-ccc-mode\n\t|\thappy-eyeballs-timeout-ms\n\t|\thelp\n\t|\thostpubsha256\n\t|\thsts\n\t|\tinterface\n\t|\tjson\n\t|\tkey-type\n\t|\tkey\n\t|\tkrb\n\t|\tlibcurl\n\t|\tlogin-options\n\t|\tnetrc-file\n\t|\toauth2-bearer\n\t|\toutput-dir\n\t|\toutput\n\t|\tpass\n\t|\tpinnedpubkey\n\t|\tproxy-cacert\n\t|\tproxy-capath\n\t|\tproxy-cert-type\n\t|\tproxy-ciphers\n\t|\tproxy-crlfile\n\t|\tproxy-key-type\n\t|\tproxy-key\n\t|\tproxy-pass\n\t|\tproxy-pinnedpubkey\n\t|\tproxy-service-name\n\t|\tproxy-tls13-ciphers\n\t|\tproxy-tlsauthtype\n\t|\tproxy-tlspassword\n\t|\tproxy-tlsuser\n\t|\tpubkey\n\t|\tquote\n\t|\trandom-file\n\t|\trequest-target\n\t|\trequest\n\t|\tsasl-authzid\n\t|\tservice-name\n\t|\tsocks5-gssapi-service\n\t|\tssl-sessions\n\t|\tstderr\n\t|\ttls-max\n\t|\ttls13-ciphers\n\t|\ttlsauthtype\n\t|\ttlspassword\n\t|\ttlsuser\n\t|\ttrace-ascii\n\t|\ttrace-config\n\t|\ttrace\n\t|\tunix-socket\n\t|\tupload-file\n\t|\tupload-flags\n\t|\turl-query\n\t|\tuser-agent\n\t|\twrite-out\n\t)\n)\n(?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:(=)?|(?:([-A-Za-z0-9%_]+)(=)?)?([@\u003c]))?(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|$))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"keyword.operator.encoding-modifier.curlrc"},"2":{"name":"entity.name.form-field.curlrc"},"3":{"patterns":[{"include":"etc#eql"}]},"4":{"name":"keyword.operator.source-modifier.curlrc"},"5":{"name":"string.quoted.double.curlrc"},"6":{"name":"punctuation.definition.string.begin.curlrc"},"7":{"patterns":[{"include":"etc#esc"}]},"8":{"name":"punctuation.definition.string.end.curlrc"},"9":{"name":"string.unquoted.curlrc"}}},{"name":"meta.option.long.curlrc","begin":"(?x) (?:\\G|^|(?\u003c=[ \\t]))\n(?!\\s*--\\w[-\\w]*\\s*[=:])\n\\s*\n(\n\t(--)?\n\t(?\u003coptlist_numeric\u003e\n\t\tconnect-timeout\n\t|\tcontinue-at\n\t|\tcreate-file-mode\n\t|\texpect100-timeout\n\t|\tip-tos\n\t|\tkeepalive-cnt\n\t|\tkeepalive-time\n\t|\tlimit-rate\n\t|\tmax-filesize\n\t|\tmax-redirs\n\t|\tmax-time\n\t|\tparallel-max\n\t|\trate\n\t|\tretry-delay\n\t|\tretry-max-time\n\t|\tretry\n\t|\tspeed-limit\n\t|\tspeed-time\n\t|\ttftp-blksize\n\t|\ttime-cond\n\t|\tvlan-priority\n\t)\n) (?:\\s*(=|:)|(?=\\s|$))","end":"$|(?:((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|$))|([^\\s]+))","beginCaptures":{"1":{"name":"entity.long.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.long.option.curlrc"},"4":{"patterns":[{"include":"#separators"}]}},"endCaptures":{"1":{"name":"string.quoted.double.curlrc"},"2":{"name":"punctuation.definition.string.begin.curlrc"},"3":{"patterns":[{"include":"etc#num"},{"include":"etc#bareword"}]},"4":{"name":"punctuation.definition.string.end.curlrc"},"5":{"patterns":[{"include":"etc#num"},{"include":"etc#bareword"}]}}}]},"main":{"patterns":[{"include":"#comment"},{"include":"#shortOptions"},{"include":"#longOptions"}]},"params":{"patterns":[{"include":"#autoRefer"},{"name":"keyword.operator.encoding-modifier.curlrc","match":"(?:\\G|^|(?\u003c=\\G\"|^\"))="},{"match":"(?:\\G|^|(?\u003c=\\G\"|^\"))(;)([^\\s=;\"]+(?=\"?(?:\\s|$)))?","captures":{"1":{"name":"punctuation.separator.key-value.semicolon.curlrc"},"2":{"name":"variable.assignment.parameter.name.curlrc"}}},{"match":"(?:\\G|^|(?\u003c=\\G\"|^\"))(?:([-A-Za-z0-9%_]+)(=)?)?([@\u003c])","captures":{"1":{"name":"entity.name.form-field.curlrc"},"2":{"patterns":[{"include":"etc#eql"}]},"3":{"name":"keyword.operator.source-modifier.curlrc"}}},{"name":"meta.parameter.curlrc","match":"([^\\s=;]+)(=)([^\\s=;]*)(;)?","captures":{"1":{"name":"variable.assignment.parameter.name.curlrc"},"2":{"patterns":[{"include":"etc#eql"}]},"3":{"name":"constant.other.parameter.value.curlrc"},"4":{"name":"punctuation.separator.key-value.semicolon.curlrc"}}},{"match":"(?\u003c=@)(\"(?:[^\\\\\"]|\\\\.)++\"|(?:[^\"\\s;\\\\]|\\\\.)++)(?:(;)|(?=$|\\s))","captures":{"1":{"name":"variable.assignment.parameter.name.curlrc","patterns":[{"include":"etc#esc"}]},"2":{"name":"punctuation.separator.key-value.semicolon.curlrc"}}},{"include":"etc#esc"},{"include":"etc#bareword"}]},"protocols":{"patterns":[{"name":"constant.other.protocol-name.curlrc","match":"[^\\s,+=-]+"},{"name":"keyword.control.permit-protocol.curlrc","match":"\\+"},{"name":"keyword.control.deny-protocol.curlrc","match":"-"},{"name":"keyword.control.permit-protocol.only.curlrc","match":"="},{"include":"etc#comma"}]},"range":{"patterns":[{"name":"meta.byte-range.curlrc","match":"([0-9]+)(-)([0-9]+)?|(-)([0-9]+)","captures":{"1":{"name":"constant.numeric.integer.int.decimal.dec.range.start.curlrc"},"2":{"name":"punctuation.separator.range.dash.curlrc"},"3":{"name":"constant.numeric.integer.int.decimal.dec.range.end.curlrc"},"4":{"name":"punctuation.separator.range.dash.curlrc"},"5":{"name":"constant.numeric.integer.int.decimal.dec.range.end.curlrc"}}},{"include":"etc#comma"},{"include":"etc#int"}]},"separators":{"patterns":[{"include":"etc#eql"},{"include":"etc#kolon"}]},"shortOptions":{"patterns":[{"name":"meta.option.short.curlrc","begin":"^\\s*((-)[:#012346BGIJLMNOQRSVafghijklnpqsv]*[ACDEFHKPQTUXYbcdehmortuwxyz])","end":"(?x)\n$\n|\n\n# Numbers\n(?\u003c=(?#optlist_numeric)[CYmyz])\n\\G (?:(?! )\\s)*\n([-+]?[0-9.]+)\n\n|\n\n# Byte range\n(?\u003c=(?#optlist_range)r)\n\\G (?:(?! )\\s)*\n([-0-9,]+)\n\n|\n\n# “key=value” pairs\n(?\u003c=(?#optlist_form_data)[Fbt])\n\\G (?:(?! )\\s)*\n(?:\n\t((\")((?:[^\"\\\\]|\\\\.)*)(?:(\")|$))\n\t|\n\t([\\S ]+)\n)\n\n|\n\n# “key:value” pairs\n(?\u003c=(?#optlist_kv_colon)[EUux])\n\\G (?:(?! )\\s)*\n((?:[^\\\\:\\s/]| )*://)?\n(\n\t(?:[^\\\\:\\s]|\\\\.| )+\n\t(?::(?:[^\\\\:\\s]|\\\\.| )+)*\n\t:?\n)\n\n|\n\n# Headers\n(?\u003c=(?#optlist_headers)H)\n\\G (?:(?! )\\s)*\n(?:\n\t((\")((?:[^\"\\\\]|\\\\.| )*)(?:(\")|$))\n\t|\n\t([\\S ]+)\n)\n\n|\n\n# URLs\n(?\u003c=(?#optlist_urls)e)\n\\G (?:(?! )\\s)*\n(?:\n\t((\")((?:[^\"\\\\]|\\\\.| )*)(?:(\")|$))\n\t|\n\t([\\S ]+)\n)\n\n|\n\n# Port address\n(?\u003c=(?#optlist_port)P)\n\\G (?:(?! )\\s)*\n(?:\n\t((\")((?:[^\"\\\\]|\\\\.| )*)(?:(\")|$))\n\t|\n\t([\\S ]+)\n)\n\n|\n\n# Anything else\n(?:\n\t((\")((?:[^\"\\\\]|\\\\.| )*)(?:(\")|$))\n\t|\n\t([\\S ]+)\n)","beginCaptures":{"1":{"name":"entity.short.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.short.option.curlrc"}},"endCaptures":{"1":{"patterns":[{"include":"etc#num"}]},"10":{"name":"meta.http-headers.curlrc"},"11":{"name":"punctuation.definition.string.begin.curlrc"},"12":{"patterns":[{"include":"#header"}]},"13":{"name":"punctuation.definition.string.end.curlrc"},"14":{"patterns":[{"include":"#header"}]},"15":{"name":"meta.url-string.curlrc"},"16":{"name":"punctuation.definition.string.begin.curlrc"},"17":{"patterns":[{"include":"#url"}]},"18":{"name":"punctuation.definition.string.end.curlrc"},"19":{"patterns":[{"include":"#url"}]},"2":{"patterns":[{"include":"#range"}]},"20":{"name":"string.quoted.double.curlrc"},"21":{"name":"punctuation.definition.string.begin.curlrc"},"22":{"name":"constant.other.port-address.curlrc","patterns":[{"include":"etc#esc"}]},"23":{"name":"punctuation.definition.string.end.curlrc"},"24":{"name":"constant.other.port-address.curlrc"},"25":{"name":"string.quoted.double.curlrc"},"26":{"name":"punctuation.definition.string.begin.curlrc"},"27":{"patterns":[{"include":"etc#esc"}]},"28":{"name":"punctuation.definition.string.end.curlrc"},"29":{"name":"string.unquoted.curlrc"},"3":{"name":"meta.parameter-string.curlrc"},"4":{"name":"punctuation.definition.string.begin.curlrc"},"5":{"patterns":[{"include":"#params"}]},"6":{"name":"punctuation.definition.string.end.curlrc"},"7":{"patterns":[{"include":"#params"}]},"8":{"patterns":[{"include":"#authProtocol"}]},"9":{"patterns":[{"include":"#auth"}]}}},{"name":"meta.option.short.curlrc","match":"^\\s*((-)(?#optlist_no_parameter)[#012346:BGIJLMNORSVZafgijklnpqsv]+)","captures":{"1":{"name":"entity.short.option.name.curlrc"},"2":{"name":"punctuation.definition.dash.short.option.curlrc"}}}]},"string":{"name":"string.quoted.double.curlrc","begin":"\"","end":"\"|(?=$)","patterns":[{"name":"constant.character.escape.backslash.curlrc","match":"(\\\\)[\\\\\"tnrv]","captures":{"1":{"name":"punctuation.definition.escape.backslash.curlrc"}}}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.curlrc"}},"endCaptures":{"0":{"name":"punctuation.definition.string.end.curlrc"}}},"url":{"patterns":[{"include":"#autoRefer"},{"include":"etc#comma"},{"match":"(?\u003c=\\G\"|^\")((?:[^\"\\\\]|\\\\.)*)(?=$|\"|;)|(?:\\G(?\u003c!\")|^)([^\\s,]+?)(?=$|\\s|;|,)","captures":{"1":{"patterns":[{"include":"etc#url"},{"include":"#urlNoSchema"}]},"2":{"patterns":[{"include":"etc#url"},{"include":"#urlNoSchema"}]}}},{"include":"#params"},{"include":"etc#bareword"}]},"urlNoSchema":{"match":"(?:\\G|^)\\s*([-a-zA-Z0-9]+(?:\\.|@)[-a-zA-Z0-9]+.*)\\s*","captures":{"1":{"name":"constant.other.reference.link.underline.url.curlrc"}}}}}
@@ -1 +1 @@
1
- {"name":"Curry","scopeName":"source.curry","patterns":[{"name":"meta.declaration.module.curry","begin":"^(module)\\b","end":"\\b(where)\\b|(^(?!\\s))","patterns":[{"include":"#module_name"},{"include":"#module_exports"},{"include":"#comments"},{"name":"invalid","match":"[a-z]+"}],"beginCaptures":{"1":{"name":"keyword.other.curry keyword.module.curry"}},"endCaptures":{"1":{"name":"keyword.module.curry"}}},{"name":"meta.import.curry","begin":"^(import)\\b","end":"(^(?!\\s))","patterns":[{"name":"keyword.other.curry keyword.import.curry","match":"\\b(qualified|as|hiding)\\b"},{"include":"#module_name"},{"include":"#module_exports"},{"include":"#comments"}],"beginCaptures":{"1":{"name":"keyword.other.curry keyword.import.curry"}}},{"name":"meta.preprocessor.c pragma.preprocessor.curry","begin":"^\\s*(#)\\s*\\w+","end":"$","beginCaptures":{"1":{"name":"punctuation.definition.preprocessor.c punctuation.pragma.preprocessor.curry"}}},{"include":"#pragma"},{"name":"meta.function.foreign-declaration.curry","begin":"^(foreign)\\s+(import|export)((\\s+\\w+))(\\s+\\\"(\\\\.|[^\\\"])*\\\")?\\s*","end":"^(?!\\s)","patterns":[{"include":"#foreign_function_signature"}],"beginCaptures":{"1":{"name":"keyword.declaration.foreign.curry"},"2":{"name":"keyword.declaration.foreign.curry"},"3":{"name":"keyword.declaration.foreign.curry"},"5":{"name":"string.quoted.double.curry"}}},{"include":"#type_declarations"},{"include":"#function_declarations"},{"include":"#expression_stuff"}],"repository":{"block_comment":{"name":"comment.block.curry","begin":"\\{-(?!#)","end":"(?\u003c!#)-\\}","patterns":[{"include":"#block_comment"}],"captures":{"0":{"name":"punctuation.comment.curry"}},"applyEndPatternLast":true},"class_declaration":{"name":"meta.declaration.class.curry","begin":"^(\\s*)(class)\\b","end":"\\b(where)\\b|(^(?!\\1\\s))","patterns":[{"include":"#type"}],"beginCaptures":{"2":{"name":"keyword.declaration.class.curry"}},"endCaptures":{"1":{"name":"keyword.declaration.class.curry"}}},"comments":{"patterns":[{"name":"comment.line.curry","match":"(--).*$","captures":{"1":{"name":"punctuation.comment.curry"}}},{"include":"#block_comment"}]},"common_keywords":{"name":"keyword.other.curry","match":"\\b(where|case|fcase|of|let|in|default|do|mdo|if|then|else|free)\\b"},"constructor_signature":{"name":"meta.declaration.function.curry","begin":"^(\\s+)([A-Z][\\w']*|\\(\\W+\\))\\s*((::)|∷)","end":"^(?!\\1\\s)","patterns":[{"include":"#type"}],"beginCaptures":{"2":{"name":"constant.other.curry entity.name.constructor.curry"},"3":{"name":"keyword.other.double-colon.curry"}}},"ctor_names":{"patterns":[{"name":"constant.other.curry entity.name.constructor.curry","match":"(?\u003c!')\\b[A-Z][\\w']*"},{"name":"constant.other.curry entity.name.constructor.curry","match":"\\(\\)"}]},"data_declaration":{"name":"meta.declaration.data.curry","begin":"^(\\s*)(?:(external)\\s+)?(data|newtype)\\s+([A-Z][\\w']*)?","end":"^(?!\\1\\s)","patterns":[{"name":"keyword.declaration.data.curry","match":"where"},{"begin":"([=\\|])","end":"(?\u003c!')\\b([A-Z][\\w']*)","patterns":[{"include":"#comments"}],"beginCaptures":{"1":{"name":"keyword.operator.curry"}},"endCaptures":{"1":{"name":"constant.other.curry entity.name.constructor.curry"}}},{"include":"#deriving"},{"include":"#constructor_signature"},{"include":"#record_declaration"},{"include":"#comments"},{"include":"#type"}],"beginCaptures":{"2":{"name":"keyword.declaration.external.curry"},"3":{"name":"keyword.declaration.data.curry"},"4":{"name":"constant.other.curry entity.name.type.curry"}}},"deriving":{"name":"keyword.other.curry keyword.declaration.data.curry","match":"\\b(deriving)\\b"},"expression_stuff":{"patterns":[{"name":"storage.module.curry entity.name.module.curry","match":"([A-Z][\\w']*\\.)+"},{"name":"support.function.prelude.curry","match":"\\b(abs|acos|acosh|all|and|any|appendFile|asTypeOf|asin|asinh|atan|atan2|atanh|break|ceiling|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromEnum|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|head|id|init|interact|ioError|isDenormalized|isIEEE|isInfinite|isNaN|isNegativeZero|iterate|last|lcm|length|lex|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|odd|or|otherwise|pi|pred|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|read|readFile|readIO|readList|readLn|readParen|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showList|showParen|showString|shows|showsPrec|significand|signum|sin|sinh|snd|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|toEnum|toInteger|toRational|truncate|uncurry|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\\b"},{"name":"support.function.prelude.error.curry","match":"\\b(error|undefined)\\b"},{"include":"#infix_op"},{"name":"keyword.operator.curry punctuation.list.curry","match":"\\[|\\]"},{"name":"punctuation.separator.comma.curry","match":","},{"name":"keyword.operator.function.infix.curry","match":"(`)([A-Z][\\w']*\\.)*[a-z][\\w']*(`)","captures":{"1":{"name":"punctuation.definition.entity.curry"},"3":{"name":"punctuation.definition.entity.curry"}}},{"name":"record.expression.curry","begin":"(\\{)(?!-)","end":"(?\u003c!-)(\\})","patterns":[{"match":"(?\u003c!')\\b[a-z][\\w']+\\s+(=)","captures":{"2":{"name":"keyword.operator.curry"}}},{"include":"#expression_stuff"}],"beginCaptures":{"1":{"name":"keyword.operator.curry punctuation.record.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry punctuation.record.curry"}}},{"name":"constant.other.curry entity.name.constructor.curry","match":"\\(\\)"},{"name":"constant.other.curry entity.name.constructor.curry","match":"\\[\\]"},{"include":"#comments"},{"name":"keyword.operator.curry","match":"[@|!%$?~+:.\\-*=\u003c/\u003e\\\\∘→⇒⇔←⇐≤≥≡⋮\\[\\]]+"},{"include":"#common_keywords"},{"include":"#literals"},{"include":"#quasi_quote"},{"include":"#ctor_names"}]},"external_function_definition":{"name":"meta.definition.function.curry","begin":"^\\s*(?\u003c!')\\b([a-z_][\\w']*|\\(\\W+\\))\\s+(external)\\b","end":"^(?!\\s)","beginCaptures":{"1":{"name":"entity.name.function.curry"},"2":{"name":"keyword.declaration.external.curry"}}},"field_signature":{"name":"meta.declaration.field.signature.curry","match":"\\b(\\w+)\\s*(::|∷)\\s*([^,}]+)","captures":{"1":{"name":"entity.name.function.curry"},"2":{"name":"keyword.other.double-colon.curry"},"3":{"patterns":[{"include":"#type"}]}}},"fixity_declaration":{"name":"meta.declaration.fixity.curry","match":"\\b(infix[lr]?)\\b\\s*(\\d+).+","captures":{"1":{"name":"keyword.declaration.fixity.curry"},"2":{"name":"constant.numeric.fixity.curry"}}},"foreign_function_signature":{"name":"meta.declaration.function.curry","begin":"(\\s*)([a-z_][\\w']*|\\(\\W+\\))\\s*((::)|∷)","end":"^(?!\\s)","patterns":[{"include":"#type"}],"beginCaptures":{"2":{"name":"entity.name.function.curry"},"3":{"name":"keyword.other.double-colon.curry"}}},"function_declarations":{"patterns":[{"include":"#fixity_declaration"},{"include":"#function_signature"},{"include":"#function_definition"},{"include":"#infix_function_definition"},{"include":"#external_function_definition"}]},"function_definition":{"name":"meta.definition.function.curry","begin":"^\\s*(?\u003c!')\\b([a-z_][\\w']*|\\(\\W+\\))\\s+(?![^\\w\\s='\"\\(\\[])(?=((([\\w\\.,'\"_]+|(?:\\w+\\@)?\\(.*\\)|\\[.*\\])\\s+)*[=\\|]))","end":"(=)","patterns":[{"include":"#expression_stuff"}],"beginCaptures":{"1":{"name":"entity.name.function.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry"}}},"function_signature":{"name":"meta.declaration.function.curry","begin":"^(\\s*)(?!--|where|case|fcase|of|let|in|default|do|mdo|if|then|else|free)(?:(\\(\\W\\)|[\\w']+)|[\\(\\[])(?=[\\w',\\s\\[\\]\\(\\)]*((?:::)|∷))","end":"^(?!\\1\\s)|(?=})","patterns":[{"name":"meta.declaration.function.names.curry","begin":"(?=.*((::)|∷))","end":"((::)|∷)","patterns":[{"name":"entity.name.function.curry","match":"((?\u003c!')\\b[a-z_][\\w']*|\\(\\W+\\))"}],"endCaptures":{"1":{"name":"keyword.other.double-colon.curry"}}},{"include":"#type"}],"beginCaptures":{"2":{"name":"entity.name.function.curry"}}},"infix_function_definition":{"name":"meta.definition.function.curry","begin":"^\\s*(?=(([\\w'\\.'\"]+|(?:\\w+@)?\\(.*\\)|\\[.*\\])\\s+)+([^\"'_,\\(\\);\\[\\]`\\{\\}\\:\\w\\s]+|`[a-z][\\w']*`)((\\s*[\\w'\\.'\"]+|\\s*(?:\\w+@)?\\(.*\\)|\\s*\\[.*\\]))+\\s*=)","end":"( [^\"'_,\\(\\);\\[\\]`\\{\\}\\:\\w\\s]+|`[a-z][\\w']*`)","patterns":[{"include":"#expression_stuff"}],"endCaptures":{"1":{"name":"entity.name.function.curry"}}},"infix_op":{"name":"keyword.operator.curry","match":"(\\([^\"'\\w \\)]+\\)|\\(,+\\))"},"instance_declaration":{"name":"meta.declaration.instance.curry","begin":"^(\\s*)(instance)\\b","end":"\\b(where)\\b|(^(?!\\1\\s))","patterns":[{"include":"#type"},{"include":"#comments"}],"beginCaptures":{"2":{"name":"keyword.declaration.instance.curry"}},"endCaptures":{"1":{"name":"keyword.declaration.instance.curry"}}},"literals":{"patterns":[{"name":"constant.numeric.curry","match":"\\b([0-9]+\\.[0-9]+([eE][+-]?[0-9]+)?|[0-9]+[eE][+-]?[0-9]+)\\b"},{"name":"constant.numeric.curry","match":"\\b([0-9]+|0([xX][0-9a-fA-F]+|[oO][0-7]+))\\b"},{"name":"string.quoted.double.curry","begin":"\"","end":"\"|$","patterns":[{"name":"constant.character.escape.curry","match":"\\\\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[abfnrtv\\\\\\\"'\\\u0026])"},{"name":"constant.character.escape.octal.curry","match":"\\\\o[0-7]+|\\\\x[0-9A-Fa-f]+|\\\\[0-9]+"},{"name":"constant.character.escape.control.curry","match":"\\^[A-Z@\\[\\]\\\\\\^_]"}]},{"name":"string.quoted.single.curry","match":"(?x)(')(?: [\\ -\u0026(-\\[\\]-~\"]|(\\\\(?:NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[abfnrtv\\\\\\\"'\\\u0026]))|(\\\\o[0-7]+)|(\\\\x[0-9A-Fa-f]+)|(\\^[A-Z@\\[\\]\\\\\\^_]))(')","captures":{"2":{"name":"constant.character.escape.curry"},"3":{"name":"constant.character.escape.octal.curry"},"4":{"name":"constant.character.escape.hexadecimal.curry"},"5":{"name":"constant.character.escape.control.curry"}}}]},"module_exports":{"name":"meta.declaration.exports.curry","begin":"(\\()","end":"(\\))","patterns":[{"name":"constant.character.escape.multilinestring.curry","begin":"\\\\\\s*$","end":"\\\\"},{"name":"entity.name.function.curry","match":"(?\u003c!')\\b[a-z][\\w']*"},{"name":"meta.declaration.export.data.curry","begin":"(?\u003c!')\\b([A-Z][\\w']*)\\s*(\\()","end":"(\\))","patterns":[{"include":"#expression_stuff"}],"beginCaptures":{"1":{"name":"storage.type.curry entity.name.data.curry"},"2":{"name":"keyword.operator.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry"}}},{"name":"storage.type.curry entity.name.data.curry","match":"(?\u003c!')\\b[A-Z][\\w']*"},{"name":"punctuation.separator.comma.curry","match":","},{"include":"#infix_op"},{"name":"meta.other.unknown.curry","match":"\\(.*?\\)"},{"include":"#module_exports"},{"include":"#comments"}],"beginCaptures":{"1":{"name":"storage.module.curry"}},"endCaptures":{"1":{"name":"storage.module.curry"}}},"module_name":{"name":"entity.name.module.curry entity.name.namespace.curry","match":"([A-Z][\\w']*)(\\.[A-Z][\\w']*)*"},"pattern_function_definition":{"name":"meta.definition.function.curry","begin":"^\\s*(?=\\(.*\\)|\\[.*\\]|([A-Z][\\w']*(\\s+([\\w\\s,']*|\\(.*\\)|\\[.*\\]|\\{.*\\}))*)\\s*=)","end":"(=)","patterns":[{"match":"(?\u003c!')\\b([a-z_][\\w']*)\\b","captures":{"1":{"name":"entity.name.function.curry"}}},{"include":"#expression_stuff"}],"endCaptures":{"1":{"name":"keyword.operator.curry"}}},"pragma":{"name":"meta.preprocessor.curry pragma.curry","begin":"(\\{-#)\\s+([A-Z_]+)\\b","end":"#-\\}","patterns":[{"name":"keyword.other.preprocessor.curry pragma.support.language.curry","match":"\\b([A-Z][a-z]*)+\\b"},{"name":"keyword.other.preprocessor.curry pragma.support.flag.curry","match":"(-+[a-z]+)+"}],"beginCaptures":{"1":{"name":"punctuation.pragma.curry"},"2":{"name":"keyword.preprocessor.curry pragma.name.curry"}}},"quasi_quote":{"name":"string.quoted.quasi.curry","begin":"(\\[)([a-z]\\w*)?(\\|)","end":"(\\|\\])","beginCaptures":{"1":{"name":"punctuation.quasi-quoter.curry keyword.operator.curry"},"2":{"name":"entity.name.function.curry"},"3":{"name":"punctuation.quasi-quoter.curry keyword.operator.curry"}},"endCaptures":{"1":{"name":"punctuation.quasi-quoter.curry keyword.operator.curry"}}},"record_declaration":{"name":"meta.declaration.record.curry","begin":"(\\{)(?!-)","end":"(?\u003c!-)(\\})","patterns":[{"include":"#field_signature"},{"include":"#comments"}],"beginCaptures":{"1":{"name":"keyword.operator.curry punctuation.record.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry punctuation.record.curry"}}},"type":{"patterns":[{"name":"keyword.operator.arrow.curry","match":"-\u003e|→"},{"name":"keyword.operator.big-arrow.curry","match":"=\u003e|⇒"},{"name":"entity.name.type.curry support.type.curry","match":"\\b(Int(eger)?|Maybe|Either|Bool|Float|Double|Char|String|Ordering|ShowS|ReadS|FilePath|IO(Error)?)\\b"},{"name":"variable.generic.curry","match":"(?\u003c!')\\b[a-z][\\w']*\\b"},{"name":"entity.name.type.curry","match":"(?\u003c!')\\b[A-Z][\\w']*\\b"},{"name":"punctuation.unit.curry","match":"\\(\\)"},{"name":"meta.type_signature.brace.curry","begin":"(\\()","end":"(\\))","patterns":[{"include":"#type"}],"beginCaptures":{"1":{"name":"keyword.operator.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry"}}},{"name":"meta.type_signature.list.curry","begin":"(\\[)","end":"(\\])","patterns":[{"include":"#type"}],"beginCaptures":{"1":{"name":"keyword.operator.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry"}}},{"include":"#comments"}]},"type_declaration":{"name":"meta.declaration.type.curry","begin":"^(\\s*)(type)\\s+([A-Z][\\w']*)?","end":"^(?!\\1\\s)","patterns":[{"include":"#comments"},{"name":"keyword.operator.curry","match":"="},{"include":"#type"}],"beginCaptures":{"2":{"name":"keyword.declaration.data.curry"},"3":{"name":"constant.other.curry entity.name.type.curry"}}},"type_declarations":{"patterns":[{"include":"#data_declaration"},{"include":"#type_declaration"},{"include":"#class_declaration"},{"include":"#instance_declaration"}]}}}
1
+ {"name":"Curry","scopeName":"source.curry","patterns":[{"name":"meta.declaration.module.curry","begin":"^(module)\\b","end":"\\b(where)\\b|(^(?!\\s))","patterns":[{"include":"#comments"},{"include":"#module_name"},{"include":"#module_exports"},{"name":"invalid","match":"[a-z]+"}],"beginCaptures":{"1":{"name":"keyword.other.curry keyword.module.curry"}},"endCaptures":{"1":{"name":"keyword.module.curry"}}},{"name":"meta.import.curry","begin":"^(import)\\b","end":"(^(?!\\s))","patterns":[{"include":"#comments"},{"name":"keyword.other.curry keyword.import.curry","match":"\\b(qualified|as|hiding)\\b"},{"include":"#module_name"},{"include":"#module_exports"}],"beginCaptures":{"1":{"name":"keyword.other.curry keyword.import.curry"}}},{"name":"meta.preprocessor.c pragma.preprocessor.curry","begin":"^\\s*(#)\\s*\\w+","end":"$","beginCaptures":{"1":{"name":"punctuation.definition.preprocessor.c punctuation.pragma.preprocessor.curry"}}},{"include":"#pragma"},{"name":"meta.function.foreign-declaration.curry","begin":"^(foreign)\\s+(import|export)((\\s+\\w+))(\\s+\\\"(\\\\.|[^\\\"])*\\\")?\\s*","end":"^(?!\\s)","patterns":[{"include":"#foreign_function_signature"}],"beginCaptures":{"1":{"name":"keyword.declaration.foreign.curry"},"2":{"name":"keyword.declaration.foreign.curry"},"3":{"name":"keyword.declaration.foreign.curry"},"5":{"name":"string.quoted.double.curry"}}},{"include":"#type_declarations"},{"include":"#function_declarations"},{"include":"#expression_stuff"}],"repository":{"block_comment":{"name":"comment.block.curry","begin":"\\{-(?!#)","end":"(?\u003c!#)-\\}","patterns":[{"include":"#block_comment"}],"captures":{"0":{"name":"punctuation.comment.curry"}},"applyEndPatternLast":true},"class_declaration":{"name":"meta.declaration.class.curry","begin":"^(\\s*)(class)\\b","end":"\\b(where)\\b|(^(?!\\1\\s))","patterns":[{"include":"#type"}],"beginCaptures":{"2":{"name":"keyword.declaration.class.curry"}},"endCaptures":{"1":{"name":"keyword.declaration.class.curry"}}},"comments":{"patterns":[{"name":"comment.line.curry","match":"(--).*$","captures":{"1":{"name":"punctuation.comment.curry"}}},{"include":"#block_comment"}]},"common_keywords":{"name":"keyword.other.curry","match":"\\b(where|case|fcase|of|let|in|default|do|mdo|if|then|else|free)\\b"},"constructor_signature":{"name":"meta.declaration.function.curry","begin":"^(\\s+)([A-Z][\\w']*|\\(\\W+\\))\\s*((::)|∷)","end":"^(?!\\1\\s)","patterns":[{"include":"#type"}],"beginCaptures":{"2":{"name":"constant.other.curry entity.name.constructor.curry"},"3":{"name":"keyword.other.double-colon.curry"}}},"ctor_names":{"patterns":[{"name":"constant.other.curry entity.name.constructor.curry","match":"(?\u003c!')\\b[A-Z][\\w']*"},{"name":"constant.other.curry entity.name.constructor.curry","match":"\\(\\)"}]},"data_declaration":{"name":"meta.declaration.data.curry","begin":"^(\\s*)(?:(external)\\s+)?(data|newtype)\\s+([A-Z][\\w']*)?","end":"^(?!\\1\\s)","patterns":[{"include":"#comments"},{"name":"keyword.declaration.data.curry","match":"where"},{"begin":"([=\\|])","end":"(?\u003c!')\\b([A-Z][\\w']*)","patterns":[{"include":"#comments"}],"beginCaptures":{"1":{"name":"keyword.operator.curry"}},"endCaptures":{"1":{"name":"constant.other.curry entity.name.constructor.curry"}}},{"include":"#deriving"},{"include":"#constructor_signature"},{"include":"#record_declaration"},{"include":"#type"}],"beginCaptures":{"2":{"name":"keyword.declaration.external.curry"},"3":{"name":"keyword.declaration.data.curry"},"4":{"name":"constant.other.curry entity.name.type.curry"}}},"deriving":{"name":"keyword.other.curry keyword.declaration.data.curry","match":"\\b(deriving)\\b"},"expression_stuff":{"patterns":[{"include":"#comments"},{"name":"storage.module.curry entity.name.module.curry","match":"([A-Z][\\w']*\\.)+"},{"name":"support.function.prelude.curry","match":"\\b(abs|acos|acosh|all|and|any|appendFile|asTypeOf|asin|asinh|atan|atan2|atanh|break|ceiling|compare|concat|concatMap|const|cos|cosh|curry|cycle|decodeFloat|div|divMod|drop|dropWhile|either|elem|encodeFloat|enumFrom|enumFromThen|enumFromThenTo|enumFromTo|even|exp|exponent|fail|filter|flip|floatDigits|floatRadix|floatRange|floor|fmap|foldl|foldl1|foldr|foldr1|fromEnum|fromInteger|fromIntegral|fromRational|fst|gcd|getChar|getContents|getLine|head|id|init|interact|ioError|isDenormalized|isIEEE|isInfinite|isNaN|isNegativeZero|iterate|last|lcm|length|lex|lines|log|logBase|lookup|map|mapM|mapM_|max|maxBound|maximum|maybe|min|minBound|minimum|mod|negate|not|notElem|null|odd|or|otherwise|pi|pred|print|product|properFraction|putChar|putStr|putStrLn|quot|quotRem|read|readFile|readIO|readList|readLn|readParen|reads|readsPrec|realToFrac|recip|rem|repeat|replicate|return|reverse|round|scaleFloat|scanl|scanl1|scanr|scanr1|seq|sequence|sequence_|show|showChar|showList|showParen|showString|shows|showsPrec|significand|signum|sin|sinh|snd|span|splitAt|sqrt|subtract|succ|sum|tail|take|takeWhile|tan|tanh|toEnum|toInteger|toRational|truncate|uncurry|unlines|until|unwords|unzip|unzip3|userError|words|writeFile|zip|zip3|zipWith|zipWith3)\\b"},{"name":"support.function.prelude.error.curry","match":"\\b(error|undefined)\\b"},{"include":"#infix_op"},{"name":"keyword.operator.curry punctuation.list.curry","match":"\\[|\\]"},{"name":"punctuation.separator.comma.curry","match":","},{"name":"keyword.operator.function.infix.curry","match":"(`)([A-Z][\\w']*\\.)*[a-z][\\w']*(`)","captures":{"1":{"name":"punctuation.definition.entity.curry"},"3":{"name":"punctuation.definition.entity.curry"}}},{"name":"record.expression.curry","begin":"(\\{)(?!-)","end":"(?\u003c!-)(\\})","patterns":[{"match":"(?\u003c!')\\b[a-z][\\w']+\\s+(=)","captures":{"2":{"name":"keyword.operator.curry"}}},{"include":"#expression_stuff"}],"beginCaptures":{"1":{"name":"keyword.operator.curry punctuation.record.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry punctuation.record.curry"}}},{"name":"constant.other.curry entity.name.constructor.curry","match":"\\(\\)"},{"name":"constant.other.curry entity.name.constructor.curry","match":"\\[\\]"},{"name":"keyword.operator.curry","match":"[@|!%$?~+:.\\-*=\u003c/\u003e\\\\∘→⇒⇔←⇐≤≥≡⋮\\[\\]]+"},{"include":"#common_keywords"},{"include":"#literals"},{"include":"#quasi_quote"},{"include":"#ctor_names"}]},"external_function_definition":{"name":"meta.definition.function.curry","begin":"^\\s*(?\u003c!')\\b([a-z_][\\w']*|\\(\\W+\\))\\s+(external)\\b","end":"^(?!\\s)","beginCaptures":{"1":{"name":"entity.name.function.curry"},"2":{"name":"keyword.declaration.external.curry"}}},"field_signature":{"name":"meta.declaration.field.signature.curry","match":"\\b(\\w+)\\s*(::|∷)\\s*(.*--.*|[^,}]+)","captures":{"1":{"name":"entity.name.function.curry"},"2":{"name":"keyword.other.double-colon.curry"},"3":{"patterns":[{"include":"#type"}]}}},"fixity_declaration":{"name":"meta.declaration.fixity.curry","match":"\\b(infix[lr]?)\\b\\s*(\\d+).+","captures":{"1":{"name":"keyword.declaration.fixity.curry"},"2":{"name":"constant.numeric.fixity.curry"}}},"foreign_function_signature":{"name":"meta.declaration.function.curry","begin":"(\\s*)([a-z_][\\w']*|\\(\\W+\\))\\s*((::)|∷)","end":"^(?!\\s)","patterns":[{"include":"#type"}],"beginCaptures":{"2":{"name":"entity.name.function.curry"},"3":{"name":"keyword.other.double-colon.curry"}}},"function_declarations":{"patterns":[{"include":"#fixity_declaration"},{"include":"#function_signature"},{"include":"#function_definition"},{"include":"#infix_function_definition"},{"include":"#external_function_definition"}]},"function_definition":{"name":"meta.definition.function.curry","begin":"^\\s*(?\u003c!')\\b([a-z_][\\w']*|\\(\\W+\\))\\s+(?![^\\w\\s='\"\\(\\[])(?=((([\\w\\.,'\"_]+|(?:\\w+\\@)?\\(.*\\)|\\[.*\\])\\s+)*[=\\|]))","end":"(=)","patterns":[{"include":"#expression_stuff"}],"beginCaptures":{"1":{"name":"entity.name.function.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry"}}},"function_signature":{"name":"meta.declaration.function.curry","begin":"^(\\s*)(?!--|(?:where|case|fcase|of|let|in|default|do|mdo|if|then|else|free)\\s+)(?:(\\(\\W\\)|[\\w']+)|[\\(\\[])(?=[\\w',\\s\\[\\]\\(\\)]*((?:::)|∷))","end":"^(?!\\1\\s)|(?=})","patterns":[{"name":"meta.declaration.function.names.curry","begin":"(?=.*((::)|∷))","end":"((::)|∷)","patterns":[{"name":"entity.name.function.curry","match":"((?\u003c!')\\b[a-z_][\\w']*|\\(\\W+\\))"}],"endCaptures":{"1":{"name":"keyword.other.double-colon.curry"}}},{"include":"#type"}],"beginCaptures":{"2":{"name":"entity.name.function.curry"}}},"infix_function_definition":{"name":"meta.definition.function.curry","begin":"^\\s*(?=(([\\w'\\.'\"]+|(?:\\w+@)?\\(.*\\)|\\[.*\\])\\s+)+([^\"'_,\\(\\);\\[\\]`\\{\\}\\:\\w\\s]+|`[a-z][\\w']*`)((\\s*[\\w'\\.'\"]+|\\s*(?:\\w+@)?\\(.*\\)|\\s*\\[.*\\]))+\\s*=)","end":"( [^\"'_,\\(\\);\\[\\]`\\{\\}\\:\\w\\s]+|`[a-z][\\w']*`)","patterns":[{"include":"#expression_stuff"}],"endCaptures":{"1":{"name":"entity.name.function.curry"}}},"infix_op":{"name":"keyword.operator.curry","match":"(\\([^\"'\\w \\)]+\\)|\\(,+\\))"},"instance_declaration":{"name":"meta.declaration.instance.curry","begin":"^(\\s*)(instance)\\b","end":"\\b(where)\\b|(^(?!\\1\\s))","patterns":[{"include":"#comments"},{"include":"#type"}],"beginCaptures":{"2":{"name":"keyword.declaration.instance.curry"}},"endCaptures":{"1":{"name":"keyword.declaration.instance.curry"}}},"literals":{"patterns":[{"name":"constant.numeric.curry","match":"\\b([0-9]+\\.[0-9]+([eE][+-]?[0-9]+)?|[0-9]+[eE][+-]?[0-9]+)\\b"},{"name":"constant.numeric.curry","match":"\\b([0-9]+|0([xX][0-9a-fA-F]+|[oO][0-7]+))\\b"},{"name":"string.quoted.double.curry","begin":"\"","end":"\"|$","patterns":[{"name":"constant.character.escape.curry","match":"\\\\(NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[abfnrtv\\\\\\\"'\\\u0026])"},{"name":"constant.character.escape.octal.curry","match":"\\\\o[0-7]+|\\\\x[0-9A-Fa-f]+|\\\\[0-9]+"},{"name":"constant.character.escape.control.curry","match":"\\^[A-Z@\\[\\]\\\\\\^_]"}]},{"name":"string.quoted.single.curry","match":"(?x)(')(?: [\\ -\u0026(-\\[\\]-~\"]|(\\\\(?:NUL|SOH|STX|ETX|EOT|ENQ|ACK|BEL|BS|HT|LF|VT|FF|CR|SO|SI|DLE|DC1|DC2|DC3|DC4|NAK|SYN|ETB|CAN|EM|SUB|ESC|FS|GS|RS|US|SP|DEL|[abfnrtv\\\\\\\"'\\\u0026]))|(\\\\o[0-7]+)|(\\\\x[0-9A-Fa-f]+)|(\\^[A-Z@\\[\\]\\\\\\^_]))(')","captures":{"2":{"name":"constant.character.escape.curry"},"3":{"name":"constant.character.escape.octal.curry"},"4":{"name":"constant.character.escape.hexadecimal.curry"},"5":{"name":"constant.character.escape.control.curry"}}}]},"module_exports":{"name":"meta.declaration.exports.curry","begin":"(\\()","end":"(\\))","patterns":[{"include":"#comments"},{"name":"constant.character.escape.multilinestring.curry","begin":"\\\\\\s*$","end":"\\\\"},{"name":"entity.name.function.curry","match":"(?\u003c!')\\b[a-z][\\w']*"},{"name":"meta.declaration.export.data.curry","begin":"(?\u003c!')\\b([A-Z][\\w']*)\\s*(\\()","end":"(\\))","patterns":[{"include":"#expression_stuff"}],"beginCaptures":{"1":{"name":"storage.type.curry entity.name.data.curry"},"2":{"name":"keyword.operator.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry"}}},{"name":"storage.type.curry entity.name.data.curry","match":"(?\u003c!')\\b[A-Z][\\w']*"},{"name":"punctuation.separator.comma.curry","match":","},{"include":"#infix_op"},{"name":"meta.other.unknown.curry","match":"\\(.*?\\)"},{"include":"#module_exports"}],"beginCaptures":{"1":{"name":"storage.module.curry"}},"endCaptures":{"1":{"name":"storage.module.curry"}}},"module_name":{"name":"entity.name.module.curry entity.name.namespace.curry","match":"([A-Z][\\w']*)(\\.[A-Z][\\w']*)*"},"pattern_function_definition":{"name":"meta.definition.function.curry","begin":"^\\s*(?=\\(.*\\)|\\[.*\\]|([A-Z][\\w']*(\\s+([\\w\\s,']*|\\(.*\\)|\\[.*\\]|\\{.*\\}))*)\\s*=)","end":"(=)","patterns":[{"match":"(?\u003c!')\\b([a-z_][\\w']*)\\b","captures":{"1":{"name":"entity.name.function.curry"}}},{"include":"#expression_stuff"}],"endCaptures":{"1":{"name":"keyword.operator.curry"}}},"pragma":{"name":"meta.preprocessor.curry pragma.curry","begin":"(\\{-#)\\s+([A-Z_]+)\\b","end":"#-\\}","patterns":[{"name":"keyword.other.preprocessor.curry pragma.support.language.curry","match":"\\b([A-Z][a-z]*)+\\b"},{"name":"keyword.other.preprocessor.curry pragma.support.flag.curry","match":"(-+[a-z]+)+"}],"beginCaptures":{"1":{"name":"punctuation.pragma.curry"},"2":{"name":"keyword.preprocessor.curry pragma.name.curry"}}},"quasi_quote":{"name":"string.quoted.quasi.curry","begin":"(\\[)([a-z]\\w*)?(\\|)","end":"(\\|\\])","beginCaptures":{"1":{"name":"punctuation.quasi-quoter.curry keyword.operator.curry"},"2":{"name":"entity.name.function.curry"},"3":{"name":"punctuation.quasi-quoter.curry keyword.operator.curry"}},"endCaptures":{"1":{"name":"punctuation.quasi-quoter.curry keyword.operator.curry"}}},"record_declaration":{"name":"meta.declaration.record.curry","begin":"(\\{)(?!-)","end":"(?\u003c!-)(\\})","patterns":[{"include":"#comments"},{"include":"#field_signature"}],"beginCaptures":{"1":{"name":"keyword.operator.curry punctuation.record.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry punctuation.record.curry"}}},"type":{"patterns":[{"include":"#comments"},{"name":"keyword.operator.arrow.curry","match":"-\u003e|→"},{"name":"keyword.operator.big-arrow.curry","match":"=\u003e|⇒"},{"name":"entity.name.type.curry support.type.curry","match":"\\b(Int(eger)?|Maybe|Either|Bool|Float|Double|Char|String|Ordering|ShowS|ReadS|FilePath|IO(Error)?)\\b"},{"name":"variable.generic.curry","match":"(?\u003c!')\\b[a-z][\\w']*\\b"},{"name":"entity.name.type.curry","match":"(?\u003c!')\\b[A-Z][\\w']*\\b"},{"name":"punctuation.unit.curry","match":"\\(\\)"},{"name":"meta.type_signature.brace.curry","begin":"(\\()","end":"(\\))","patterns":[{"include":"#type"}],"beginCaptures":{"1":{"name":"keyword.operator.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry"}}},{"name":"meta.type_signature.list.curry","begin":"(\\[)","end":"(\\])","patterns":[{"include":"#type"}],"beginCaptures":{"1":{"name":"keyword.operator.curry"}},"endCaptures":{"1":{"name":"keyword.operator.curry"}}}]},"type_declaration":{"name":"meta.declaration.type.curry","begin":"^(\\s*)(type)\\s+([A-Z][\\w']*)?","end":"^(?!\\1\\s)","patterns":[{"include":"#comments"},{"name":"keyword.operator.curry","match":"="},{"include":"#type"}],"beginCaptures":{"2":{"name":"keyword.declaration.data.curry"},"3":{"name":"constant.other.curry entity.name.type.curry"}}},"type_declarations":{"patterns":[{"include":"#data_declaration"},{"include":"#type_declaration"},{"include":"#class_declaration"},{"include":"#instance_declaration"}]}}}
@@ -0,0 +1 @@
1
+ {"name":"daslang","scopeName":"source.daslang","patterns":[{"include":"#comments"},{"include":"#annotations"},{"include":"#struct_declaration"},{"include":"#function"},{"include":"#variable_declaration"},{"include":"#keywords"},{"include":"#strings"},{"include":"#literals"},{"include":"#builtin_types"},{"include":"#builtin_functions_call"},{"include":"#function_call"},{"include":"#member_access"},{"include":"#operators"},{"include":"#identifiers"}],"repository":{"annotations":{"patterns":[{"name":"meta.declaration.annotation.daslang","begin":"((?\u003c!\\[)\\[(?!\\[))\\s*([[:alpha:]_][[:alnum:]_]+)\\s*(\\()?","end":"(\\))?(\\])","patterns":[{"match":"\\b([[:alpha:]_][[:alnum:]_]*)\\b\\s*=","captures":{"0":{"name":"keyword.operator.assignment.daslang"},"1":{"name":"constant.other.annotation-key.daslang"}}},{"include":"#strings"},{"include":"#literals"},{"name":"punctuation.separator.arguments.daslang","match":","}],"beginCaptures":{"1":{"name":"punctuation.definition.annotation.begin.bracket.square.daslang"},"2":{"name":"storage.type.annotation.daslang"},"3":{"name":"punctuation.definition.annotation-arguments.begin.bracket.round.daslang"}},"endCaptures":{"1":{"name":"punctuation.definition.annotation-arguments.end.bracket.round.daslang"},"2":{"name":"punctuation.definition.annotation.end.bracket.square.daslang"}}}]},"blocks":{"patterns":[{"name":"meta.block.curly.daslang","begin":"\\{","end":"\\}","patterns":[{"include":"$self"},{"name":"punctuation.terminator.statement.daslang","match":";"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.begin.daslang"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.daslang"}}}]},"builtin_functions_call":{"name":"meta.function-call.builtin.daslang","begin":"\\b(print|terminate|stackwalk|breakpoint|assert|verify|static_assert|concept_assert|debug|memzero|invoke|push|push_clone|emplace|reserve|resize|erase|length|clear|capacity|key_exists|get|find|find_index|find_index_if|empty|keys|values|to_table_move|to_array_move|subarray)\\b\\s*(?=\\()","end":"\\)","patterns":[{"contentName":"meta.function.arguments.daslang","begin":"\\(","end":"(?=\\))","patterns":[{"include":"#function_arguments"}],"beginCaptures":{"0":{"name":"punctuation.definition.arguments.begin.daslang"}}}],"beginCaptures":{"1":{"name":"support.function.builtin.daslang"}},"endCaptures":{"0":{"name":"punctuation.definition.arguments.end.daslang"}}},"builtin_types":{"name":"support.type.builtin.daslang","match":"\\b(bool|void|string|das_string|auto|int|int2|int3|int4|uint|bitfield|uint2|uint3|uint4|float|float2|float3|float4|range|urange|block|int64|uint64|double|function|lambda|int8|uint8|int16|uint16|tuple|variant|iterator|generator|yield|fixed_array|table|array|option|Type)\\b"},"comments":{"patterns":[{"name":"comment.line.double-slash.daslang","begin":"//","end":"(?=\\n)","patterns":[{"name":"constant.character.escape.line-continuation.daslang","match":"\\\\(?=\\n)"}]},{"name":"comment.block.daslang","begin":"/\\*","end":"\\*/"}]},"expression":{"patterns":[{"include":"#strings"},{"include":"#literals"},{"include":"#builtin_functions_call"},{"include":"#function_call"},{"include":"#member_access"},{"include":"#operators"},{"include":"#variable_access"},{"include":"#initializers"},{"include":"#blocks"},{"name":"variable.other.daslang","match":"\\b([[:alpha:]_][[:alnum:]_:]*)\\b"}]},"function":{"patterns":[{"name":"meta.function.declaration.daslang","begin":"\\b(def)\\b\\s*((?:private|public|abstract|override|static)\\s+)?([[:alpha:]_][[:alnum:]_:]*)\\s*(\\()","end":"(\\{|\\n(?![[:space:]]))","patterns":[{"begin":"(?=\\))","end":"(?=\\s*[:\\{]|\\s*=\u003e|\\s*\\n(?![[:space:]]))","patterns":[{"name":"meta.function.parameters.daslang","begin":"\\(","end":"\\)","patterns":[{"begin":"\\b(var|let)\\b","end":"(?=,|;|\\))","patterns":[{"name":"variable.parameter.function.daslang","match":"\\b([[:alpha:]_][[:alnum:]_]*)\\b"},{"name":"punctuation.separator.annotation.daslang","match":":"},{"include":"#builtin_types"},{"include":"#user_defined_types"},{"include":"#expression"}],"beginCaptures":{"0":{"name":"storage.modifier.daslang"}}},{"name":"variable.parameter.function.daslang","match":"\\b([[:alpha:]_][[:alnum:]_]*)\\b"},{"name":"punctuation.separator.annotation.daslang","match":":"},{"include":"#builtin_types"},{"include":"#user_defined_types"},{"include":"#expression"},{"name":"punctuation.separator.parameters.daslang","match":",|;"}],"beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.daslang"}},"endCaptures":{"0":{"name":"punctuation.definition.parameters.end.daslang"}}},{"name":"punctuation.separator.return-type.daslang","match":":"},{"include":"#builtin_types"},{"include":"#user_defined_types"}]},{"include":"#annotations"}],"beginCaptures":{"1":{"name":"storage.type.function.daslang"},"2":{"name":"storage.modifier.daslang"},"3":{"name":"entity.name.function.daslang"},"4":{"name":"punctuation.definition.parameters.begin.daslang"}},"endCaptures":{"1":{"name":"punctuation.definition.block.begin.daslang"}}},{"name":"meta.block.curly.daslang","begin":"\\{","end":"\\}","patterns":[{"include":"$self"},{"name":"punctuation.terminator.statement.daslang","match":";"}],"beginCaptures":{"0":{"name":"punctuation.definition.block.begin.daslang"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.daslang"}}},{"name":"meta.block.pythonic.daslang","begin":"\\n(?=\\s)","end":"(?=\\n[^\\s])|\\s*$","patterns":[{"include":"$self"}]},{"name":"meta.lambda-expression.daslang","begin":"@","end":"(?=;|$)","patterns":[{"begin":"\u003c\\|","end":"(?=\\n|\\s*$)","patterns":[{"begin":"\\(","end":"\\)","patterns":[{"include":"#function_arguments"}],"beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.daslang"}},"endCaptures":{"0":{"name":"punctuation.definition.parameters.end.daslang"}}},{"begin":"(?=\\{|=\u003e|\\n)","end":"(?=\\n[^\\s])|\\s*$","patterns":[{"include":"#expression"},{"include":"#blocks"}]}],"beginCaptures":{"0":{"name":"keyword.operator.pipe.daslang"}}}],"beginCaptures":{"0":{"name":"keyword.operator.lambda-decl.daslang"}}},{"name":"meta.reader-macro.daslang","begin":"%([[:alpha:]_][[:alnum:]_]*)~","end":"([[:alpha:]_][[:alnum:]_]*)%","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"name":"keyword.operator.reader-macro.daslang"},"1":{"name":"entity.name.function.reader-macro.daslang"}},"endCaptures":{"0":{"name":"keyword.operator.reader-macro-terminator.daslang"},"1":{"name":"entity.name.function.reader-macro.daslang"}}},{"name":"meta.block-expression.daslang","begin":"\\$","end":"(?=;|$)","patterns":[{"begin":"\u003c\\|","end":"(?=\\n|\\s*$)","patterns":[{"begin":"\\(","end":"\\)","patterns":[{"include":"#function_arguments"}],"beginCaptures":{"0":{"name":"punctuation.definition.parameters.begin.daslang"}},"endCaptures":{"0":{"name":"punctuation.definition.parameters.end.daslang"}}},{"begin":"(?=\\{|=\u003e|\\n)","end":"(?=\\n[^\\s])|\\s*$","patterns":[{"include":"#expression"},{"include":"#blocks"}]}],"beginCaptures":{"0":{"name":"keyword.operator.pipe.daslang"}}}],"beginCaptures":{"0":{"name":"keyword.operator.block-decl.daslang"}}}]},"function_arguments":{"patterns":[{"name":"variable.parameter.function.daslang","match":"\\b([[:alpha:]_][[:alnum:]_]*)\\b(?=\\s*=)"},{"include":"#expression"},{"name":"punctuation.separator.arguments.daslang","match":",|;"}]},"function_call":{"name":"meta.function-call.daslang","begin":"(?\u003c!\\.)\\b([[:alpha:]_][[:alnum:]_\\:]*)\\b\\s*(?=\\()|(?\u003c=\\)|\\])\\s*(\\()","end":"\\)","patterns":[{"contentName":"meta.function.arguments.daslang","begin":"\\(","end":"(?=\\))","patterns":[{"include":"#function_arguments"}],"beginCaptures":{"0":{"name":"punctuation.definition.arguments.begin.daslang"}}}],"beginCaptures":{"1":{"name":"entity.name.function.daslang"},"2":{"name":"punctuation.definition.arguments.begin.daslang"}},"endCaptures":{"0":{"name":"punctuation.definition.arguments.end.daslang"}}},"identifiers":{"patterns":[{"name":"variable.other.daslang","match":"\\b([_A-Za-z][A-Za-z0-9_]*)\\b"}]},"initializers":{"patterns":[{"name":"meta.initializer.array.fixed.daslang","begin":"\\[\\[","end":"\\]\\]","patterns":[{"include":"#initializers_content"}],"beginCaptures":{"0":{"name":"punctuation.definition.array.begin.double-bracket.daslang"}},"endCaptures":{"0":{"name":"punctuation.definition.array.end.double-bracket.daslang"}}},{"name":"meta.initializer.array.dynamic.daslang","begin":"\\[\\{","end":"\\}\\]","patterns":[{"include":"#initializers_content"}],"beginCaptures":{"0":{"name":"punctuation.definition.array.begin.bracket-curly.daslang"}},"endCaptures":{"0":{"name":"punctuation.definition.array.end.bracket-curly.daslang"}}},{"name":"meta.initializer.table.daslang","begin":"\\{\\{","end":"\\}\\}","patterns":[{"include":"#initializers_content"}],"beginCaptures":{"0":{"name":"punctuation.definition.table.begin.double-curly.daslang"}},"endCaptures":{"0":{"name":"punctuation.definition.table.end.double-curly.daslang"}}}]},"initializers_content":{"patterns":[{"include":"#builtin_types"},{"include":"#user_defined_types"},{"include":"#operators"},{"include":"#strings"},{"include":"#literals"},{"include":"#expression"},{"match":"\\b([[:alpha:]_][[:alnum:]_]*)\\b\\s*=","captures":{"0":{"name":"keyword.operator.assignment.daslang"},"1":{"name":"variable.other.field.daslang"}}},{"name":"punctuation.separator.statement.daslang","match":";"},{"name":"punctuation.separator.element.daslang","match":","},{"name":"keyword.operator.ellipsis.daslang","match":"\\.\\.\\."},{"name":"keyword.operator.map.daslang","match":"\\s*=\u003e\\s*"},{"name":"keyword.control.comprehension.daslang","match":"\\b(where|for|in)\\b"},{"name":"keyword.operator.or.daslang","match":"\\|\\|"},{"name":"storage.type.declaration.daslang","match":"\\b(struct|class|tuple|variant|enum|bitfield)\\b"},{"include":"#variable_declaration"},{"name":"keyword.other.type-query.daslang","match":"\\b(typeinfo|type|auto)\\b"}]},"keywords":{"patterns":[{"name":"keyword.control.daslang","match":"\\b(if|else|elif|while|for|break|continue|return|yield|try|recover|panic|finally|in|is|as)\\b"},{"name":"keyword.control.operator-overload.daslang","match":"\\b(operator)\\b"},{"name":"storage.type.declaration.daslang","match":"\\b(struct|class|enum|variant|tuple|bitfield|typedef|def)\\b"},{"name":"storage.modifier.daslang","match":"\\b(let|var|static|public|private|shared|inscope|explicit|implicit|abstract|override|sealed|const)\\b"},{"name":"keyword.other.daslang","match":"\\b(new|typeinfo|type|addr|deref|reinterpret|assume|with|cast|pass|goto|label|aka)\\b"},{"name":"keyword.control.options.daslang","match":"\\b(options)\\b"},{"name":"keyword.control.module.daslang","match":"\\b(require)\\b"},{"name":"keyword.declaration.module.daslang","match":"\\b(module)\\b"},{"name":"keyword.control.pattern-matching.daslang","match":"\\b(match|match_expr|static_match|multi_match|match_type)\\b"}]},"literals":{"patterns":[{"name":"constant.language.daslang","match":"\\b(true|false|null)\\b"},{"name":"constant.character.daslang","match":"'[[:print:]]'"},{"name":"constant.numeric.integer.hexadecimal.unsigned.daslang","match":"\\b0x[\\dA-Fa-f]+u\\b"},{"name":"constant.numeric.integer.hexadecimal.long.daslang","match":"\\b0x[\\dA-Fa-f]+L\\b"},{"name":"constant.numeric.integer.hexadecimal.daslang","match":"\\b0x[\\dA-Fa-f]+\\b"},{"name":"constant.numeric.integer.octal.unsigned.daslang","match":"\\b0[0-7]+u\\b"},{"name":"constant.numeric.integer.octal.long.daslang","match":"\\b0[0-7]+L\\b"},{"name":"constant.numeric.integer.octal.daslang","match":"\\b0[0-7]+\\b"},{"name":"constant.numeric.integer.decimal.unsigned.daslang","match":"\\b\\d+u\\b"},{"name":"constant.numeric.integer.decimal.long.daslang","match":"\\b\\d+L\\b"},{"name":"constant.numeric.float.double.daslang","match":"\\b\\d+\\.\\d*([eE][\\+\\-]?\\d+)?d\\b"},{"name":"constant.numeric.float.double.daslang","match":"\\b\\d+([eE][\\+\\-]?\\d+)?d\\b"},{"name":"constant.numeric.float.double.daslang","match":"\\b\\.\\d+([eE][\\+\\-]?\\d+)?d\\b"},{"name":"constant.numeric.float.daslang","match":"\\b\\d+\\.\\d*([eE][\\+\\-]?\\d+)?f\\b"},{"name":"constant.numeric.float.daslang","match":"\\b\\d+([eE][\\+\\-]?\\d+)?f\\b"},{"name":"constant.numeric.float.daslang","match":"\\b\\.\\d+([eE][\\+\\-]?\\d+)?f\\b"},{"name":"constant.numeric.float.daslang","match":"\\b\\d+\\.\\d*([eE][\\+\\-]?\\d+)?\\b"},{"name":"constant.numeric.integer.decimal.daslang","match":"\\b\\d+\\b"}]},"member_access":{"patterns":[{"name":"punctuation.separator.member.daslang","match":"\\.(?=[[:alpha:]_])"},{"name":"punctuation.separator.safe-member.daslang","match":"\\?\\.(?=[[:alpha:]_])"},{"name":"punctuation.separator.direct-member.daslang","match":"\\.\\.(?=[[:alpha:]_])"},{"name":"punctuation.separator.pointer-member.daslang","match":"-\u003e"},{"name":"punctuation.separator.scope.daslang","match":"::"}]},"operators":{"patterns":[{"name":"keyword.operator.arithmetic.increment-decrement.daslang","match":"(\\+\\+|\\-\\-)"},{"name":"keyword.operator.arithmetic.daslang","match":"(\\+|-|\\*|/|%)"},{"name":"keyword.operator.logical.daslang","match":"(\u0026\u0026|\\|\\||\\^\\^|!)"},{"name":"keyword.operator.bitwise.daslang","match":"(\u0026|\\||\\^|~|\u003c\u003c|\u003e\u003e|\u003c\u003c\u003c|\u003e\u003e\u003e)"},{"name":"keyword.operator.comparison.daslang","match":"(==|!=|\u003c|\u003c=|\u003e|\u003e=)"},{"name":"keyword.operator.assignment.daslang","match":"(=|:=|\u003c-|\\+=|\\-=|\\*=|/=|%=|\u0026=|\\|=|^=|\u003c\u003c=|\u003e\u003e=|\u003c\u003c\u003c=|\u003e\u003e\u003e=|\u0026\u0026=|\\|\\|=|\\^\\^=)"},{"name":"keyword.operator.range.daslang","match":"(\\.\\.)"},{"name":"keyword.operator.null-coalescing.daslang","match":"(\\?\\?)"},{"name":"keyword.operator.conditional.daslang","match":"(\\?:)"},{"name":"keyword.operator.pipe.daslang","match":"(\u003c\\||\\|\u003e)"},{"name":"keyword.operator.lambda-decl.daslang","match":"@\\s*\u003c\\|"},{"name":"keyword.operator.block-decl.daslang","match":"\\$"},{"name":"keyword.operator.reader-macro.daslang","match":"%"},{"name":"keyword.operator.assignment.daslang","match":"="},{"name":"keyword.operator.lambda-expression.daslang","match":"\\s*=\u003e\\s*"}]},"strings":{"patterns":[{"name":"string.quoted.double.daslang","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.daslang","match":"\\\\."},{"begin":"\\{","end":"\\}","patterns":[{"include":"$self"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.interpolation.begin.daslang"}},"endCaptures":{"0":{"name":"punctuation.definition.string.interpolation.end.daslang"}}}]},{"name":"string.quoted.verbatim.daslang","begin":"@\"","end":"\"","patterns":[{"name":"constant.character.escape.daslang","match":"\\\\."}]}]},"struct_declaration":{"patterns":[{"name":"meta.struct.declaration.daslang","begin":"\\b(struct|class)\\b\\s*((?:private|public|sealed)\\s+)?([[:alpha:]_][[:alnum:]_]*)(?:\\s*:\\s*([[:alpha:]_][[:alnum:]_:]*))?\\s*(\\{)?","end":"\\}","patterns":[{"include":"#variable_declaration"},{"include":"#function"},{"include":"#comments"},{"include":"#annotations"},{"name":"punctuation.terminator.statement.daslang","match":";"}],"beginCaptures":{"1":{"name":"storage.type.class.daslang"},"2":{"name":"storage.modifier.daslang"},"3":{"name":"entity.name.type.class.daslang"},"4":{"name":"entity.other.inherited-class.daslang"},"5":{"name":"punctuation.definition.block.begin.daslang"}},"endCaptures":{"0":{"name":"punctuation.definition.block.end.daslang"}}}]},"user_defined_types":{"name":"entity.name.type.daslang","match":"\\b([[:alpha:]_][[:alnum:]_:]*)\\b"},"variable_access":{"patterns":[{"name":"variable.other.daslang","match":"\\b([[:alpha:]_][[:alnum:]_:]*)\\b"},{"begin":"\\[","end":"\\]","patterns":[{"include":"#expression"}],"beginCaptures":{"0":{"name":"punctuation.definition.array.begin.daslang"}},"endCaptures":{"0":{"name":"punctuation.definition.array.end.daslang"}}}]},"variable_declaration":{"patterns":[{"name":"meta.variable.declaration.daslang","begin":"\\b(let|var)\\b\\s*((?:private|public|shared|inscope)\\s+)?([[:alpha:]_][[:alnum:]_]*)(?=\\s*[:=\u003c-]|\\s*\\[\\[|\\s*\\[\\{|\\s*\\{\\{|\\s*\\n(?![[:space:]]))","end":"(?=;|$)","patterns":[{"name":"punctuation.separator.type-annotation.daslang","match":":"},{"include":"#builtin_types"},{"include":"#user_defined_types"},{"include":"#initializers"},{"include":"#expression"},{"include":"#blocks"}],"beginCaptures":{"1":{"name":"storage.type.daslang"},"2":{"name":"storage.modifier.daslang"},"3":{"name":"entity.name.variable.daslang"}}}]}}}
@@ -1 +1 @@
1
- {"name":"DDS.DSPF","scopeName":"source.dds.dspf","patterns":[{"include":"#comments"},{"include":"#constants"},{"include":"#keywords"},{"include":"#gutter"},{"include":"#strings"}],"repository":{"comments":{"patterns":[{"name":"comment.line.dds.dspf","match":"^.{5}(.)(\\*).*"}]},"constants":{"patterns":[{"name":"constant.language.dds.dspf","match":"(\\*)[a-zA-Z][a-zA-Z0-9]*"},{"name":"constant.language.dds.dspf.andor","match":"(?i)(?\u003c=^.{5}(A|\\s).{0})(A|O)"},{"name":"constant.language.dds.dspf.n01","match":"(?i)(?\u003c=^.{5}(A|\\s).{1})(N|\\s)[0-9]{2}"},{"name":"constant.language.dds.dspf.n02","match":"(?i)(?\u003c=^.{5}(A|\\s).{4})(N|\\s)[0-9]{2}"},{"name":"constant.language.dds.dspf.n03","match":"(?i)(?\u003c=^.{5}(A|\\s).{7})(N|\\s)[0-9]{2}"},{"name":"constant.language.dds.dspf.nameType","match":"(?i)(?\u003c=^.{5}(A|\\s).{10})(R|H)"},{"name":"constant.language.dds.dspf.ref","match":"(?i)(?\u003c=^.{5}(A|\\s).{22})(R)"},{"name":"constant.language.dds.dspf.len","match":"(?i)(?\u003c=^.{5}(A|\\s).{23})[0-9|\\s]{5}"},{"name":"constant.language.dds.dspf.dataType","match":"(?i)(?\u003c=^.{5}(A|\\s).{28})(A|D|E|F|G|I|J|L|M|N|O|S|T|W|X|Y|Z)"},{"name":"constant.language.dds.dspf.decpos","match":"(?i)(?\u003c=^.{5}(A|\\s).{29})[0-9|\\s]{2}"},{"name":"constant.language.dds.dspf.usage","match":"(?i)(?\u003c=^.{5}(A|\\s).{31})(O|I|B|H|M|P)"},{"name":"constant.language.dds.dspf.locline","match":"(?i)(?\u003c=^.{5}(A|\\s).{32})([0-9]|\\s){3}"},{"name":"constant.language.dds.dspf.locpos","match":"(?i)(?\u003c=^.{5}(A|\\s).{35})([0-9]|\\s){3}"},{"name":"constant.numeric.dds.dspf","match":"\\b([0-9]+)\\b"},{"name":"dds.dspf.check","begin":"(?i)(?\u003c=(CHECK\\())","end":"(?=(\\)))","patterns":[{"name":"constant.other.dds.dspf.check.values","match":"(?i)(\\b(AB|ME|MF|M10F|M10|M11F|M11|VNE|VN|ER|FE|LC|RB|RZ|RLTB|RL)\\b)"}]},{"name":"dds.dspf.dspatr","begin":"(?i)(?\u003c=(DSPATR\\())","end":"(?=(\\)))","patterns":[{"name":"constant.other.dds.dspf.dspatr.values","match":"(?i)(\\b(SP|PR|OID|MDT|UL|RI|PC|ND|HI|CS|BL)\\b)"}]},{"name":"dds.dspf.color","begin":"(?i)(?\u003c=(COLOR\\())","end":"(?=(\\)))","patterns":[{"name":"constant.other.dds.dspf.color.values","match":"(?i)(\\b(BLU|PNK|YLW|TRQ|RED|WHT|GRN)\\b)"}]},{"name":"dds.dspf.comp","begin":"(?i)((?\u003c=((COMP)\\())|(?\u003c=((CMP)\\()))","end":"(?=(\\)))","patterns":[{"name":"keyword.other.dds.dspf.comp.values","match":"(?i)(\\b(GE|LE|NG|GT|NL|LT|NE|EQ)\\b)"},{"name":"constant.numeric.dds.dspf","match":"\\b([0-9]+)\\b"}]}]},"gutter":{"patterns":[{"name":"comment.gutter","match":"^.{5}"}]},"keywords":{"patterns":[{"name":"keyword.other.dds.dspf.spec","match":"(?i)(?\u003c=^.{5})[A]"},{"name":"keyword.other.dds.dspf","match":"\\+"},{"name":"keyword.other.dds.dspf.func","match":"((?i)(C(A|F)))[0-9]{2}"},{"name":"keyword.other.dds.dspf.funcs","match":"(?i)(?\u003c=(.{44}))(WRDWRAP|WINDOW|WDWTITLE|WDWBORDER|VLDCMDKEY|VALUES|VALNUM|USRRSTDSP|USRDSPMGT|USRDFN|USER|UNLOCK|TIMSEP|TIMFMT|TIME|TEXT|SYSNAME|SNGCHCFLD|SLNO|SFLSNGCHC|SFLSIZ|SFLSCROLL|SFLRTNSEL|SFLROLVAL|SFLRNA|SFLRCDNBR|SFLPGMQ|SFLPAG|SFLNXTCHG|SFLMSGRCD|SFLMSGKEY|SFLMSG|SFLMODE|SFLMLTCHC|SFLLIN|SFLINZ|SFLFOLD|SFLENTER|SFLEND|SFLDSPCTL|SFLDSP|SFLDROP|SFLDLT|SFLCTL|SFLCRRRN|SFLCSRPRG|SFLCLR|SFLCHCCTL|SETOFF|SETOF|RTNDTA|RTNCSRLOC|ROLLUP|ROLLDOWN|RMVWDW|RETLCKSTS|RETKEY|REFFLD|REF|RANGE|PUTRETAIN|PUTOVR|PULLDOWN|PSHBTNFLD|PSHBTNCHC|PROTECT|PRINT|PASSRCD|PAGEDOWN|PAGEUP|OVRDTA|OVRATR|OVERLAY|OPENPRT|NOCCSID|MSGLOC|MSGID|MSGCON|MSGALARM|MOUBTN|MNUCNL|MNUBARSW|MNUBARSEP|MNUBARDSP|MNUBARCHC|MNUBAR|MLTCHFLD|MDTOFF|MAPVAL|LOWER|LOGOUT|LOGINP|LOCK|KEEP|INZRCD|INZINP|INVITE|INDTXT|INDARA|HTML|HOME|HLPTITLE|HLPSEQ|HLPSCHIDX|HLPRTN|HLPRCD|HLPPNLGRP|HLPID|HLPFULL|HLPEXCLD|HLPDOC|HLPCMDKEY|HLPCLR|HLPBDY|HLPARA|HELP|GETRETAIN|FRCDTA|FLTPCN|FLTFIXDEC|FLDCSRPRG|ERRSFL|ERRMSG|ERRMSGID|ERASEINP|ERASE|ENTFLDATR|EDTWRD|EDTMSK|EDTCDE|DUP|DSPSIZ|DSPRL|DSPMOD|DSPATR|DLTEDT|DLTCHK|DFTVAL|DFT|DATSEP|DATFMT|DATE|CSRLOC|CSRINPONLY|COMP|COLOR|CNTFLD|CLEAR|CHRID|CHOICE|CHKMSGID|CHGINPDFT|CHECK|CHCUNAVAIL|CHCSLT|CHCCTL|CHCAVAIL|CHCACCEL|CHANGE|BLKFOLD|BLINK|BLANKS|AUTO|ASSUME|ALWROL|ALWGPH|ALTPAGEDWN|ALTPAGEUP|ALTNAME|ALTHELP|ALIAS|ALARM)\\b"},{"name":"keyword.other.dds.dspf.funcs","match":"\\b(?i)(CMP|CLRL|SFL)\\b"}]},"strings":{"name":"string.quoted.single.dds.dspf","begin":"'","end":"'","patterns":[{"name":"keyword.other.dds.dspf.spec","match":"(?i)(?\u003c=^.{5})[A]"}]}}}
1
+ {"name":"DDS.DSPF","scopeName":"source.dds.dspf","patterns":[{"include":"#comments"},{"include":"#constants"},{"include":"#keywords"},{"include":"#gutter"},{"include":"#strings"}],"repository":{"comments":{"patterns":[{"name":"comment.line.dds.dspf","match":"^.{5}(.)(\\*).*"}]},"constants":{"patterns":[{"name":"constant.language.dds.dspf","match":"(\\*)[a-zA-Z][a-zA-Z0-9]*"},{"name":"constant.language.dds.dspf.andor","match":"(?i)(?\u003c=^.{5}(A|\\s).{0})(A|O)"},{"name":"constant.language.dds.dspf.n01","match":"(?i)(?\u003c=^.{5}(A|\\s).{1})(N|\\s)[0-9]{2}"},{"name":"constant.language.dds.dspf.n02","match":"(?i)(?\u003c=^.{5}(A|\\s).{4})(N|\\s)[0-9]{2}"},{"name":"constant.language.dds.dspf.n03","match":"(?i)(?\u003c=^.{5}(A|\\s).{7})(N|\\s)[0-9]{2}"},{"name":"constant.language.dds.dspf.nameType","match":"(?i)(?\u003c=^.{5}(A|\\s).{10})(R|H)"},{"name":"constant.language.dds.dspf.ref","match":"(?i)(?\u003c=^.{5}(A|\\s).{22})(R)"},{"name":"constant.language.dds.dspf.len","match":"(?i)(?\u003c=^.{5}(A|\\s).{23})[0-9|\\s]{5}"},{"name":"constant.language.dds.dspf.dataType","match":"(?i)(?\u003c=^.{5}(A|\\s).{28})(A|D|E|F|G|I|J|L|M|N|O|S|T|W|X|Y|Z)"},{"name":"constant.language.dds.dspf.decpos","match":"(?i)(?\u003c=^.{5}(A|\\s).{29})[0-9|\\s]{2}"},{"name":"constant.language.dds.dspf.usage","match":"(?i)(?\u003c=^.{5}(A|\\s).{31})(O|I|B|H|M|P)"},{"name":"constant.language.dds.dspf.locline","match":"(?i)(?\u003c=^.{5}(A|\\s).{32})([0-9]|\\s){3}"},{"name":"constant.language.dds.dspf.locpos","match":"(?i)(?\u003c=^.{5}(A|\\s).{35})([0-9]|\\s){3}"},{"name":"constant.numeric.dds.dspf","match":"\\b([0-9]+)\\b"},{"name":"dds.dspf.check","begin":"(?i)(?\u003c=(CHECK\\())","end":"(?=(\\)))","patterns":[{"name":"constant.other.dds.dspf.check.values","match":"(?i)(\\b(AB|ME|MF|M10F|M10|M11F|M11|VNE|VN|ER|FE|LC|RB|RZ|RLTB|RL)\\b)"}]},{"name":"dds.dspf.dspatr","begin":"(?i)(?\u003c=(DSPATR\\())","end":"(?=(\\)))","patterns":[{"name":"constant.other.dds.dspf.dspatr.values","match":"(?i)(\\b(SP|PR|OID|MDT|UL|RI|PC|ND|HI|CS|BL)\\b)"}]},{"name":"dds.dspf.color","begin":"(?i)(?\u003c=(COLOR\\())","end":"(?=(\\)))","patterns":[{"name":"constant.other.dds.dspf.color.values","match":"(?i)(\\b(BLU|PNK|YLW|TRQ|RED|WHT|GRN)\\b)"}]},{"name":"dds.dspf.comp","begin":"(?i)((?\u003c=((COMP)\\())|(?\u003c=((CMP)\\()))","end":"(?=(\\)))","patterns":[{"name":"keyword.other.dds.dspf.comp.values","match":"(?i)(\\b(GE|LE|NG|GT|NL|LT|NE|EQ)\\b)"},{"name":"constant.numeric.dds.dspf","match":"\\b([0-9]+)\\b"}]}]},"gutter":{"patterns":[{"name":"comment.gutter","match":"^.{5}"}]},"keywords":{"patterns":[{"name":"keyword.other.dds.dspf.spec","match":"(?i)(?\u003c=^.{5})[A]"},{"name":"keyword.other.dds.dspf","match":"\\+"},{"name":"keyword.other.dds.dspf.func","match":"((?i)(C(A|F)))[0-9]{2}"},{"name":"keyword.other.dds.dspf.funcs","match":"(?i)(?\u003c=(.{44}))(WRDWRAP|WINDOW|WDWTITLE|WDWBORDER|VLDCMDKEY|VALUES|VALNUM|USRRSTDSP|USRDSPMGT|USRDFN|USER|UNLOCK|TIMSEP|TIMFMT|TIME|TEXT|SYSNAME|SNGCHCFLD|SLNO|SFLSNGCHC|SFLSIZ|SFLSCROLL|SFLRTNSEL|SFLROLVAL|SFLRNA|SFLRCDNBR|SFLPGMQ|SFLPAG|SFLNXTCHG|SFLMSGRCD|SFLMSGKEY|SFLMSG|SFLMODE|SFLMLTCHC|SFLLIN|SFLINZ|SFLFOLD|SFLENTER|SFLEND|SFLDSPCTL|SFLDSP|SFLDROP|SFLDLT|SFLCTL|SFLCSRRRN|SFLCSRPRG|SFLCLR|SFLCHCCTL|SETOFF|SETOF|RTNDTA|RTNCSRLOC|ROLLUP|ROLLDOWN|RMVWDW|RETLCKSTS|RETKEY|REFFLD|REF|RANGE|PUTRETAIN|PUTOVR|PULLDOWN|PSHBTNFLD|PSHBTNCHC|PROTECT|PRINT|PASSRCD|PAGEDOWN|PAGEUP|OVRDTA|OVRATR|OVERLAY|OPENPRT|NOCCSID|MSGLOC|MSGID|MSGCON|MSGALARM|MOUBTN|MNUCNL|MNUBARSW|MNUBARSEP|MNUBARDSP|MNUBARCHC|MNUBAR|MLTCHCFLD|MDTOFF|MAPVAL|LOWER|LOGOUT|LOGINP|LOCK|KEEP|INZRCD|INZINP|INVITE|INDTXT|INDARA|HTML|HOME|HLPTITLE|HLPSEQ|HLPSCHIDX|HLPRTN|HLPRCD|HLPPNLGRP|HLPID|HLPFULL|HLPEXCLD|HLPDOC|HLPCMDKEY|HLPCLR|HLPBDY|HLPARA|HELP|GETRETAIN|FRCDTA|FLTPCN|FLTFIXDEC|FLDCSRPRG|ERRSFL|ERRMSG|ERRMSGID|ERASEINP|ERASE|ENTFLDATR|EDTWRD|EDTMSK|EDTCDE|DUP|DSPSIZ|DSPRL|DSPMOD|DSPATR|DLTEDT|DLTCHK|DFTVAL|DFT|DATSEP|DATFMT|DATE|CSRLOC|CSRINPONLY|COMP|COLOR|CNTFLD|CLEAR|CHRID|CHOICE|CHKMSGID|CHGINPDFT|CHECK|CHCUNAVAIL|CHCSLT|CHCCTL|CHCAVAIL|CHCACCEL|CHANGE|BLKFOLD|BLINK|BLANKS|AUTO|ASSUME|ALWROL|ALWGPH|ALTPAGEDWN|ALTPAGEUP|ALTNAME|ALTHELP|ALIAS|ALARM)\\b"},{"name":"keyword.other.dds.dspf.funcs","match":"\\b(?i)(CMP|CLRL|SFL)\\b"}]},"strings":{"name":"string.quoted.single.dds.dspf","begin":"'","end":"'","patterns":[{"name":"keyword.other.dds.dspf.spec","match":"(?i)(?\u003c=^.{5})[A]"}]}}}
@@ -1 +1 @@
1
- {"name":"Erlang","scopeName":"source.erlang","patterns":[{"include":"#module-directive"},{"include":"#import-export-directive"},{"include":"#behaviour-directive"},{"include":"#record-directive"},{"include":"#define-directive"},{"include":"#macro-directive"},{"include":"#directive"},{"include":"#function"},{"include":"#everything-else"}],"repository":{"atom":{"patterns":[{"name":"constant.other.symbol.quoted.single.erlang","begin":"(')","end":"(')","patterns":[{"name":"constant.other.symbol.escape.erlang","match":"(\\\\)([bdefnrstv\\\\'\"]|(\\^)[@-_]|[0-7]{1,3})","captures":{"1":{"name":"punctuation.definition.escape.erlang"},"3":{"name":"punctuation.definition.escape.erlang"}}},{"name":"invalid.illegal.atom.erlang","match":"\\\\\\^?.?"}],"beginCaptures":{"1":{"name":"punctuation.definition.symbol.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.symbol.end.erlang"}}},{"name":"constant.other.symbol.unquoted.erlang","match":"[a-z][a-zA-Z\\d@_]*+"}]},"behaviour-directive":{"name":"meta.directive.behaviour.erlang","match":"^\\s*+(-)\\s*+(behaviour)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.behaviour.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.type.class.behaviour.definition.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}},"binary":{"name":"meta.structure.binary.erlang","begin":"(\u003c\u003c)","end":"(\u003e\u003e)","patterns":[{"match":"(,)|(:)","captures":{"1":{"name":"punctuation.separator.binary.erlang"},"2":{"name":"punctuation.separator.value-size.erlang"}}},{"include":"#internal-type-specifiers"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.binary.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.binary.end.erlang"}}},"character":{"patterns":[{"name":"constant.character.erlang","match":"(\\$)((\\\\)([bdefnrstv\\\\'\"]|(\\^)[@-_]|[0-7]{1,3}))","captures":{"1":{"name":"punctuation.definition.character.erlang"},"2":{"name":"constant.character.escape.erlang"},"3":{"name":"punctuation.definition.escape.erlang"},"5":{"name":"punctuation.definition.escape.erlang"}}},{"name":"invalid.illegal.character.erlang","match":"\\$\\\\\\^?.?"},{"name":"constant.character.erlang","match":"(\\$)\\S","captures":{"1":{"name":"punctuation.definition.character.erlang"}}},{"name":"invalid.illegal.character.erlang","match":"\\$.?"}]},"comment":{"begin":"(^[ \\t]+)?(?=%)","end":"(?!\\G)","patterns":[{"name":"comment.line.percentage.erlang","begin":"%","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.erlang"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.erlang"}}},"define-directive":{"patterns":[{"name":"meta.directive.define.erlang","begin":"^\\s*+(-)\\s*+(define)\\s*+(\\()\\s*+([a-zA-Z\\d@_]++)\\s*+(,)","end":"(\\))\\s*+(\\.)","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.define.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.definition.erlang"},"5":{"name":"punctuation.separator.parameters.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.define.erlang","begin":"(?=^\\s*+-\\s*+define\\s*+\\(\\s*+[a-zA-Z\\d@_]++\\s*+\\()","end":"(\\))\\s*+(\\.)","patterns":[{"begin":"^\\s*+(-)\\s*+(define)\\s*+(\\()\\s*+([a-zA-Z\\d@_]++)\\s*+(\\()","end":"(\\))\\s*(,)","patterns":[{"name":"punctuation.separator.parameters.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.define.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.definition.erlang"},"5":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.separator.parameters.erlang"}}},{"name":"punctuation.separator.define.erlang","match":"\\|\\||\\||:|;|,|\\.|-\u003e"},{"include":"#everything-else"}],"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}}]},"directive":{"patterns":[{"name":"meta.directive.erlang","begin":"^\\s*+(-)\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\(?)","end":"(\\)?)\\s*+(\\.)","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.erlang","match":"^\\s*+(-)\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.erlang"},"3":{"name":"punctuation.section.directive.end.erlang"}}}]},"everything-else":{"patterns":[{"include":"#comment"},{"include":"#record-usage"},{"include":"#macro-usage"},{"include":"#expression"},{"include":"#keyword"},{"include":"#textual-operator"},{"include":"#function-call"},{"include":"#tuple"},{"include":"#list"},{"include":"#binary"},{"include":"#parenthesized-expression"},{"include":"#character"},{"include":"#number"},{"include":"#atom"},{"include":"#string"},{"include":"#symbolic-operator"},{"include":"#variable"}]},"expression":{"patterns":[{"name":"meta.expression.if.erlang","begin":"\\b(if)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.if.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.case.erlang","begin":"\\b(case)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.case.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.receive.erlang","begin":"\\b(receive)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.receive.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"match":"\\b(fun)\\s+(([a-z][a-zA-Z\\d@_]*+)\\s*+(:)\\s*+)?([a-z][a-zA-Z\\d@_]*+)\\s*(/)","captures":{"1":{"name":"keyword.control.fun.erlang"},"3":{"name":"entity.name.type.class.module.erlang"},"4":{"name":"punctuation.separator.module-function.erlang"},"5":{"name":"entity.name.function.erlang"},"6":{"name":"punctuation.separator.function-arity.erlang"}}},{"name":"meta.expression.fun.erlang","begin":"\\b(fun)\\b","end":"\\b(end)\\b","patterns":[{"begin":"(?=\\()","end":"(;)|(?=\\bend\\b)","patterns":[{"include":"#internal-function-parts"}],"endCaptures":{"1":{"name":"punctuation.separator.clauses.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.fun.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.try.erlang","begin":"\\b(try)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.try.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.begin.erlang","begin":"\\b(begin)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.begin.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}}]},"function":{"name":"meta.function.erlang","begin":"^\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(?=\\()","end":"(\\.)","patterns":[{"match":"^\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(?=\\()","captures":{"1":{"name":"entity.name.function.erlang"}}},{"begin":"(?=\\()","end":"(;)|(?=\\.)","patterns":[{"include":"#parenthesized-expression"},{"include":"#internal-function-parts"}],"endCaptures":{"1":{"name":"punctuation.separator.clauses.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"entity.name.function.definition.erlang"}},"endCaptures":{"1":{"name":"punctuation.terminator.function.erlang"}}},"function-call":{"name":"meta.function-call.erlang","begin":"(?=([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(\\(|:\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+\\())","end":"(\\))","patterns":[{"begin":"((erlang)\\s*+(:)\\s*+)?(is_atom|is_binary|is_constant|is_float|is_function|is_integer|is_list|is_number|is_pid|is_port|is_reference|is_tuple|is_record|abs|element|hd|length|node|round|self|size|tl|trunc)\\s*+(\\()","end":"(?=\\))","patterns":[{"name":"punctuation.separator.parameters.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"2":{"name":"entity.name.type.class.module.erlang"},"3":{"name":"punctuation.separator.module-function.erlang"},"4":{"name":"entity.name.function.guard.erlang"},"5":{"name":"punctuation.definition.parameters.begin.erlang"}}},{"begin":"(([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(:)\\s*+)?([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(\\()","end":"(?=\\))","patterns":[{"name":"punctuation.separator.parameters.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"2":{"name":"entity.name.type.class.module.erlang"},"3":{"name":"punctuation.separator.module-function.erlang"},"4":{"name":"entity.name.function.erlang"},"5":{"name":"punctuation.definition.parameters.begin.erlang"}}}],"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"}}},"import-export-directive":{"patterns":[{"name":"meta.directive.import.erlang","begin":"^\\s*+(-)\\s*+(import)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(,)","end":"(\\))\\s*+(\\.)","patterns":[{"include":"#internal-function-list"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.import.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.type.class.module.erlang"},"5":{"name":"punctuation.separator.parameters.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.export.erlang","begin":"^\\s*+(-)\\s*+(export)\\s*+(\\()","end":"(\\))\\s*+(\\.)","patterns":[{"include":"#internal-function-list"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.export.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}}]},"internal-expression-punctuation":{"match":"(-\u003e)|(;)|(,)","captures":{"1":{"name":"punctuation.separator.clause-head-body.erlang"},"2":{"name":"punctuation.separator.clauses.erlang"},"3":{"name":"punctuation.separator.expressions.erlang"}}},"internal-function-list":{"name":"meta.structure.list.function.erlang","begin":"(\\[)","end":"(\\])","patterns":[{"begin":"([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(/)","end":"(,)|(?=\\])","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"entity.name.function.erlang"},"2":{"name":"punctuation.separator.function-arity.erlang"}},"endCaptures":{"1":{"name":"punctuation.separator.list.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.list.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.list.end.erlang"}}},"internal-function-parts":{"patterns":[{"begin":"(?=\\()","end":"(-\u003e)","patterns":[{"begin":"(\\()","end":"(\\))","patterns":[{"name":"punctuation.separator.parameters.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"}}},{"name":"punctuation.separator.guards.erlang","match":",|;"},{"include":"#everything-else"}],"endCaptures":{"1":{"name":"punctuation.separator.clause-head-body.erlang"}}},{"name":"punctuation.separator.expressions.erlang","match":","},{"include":"#everything-else"}]},"internal-record-body":{"name":"meta.structure.record.erlang","begin":"(\\{)","end":"(?=\\})","patterns":[{"begin":"(([a-z][a-zA-Z\\d@_]*+|'[^']*+')|(_))\\s*+(=|::)","end":"(,)|(?=\\})","patterns":[{"include":"#everything-else"}],"beginCaptures":{"2":{"name":"variable.other.field.erlang"},"3":{"name":"variable.language.omitted.field.erlang"},"4":{"name":"keyword.operator.assignment.erlang"}},"endCaptures":{"1":{"name":"punctuation.separator.class.record.erlang"}}},{"match":"([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(,)?","captures":{"1":{"name":"variable.other.field.erlang"},"2":{"name":"punctuation.separator.class.record.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.class.record.begin.erlang"}}},"internal-type-specifiers":{"begin":"(/)","end":"(?=,|:|\u003e\u003e)","patterns":[{"match":"(integer|float|binary|bytes|bitstring|bits)|(signed|unsigned)|(big|little|native)|(unit)|(-)","captures":{"1":{"name":"storage.type.erlang"},"2":{"name":"storage.modifier.signedness.erlang"},"3":{"name":"storage.modifier.endianness.erlang"},"4":{"name":"storage.modifier.unit.erlang"},"5":{"name":"punctuation.separator.type-specifiers.erlang"}}}],"beginCaptures":{"1":{"name":"punctuation.separator.value-type.erlang"}}},"keyword":{"name":"keyword.control.erlang","match":"\\b(after|begin|case|catch|cond|end|fun|if|let|of|try|receive|when)\\b"},"list":{"name":"meta.structure.list.erlang","begin":"(\\[)","end":"(\\])","patterns":[{"name":"punctuation.separator.list.erlang","match":"\\||\\|\\||,"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.list.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.list.end.erlang"}}},"macro-directive":{"patterns":[{"name":"meta.directive.ifdef.erlang","match":"^\\s*+(-)\\s*+(ifdef)\\s*+(\\()\\s*+([a-zA-z\\d@_]++)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.ifdef.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.ifndef.erlang","match":"^\\s*+(-)\\s*+(ifndef)\\s*+(\\()\\s*+([a-zA-z\\d@_]++)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.ifndef.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.undef.erlang","match":"^\\s*+(-)\\s*+(undef)\\s*+(\\()\\s*+([a-zA-z\\d@_]++)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.undef.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}}]},"macro-usage":{"name":"meta.macro-usage.erlang","match":"(\\?\\??)\\s*+([a-zA-Z\\d@_]++)","captures":{"1":{"name":"keyword.operator.macro.erlang"},"2":{"name":"entity.name.function.macro.erlang"}}},"module-directive":{"name":"meta.directive.module.erlang","match":"^\\s*+(-)\\s*+(module)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.module.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.type.class.module.definition.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}},"number":{"begin":"(?=\\d)","end":"(?!\\d)","patterns":[{"name":"constant.numeric.float.erlang","match":"\\d++(\\.)\\d++([eE][\\+\\-]?\\d++)?","captures":{"1":{"name":"punctuation.separator.integer-float.erlang"},"2":{"name":"punctuation.separator.float-exponent.erlang"}}},{"name":"constant.numeric.integer.binary.erlang","match":"2(#)[0-1]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-3.erlang","match":"3(#)[0-2]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-4.erlang","match":"4(#)[0-3]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-5.erlang","match":"5(#)[0-4]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-6.erlang","match":"6(#)[0-5]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-7.erlang","match":"7(#)[0-6]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.octal.erlang","match":"8(#)[0-7]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-9.erlang","match":"9(#)[0-8]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.decimal.erlang","match":"10(#)\\d++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-11.erlang","match":"11(#)[\\daA]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-12.erlang","match":"12(#)[\\da-bA-B]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-13.erlang","match":"13(#)[\\da-cA-C]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-14.erlang","match":"14(#)[\\da-dA-D]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-15.erlang","match":"15(#)[\\da-eA-E]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.hexadecimal.erlang","match":"16(#)[0-9A-Fa-f]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-17.erlang","match":"17(#)[\\da-gA-G]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-18.erlang","match":"18(#)[\\da-hA-H]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-19.erlang","match":"19(#)[\\da-iA-I]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-20.erlang","match":"20(#)[\\da-jA-J]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-21.erlang","match":"21(#)[\\da-kA-K]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-22.erlang","match":"22(#)[\\da-lA-L]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-23.erlang","match":"23(#)[\\da-mA-M]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-24.erlang","match":"24(#)[\\da-nA-N]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-25.erlang","match":"25(#)[\\da-oA-O]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-26.erlang","match":"26(#)[\\da-pA-P]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-27.erlang","match":"27(#)[\\da-qA-Q]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-28.erlang","match":"28(#)[\\da-rA-R]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-29.erlang","match":"29(#)[\\da-sA-S]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-30.erlang","match":"30(#)[\\da-tA-T]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-31.erlang","match":"31(#)[\\da-uA-U]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-32.erlang","match":"32(#)[\\da-vA-V]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-33.erlang","match":"33(#)[\\da-wA-W]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-34.erlang","match":"34(#)[\\da-xA-X]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-35.erlang","match":"35(#)[\\da-yA-Y]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-36.erlang","match":"36(#)[\\da-zA-Z]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"invalid.illegal.integer.erlang","match":"\\d++#[\\da-zA-Z]++"},{"name":"constant.numeric.integer.decimal.erlang","match":"\\d++"}]},"parenthesized-expression":{"name":"meta.expression.parenthesized","begin":"(\\()","end":"(\\))","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.expression.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.section.expression.end.erlang"}}},"record-directive":{"name":"meta.directive.record.erlang","begin":"^\\s*+(-)\\s*+(record)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(,)","end":"((\\}))\\s*+(\\))\\s*+(\\.)","patterns":[{"include":"#internal-record-body"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.import.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.type.class.record.definition.erlang"},"5":{"name":"punctuation.separator.parameters.erlang"}},"endCaptures":{"1":{"name":"meta.structure.record.erlang"},"2":{"name":"punctuation.definition.class.record.end.erlang"},"3":{"name":"punctuation.definition.parameters.end.erlang"},"4":{"name":"punctuation.section.directive.end.erlang"}}},"record-usage":{"patterns":[{"name":"meta.record-usage.erlang","match":"(#)\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(\\.)\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')","captures":{"1":{"name":"keyword.operator.record.erlang"},"2":{"name":"entity.name.type.class.record.erlang"},"3":{"name":"punctuation.separator.record-field.erlang"},"4":{"name":"variable.other.field.erlang"}}},{"name":"meta.record-usage.erlang","begin":"(#)\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')","end":"((\\}))","patterns":[{"include":"#internal-record-body"}],"beginCaptures":{"1":{"name":"keyword.operator.record.erlang"},"2":{"name":"entity.name.type.class.record.erlang"}},"endCaptures":{"1":{"name":"meta.structure.record.erlang"},"2":{"name":"punctuation.definition.class.record.end.erlang"}}}]},"string":{"name":"string.quoted.double.erlang","begin":"(\")","end":"(\")","patterns":[{"name":"constant.character.escape.erlang","match":"(\\\\)([bdefnrstv\\\\'\"]|(\\^)[@-_]|[0-7]{1,3})","captures":{"1":{"name":"punctuation.definition.escape.erlang"},"3":{"name":"punctuation.definition.escape.erlang"}}},{"name":"invalid.illegal.string.erlang","match":"\\\\\\^?.?"},{"name":"constant.other.placeholder.erlang","match":"(~)((\\-)?\\d++|(\\*))?((\\.)(\\d++|(\\*)))?((\\.)((\\*)|.))?[~cfegswpWPBX#bx\\+ni]","captures":{"1":{"name":"punctuation.definition.placeholder.erlang"},"10":{"name":"punctuation.separator.placeholder-parts.erlang"},"12":{"name":"punctuation.separator.placeholder-parts.erlang"},"3":{"name":"punctuation.separator.placeholder-parts.erlang"},"4":{"name":"punctuation.separator.placeholder-parts.erlang"},"6":{"name":"punctuation.separator.placeholder-parts.erlang"},"8":{"name":"punctuation.separator.placeholder-parts.erlang"}}},{"name":"constant.other.placeholder.erlang","match":"(~)(\\*)?(\\d++)?[~du\\-#fsacl]","captures":{"1":{"name":"punctuation.definition.placeholder.erlang"},"2":{"name":"punctuation.separator.placeholder-parts.erlang"}}},{"name":"invalid.illegal.string.erlang","match":"~.?"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"symbolic-operator":{"name":"keyword.operator.symbolic.erlang","match":"\\+\\+|\\+|--|-|\\*|/=|/|=/=|=:=|==|=\u003c|=|\u003c-|\u003c|\u003e=|\u003e|!|::"},"textual-operator":{"name":"keyword.operator.textual.erlang","match":"\\b(andalso|band|and|bxor|xor|bor|orelse|or|bnot|not|bsl|bsr|div|rem)\\b"},"tuple":{"name":"meta.structure.tuple.erlang","begin":"(\\{)","end":"(\\})","patterns":[{"name":"punctuation.separator.tuple.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.tuple.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.tuple.end.erlang"}}},"variable":{"match":"(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+)|(_)","captures":{"1":{"name":"variable.other.erlang"},"2":{"name":"variable.language.omitted.erlang"}}}}}
1
+ {"name":"Erlang","scopeName":"source.erlang","patterns":[{"include":"#module-directive"},{"include":"#import-export-directive"},{"include":"#behaviour-directive"},{"include":"#record-directive"},{"include":"#define-directive"},{"include":"#macro-directive"},{"include":"#doc-directive"},{"include":"#directive"},{"include":"#function"},{"include":"#everything-else"}],"repository":{"atom":{"patterns":[{"name":"constant.other.symbol.quoted.single.erlang","begin":"(')","end":"(')","patterns":[{"name":"constant.other.symbol.escape.erlang","match":"(\\\\)([bdefnrstv\\\\'\"]|(\\^)[@-_a-z]|[0-7]{1,3}|x[\\da-fA-F]{2})","captures":{"1":{"name":"punctuation.definition.escape.erlang"},"3":{"name":"punctuation.definition.escape.erlang"}}},{"name":"invalid.illegal.atom.erlang","match":"\\\\\\^?.?"}],"beginCaptures":{"1":{"name":"punctuation.definition.symbol.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.symbol.end.erlang"}}},{"name":"constant.other.symbol.unquoted.erlang","match":"[a-z][a-zA-Z\\d@_]*+"}]},"behaviour-directive":{"name":"meta.directive.behaviour.erlang","match":"^\\s*+(-)\\s*+(behaviour)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.behaviour.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.type.class.behaviour.definition.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}},"binary":{"name":"meta.structure.binary.erlang","begin":"(\u003c\u003c)","end":"(\u003e\u003e)","patterns":[{"match":"(,)|(:)","captures":{"1":{"name":"punctuation.separator.binary.erlang"},"2":{"name":"punctuation.separator.value-size.erlang"}}},{"include":"#internal-type-specifiers"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.binary.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.binary.end.erlang"}}},"character":{"patterns":[{"name":"constant.character.erlang","match":"(\\$)((\\\\)([bdefnrstv\\\\'\"]|(\\^)[@-_a-z]|[0-7]{1,3}|x[\\da-fA-F]{2}))","captures":{"1":{"name":"punctuation.definition.character.erlang"},"2":{"name":"constant.character.escape.erlang"},"3":{"name":"punctuation.definition.escape.erlang"},"5":{"name":"punctuation.definition.escape.erlang"}}},{"name":"invalid.illegal.character.erlang","match":"\\$\\\\\\^?.?"},{"name":"constant.character.erlang","match":"(\\$)[ \\S]","captures":{"1":{"name":"punctuation.definition.character.erlang"}}},{"name":"invalid.illegal.character.erlang","match":"\\$.?"}]},"comment":{"begin":"(^[ \\t]+)?(?=%)","end":"(?!\\G)","patterns":[{"name":"comment.line.percentage.erlang","begin":"%","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.erlang"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.erlang"}}},"define-directive":{"patterns":[{"name":"meta.directive.define.erlang","begin":"^\\s*+(-)\\s*+(define)\\s*+(\\()\\s*+([a-zA-Z\\d@_]++)\\s*+","end":"(\\))\\s*+(\\.)","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.define.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.definition.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.define.erlang","begin":"(?=^\\s*+-\\s*+define\\s*+\\(\\s*+[a-zA-Z\\d@_]++\\s*+\\()","end":"(\\))\\s*+(\\.)","patterns":[{"begin":"^\\s*+(-)\\s*+(define)\\s*+(\\()\\s*+([a-zA-Z\\d@_]++)\\s*+(\\()","end":"(\\))\\s*(,)","patterns":[{"name":"punctuation.separator.parameters.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.define.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.definition.erlang"},"5":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.separator.parameters.erlang"}}},{"name":"punctuation.separator.define.erlang","match":"\\|\\||\\||:|;|,|\\.|-\u003e"},{"include":"#everything-else"}],"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}}]},"directive":{"patterns":[{"name":"meta.directive.erlang","begin":"^\\s*+(-)\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\(?)","end":"(\\)?)\\s*+(\\.)","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.erlang","match":"^\\s*+(-)\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.erlang"},"3":{"name":"punctuation.section.directive.end.erlang"}}}]},"doc-directive":{"name":"meta.directive.doc.erlang","begin":"^\\s*+(-)\\s*+((module)?doc)\\s*([(]\\s*)?(~[bBsS]?)?(([\"]{3,})\\s*)(\\S.*)?$","end":"^(\\s*(\\7))\\s*([)]\\s*)?(\\.)","patterns":[{"contentName":"comment.block.documentation.erlang","begin":"\\G","while":"(^)(?!\\s*(\\5))"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.doc.erlang"},"4":{"name":"punctuation.definition.parameters.begin.erlang"},"5":{"name":"storage.type.string.erlang"},"6":{"name":"comment.block.documentation.erlang"},"7":{"name":"punctuation.definition.string.begin.erlang"},"8":{"name":"invalid.illegal.string.erlang"}},"endCaptures":{"1":{"name":"comment.block.documentation.erlang"},"2":{"name":"punctuation.definition.string.end.erlang"},"3":{"name":"punctuation.section.directive.end.Erlang"}}},"docstring":{"name":"string.quoted.triple.erlang","begin":"(?\u003c!\")(([\"]{3,})\\s*)(\\S.*)?$","end":"^(\\s*(\\2))(?!\")","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"meta.string.quoted.triple.begin.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"},"3":{"name":"invalid.illegal.string.erlang"}},"endCaptures":{"1":{"name":"meta.string.quoted.triple.end.erlang"},"2":{"name":"punctuation.definition.string.end.erlang"}}},"everything-else":{"patterns":[{"include":"#comment"},{"include":"#record-usage"},{"include":"#macro-usage"},{"include":"#expression"},{"include":"#keyword"},{"include":"#textual-operator"},{"include":"#language-constant"},{"include":"#function-call"},{"include":"#tuple"},{"include":"#list"},{"include":"#binary"},{"include":"#parenthesized-expression"},{"include":"#character"},{"include":"#number"},{"include":"#atom"},{"include":"#sigil-docstring"},{"include":"#sigil-docstring-verbatim"},{"include":"#sigil-string"},{"include":"#docstring"},{"include":"#string"},{"include":"#symbolic-operator"},{"include":"#variable"}]},"expression":{"patterns":[{"name":"meta.expression.if.erlang","begin":"\\b(if)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.if.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.case.erlang","begin":"\\b(case)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.case.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.receive.erlang","begin":"\\b(receive)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.receive.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.fun.implicit.erlang","match":"\\b(fun)\\s+((([a-z][a-zA-Z\\d@_]*+)|(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+))\\s*+(:)\\s*+)?(([a-z][a-zA-Z\\d@_]*+|'[^']*+')|(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+))\\s*(/)","captures":{"1":{"name":"keyword.control.fun.erlang"},"10":{"name":"punctuation.separator.function-arity.erlang"},"4":{"name":"entity.name.type.class.module.erlang"},"5":{"name":"variable.other.erlang"},"6":{"name":"punctuation.separator.module-function.erlang"},"8":{"name":"entity.name.function.erlang"},"9":{"name":"variable.other.erlang"}}},{"name":"meta.expression.fun.implicit.erlang","begin":"\\b(fun)\\s+(([a-z][a-zA-Z\\d@_]*+)|(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+))\\s*+(:)","end":"(/)","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.fun.erlang"},"3":{"name":"entity.name.type.class.module.erlang"},"4":{"name":"variable.other.erlang"},"5":{"name":"punctuation.separator.module-function.erlang"}},"endCaptures":{"1":{"name":"punctuation.separator.function-arity.erlang"}}},{"name":"meta.expression.fun.implicit.erlang","begin":"\\b(fun)\\s+(?!\\()","end":"(/)","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.fun.erlang"}},"endCaptures":{"1":{"name":"punctuation.separator.function-arity.erlang"}}},{"begin":"\\b(fun)\\s*+(\\()(?=(\\s*+\\()|(\\)))","end":"(\\))","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"entity.name.function.erlang"},"2":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"}}},{"name":"meta.expression.fun.erlang","begin":"\\b(fun)\\b","end":"\\b(end)\\b","patterns":[{"begin":"(?=\\()","end":"(;)|(?=\\bend\\b)","patterns":[{"include":"#internal-function-parts"}],"endCaptures":{"1":{"name":"punctuation.separator.clauses.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.fun.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.try.erlang","begin":"\\b(try)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.try.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.begin.erlang","begin":"\\b(begin)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.begin.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}},{"name":"meta.expression.maybe.erlang","begin":"\\b(maybe)\\b","end":"\\b(end)\\b","patterns":[{"include":"#internal-expression-punctuation"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"keyword.control.maybe.erlang"}},"endCaptures":{"1":{"name":"keyword.control.end.erlang"}}}]},"function":{"name":"meta.function.erlang","begin":"^\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(?=\\()","end":"(\\.)","patterns":[{"match":"^\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(?=\\()","captures":{"1":{"name":"entity.name.function.erlang"}}},{"begin":"(?=\\()","end":"(;)|(?=\\.)","patterns":[{"include":"#parenthesized-expression"},{"include":"#internal-function-parts"}],"endCaptures":{"1":{"name":"punctuation.separator.clauses.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"entity.name.function.definition.erlang"}},"endCaptures":{"1":{"name":"punctuation.terminator.function.erlang"}}},"function-call":{"name":"meta.function-call.erlang","begin":"(?=([a-z][a-zA-Z\\d@_]*+|'[^']*+'|_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+)\\s*+(\\(|:\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+'|_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+)\\s*+\\())","end":"(\\))","patterns":[{"begin":"((erlang)\\s*+(:)\\s*+)?(is_atom|is_binary|is_constant|is_float|is_function|is_integer|is_list|is_number|is_pid|is_port|is_reference|is_tuple|is_record|abs|element|hd|length|node|round|self|size|tl|trunc)\\s*+(\\()","end":"(?=\\))","patterns":[{"name":"punctuation.separator.parameters.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"2":{"name":"entity.name.type.class.module.erlang"},"3":{"name":"punctuation.separator.module-function.erlang"},"4":{"name":"entity.name.function.guard.erlang"},"5":{"name":"punctuation.definition.parameters.begin.erlang"}}},{"begin":"((([a-z][a-zA-Z\\d@_]*+|'[^']*+')|(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+))\\s*+(:)\\s*+)?(([a-z][a-zA-Z\\d@_]*+|'[^']*+')|(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+))\\s*+(\\()","end":"(?=\\))","patterns":[{"name":"punctuation.separator.parameters.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"3":{"name":"entity.name.type.class.module.erlang"},"4":{"name":"variable.other.erlang"},"5":{"name":"punctuation.separator.module-function.erlang"},"7":{"name":"entity.name.function.erlang"},"8":{"name":"variable.other.erlang"},"9":{"name":"punctuation.definition.parameters.begin.erlang"}}}],"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"}}},"import-export-directive":{"patterns":[{"name":"meta.directive.import.erlang","begin":"^\\s*+(-)\\s*+(import)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(,)","end":"(\\))\\s*+(\\.)","patterns":[{"include":"#internal-function-list"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.import.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.type.class.module.erlang"},"5":{"name":"punctuation.separator.parameters.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.export.erlang","begin":"^\\s*+(-)\\s*+(export)\\s*+(\\()","end":"(\\))\\s*+(\\.)","patterns":[{"include":"#internal-function-list"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.export.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}}]},"internal-expression-punctuation":{"match":"(-\u003e)|(;)|(,)","captures":{"1":{"name":"punctuation.separator.clause-head-body.erlang"},"2":{"name":"punctuation.separator.clauses.erlang"},"3":{"name":"punctuation.separator.expressions.erlang"}}},"internal-function-list":{"name":"meta.structure.list.function.erlang","begin":"(\\[)","end":"(\\])","patterns":[{"begin":"([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(/)","end":"(,)|(?=\\])","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"entity.name.function.erlang"},"2":{"name":"punctuation.separator.function-arity.erlang"}},"endCaptures":{"1":{"name":"punctuation.separator.list.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.list.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.list.end.erlang"}}},"internal-function-parts":{"patterns":[{"begin":"(?=\\()","end":"(-\u003e)","patterns":[{"begin":"(\\()","end":"(\\))","patterns":[{"name":"punctuation.separator.parameters.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"}}},{"name":"punctuation.separator.guards.erlang","match":",|;"},{"include":"#everything-else"}],"endCaptures":{"1":{"name":"punctuation.separator.clause-head-body.erlang"}}},{"name":"punctuation.separator.expressions.erlang","match":","},{"include":"#everything-else"}]},"internal-record-body":{"name":"meta.structure.record.erlang","begin":"(\\{)","end":"(\\})","patterns":[{"begin":"(([a-z][a-zA-Z\\d@_]*+|'[^']*+')|(_))","end":"(,)|(?=\\})","patterns":[{"include":"#everything-else"}],"beginCaptures":{"2":{"name":"variable.other.field.erlang"},"3":{"name":"variable.language.omitted.field.erlang"}},"endCaptures":{"1":{"name":"punctuation.separator.class.record.erlang"}}},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.class.record.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.class.record.end.erlang"}}},"internal-string-body":{"patterns":[{"name":"constant.character.escape.erlang","match":"(\\\\)([bdefnrstv\\\\'\"]|(\\^)[@-_a-z]|[0-7]{1,3}|x[\\da-fA-F]{2})","captures":{"1":{"name":"punctuation.definition.escape.erlang"},"3":{"name":"punctuation.definition.escape.erlang"}}},{"name":"invalid.illegal.string.erlang","match":"\\\\\\^?.?"},{"include":"#internal-string-body-verbatim"}]},"internal-string-body-verbatim":{"patterns":[{"name":"constant.character.format.placeholder.other.erlang","match":"(~)((\\-)?\\d++|(\\*))?((\\.)(\\d++|(\\*))?((\\.)((\\*)|.))?)?[tlkK]*[~cfegswpWPBX#bx\\+ni]","captures":{"1":{"name":"punctuation.definition.placeholder.erlang"},"10":{"name":"punctuation.separator.placeholder-parts.erlang"},"6":{"name":"punctuation.separator.placeholder-parts.erlang"}}},{"name":"constant.character.format.placeholder.other.erlang","match":"(~)(\\*)?(\\d++)?(t)?[~du\\-#fsacl]","captures":{"1":{"name":"punctuation.definition.placeholder.erlang"}}},{"name":"invalid.illegal.string.erlang","match":"~[^\"]?"}]},"internal-type-specifiers":{"begin":"(/)","end":"(?=,|:|\u003e\u003e)","patterns":[{"match":"(integer|float|binary|bytes|bitstring|bits|utf8|utf16|utf32)|(signed|unsigned)|(big|little|native)|(unit)(:)(\\d++)|(-)","captures":{"1":{"name":"storage.type.erlang"},"2":{"name":"storage.modifier.signedness.erlang"},"3":{"name":"storage.modifier.endianness.erlang"},"4":{"name":"storage.modifier.unit.erlang"},"5":{"name":"punctuation.separator.unit-specifiers.erlang"},"6":{"name":"constant.numeric.integer.decimal.erlang"},"7":{"name":"punctuation.separator.type-specifiers.erlang"}}}],"beginCaptures":{"1":{"name":"punctuation.separator.value-type.erlang"}}},"keyword":{"name":"keyword.control.erlang","match":"\\b(after|begin|case|catch|cond|end|fun|if|let|of|try|receive|when|maybe|else)\\b"},"language-constant":{"name":"constant.language","match":"\\b(false|true|undefined)\\b"},"list":{"name":"meta.structure.list.erlang","begin":"(\\[)","end":"(\\])","patterns":[{"name":"punctuation.separator.list.erlang","match":"\\||\\|\\||,"},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.list.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.list.end.erlang"}}},"macro-directive":{"patterns":[{"name":"meta.directive.ifdef.erlang","match":"^\\s*+(-)\\s*+(ifdef)\\s*+(\\()\\s*+([a-zA-z\\d@_]++)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.ifdef.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.ifndef.erlang","match":"^\\s*+(-)\\s*+(ifndef)\\s*+(\\()\\s*+([a-zA-z\\d@_]++)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.ifndef.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}},{"name":"meta.directive.undef.erlang","match":"^\\s*+(-)\\s*+(undef)\\s*+(\\()\\s*+([a-zA-z\\d@_]++)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.undef.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.function.macro.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}}]},"macro-usage":{"name":"meta.macro-usage.erlang","match":"(\\?\\??)\\s*+([a-zA-Z\\d@_]++)","captures":{"1":{"name":"keyword.operator.macro.erlang"},"2":{"name":"entity.name.function.macro.erlang"}}},"module-directive":{"name":"meta.directive.module.erlang","match":"^\\s*+(-)\\s*+(module)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+)\\s*+(\\))\\s*+(\\.)","captures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.module.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.type.class.module.definition.erlang"},"5":{"name":"punctuation.definition.parameters.end.erlang"},"6":{"name":"punctuation.section.directive.end.erlang"}}},"number":{"begin":"(?=\\d)","end":"(?!\\d)","patterns":[{"name":"constant.numeric.float.erlang","match":"\\d++(\\.)\\d++([eE][\\+\\-]?\\d++)?","captures":{"1":{"name":"punctuation.separator.integer-float.erlang"},"2":{"name":"punctuation.separator.float-exponent.erlang"}}},{"name":"constant.numeric.integer.binary.erlang","match":"2(#)([0-1]++_)*[0-1]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-3.erlang","match":"3(#)([0-2]++_)*[0-2]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-4.erlang","match":"4(#)([0-3]++_)*[0-3]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-5.erlang","match":"5(#)([0-4]++_)*[0-4]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-6.erlang","match":"6(#)([0-5]++_)*[0-5]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-7.erlang","match":"7(#)([0-6]++_)*[0-6]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.octal.erlang","match":"8(#)([0-7]++_)*[0-7]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-9.erlang","match":"9(#)([0-8]++_)*[0-8]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.decimal.erlang","match":"10(#)(\\d++_)*\\d++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-11.erlang","match":"11(#)([\\daA]++_)*[\\daA]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-12.erlang","match":"12(#)([\\da-bA-B]++_)*[\\da-bA-B]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-13.erlang","match":"13(#)([\\da-cA-C]++_)*[\\da-cA-C]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-14.erlang","match":"14(#)([\\da-dA-D]++_)*[\\da-dA-D]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-15.erlang","match":"15(#)([\\da-eA-E]++_)*[\\da-eA-E]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.hexadecimal.erlang","match":"16(#)([\\da-fA-F]++_)*[\\da-fA-F]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-17.erlang","match":"17(#)([\\da-gA-G]++_)*[\\da-gA-G]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-18.erlang","match":"18(#)([\\da-hA-H]++_)*[\\da-hA-H]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-19.erlang","match":"19(#)([\\da-iA-I]++_)*[\\da-iA-I]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-20.erlang","match":"20(#)([\\da-jA-J]++_)*[\\da-jA-J]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-21.erlang","match":"21(#)([\\da-kA-K]++_)*[\\da-kA-K]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-22.erlang","match":"22(#)([\\da-lA-L]++_)*[\\da-lA-L]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-23.erlang","match":"23(#)([\\da-mA-M]++_)*[\\da-mA-M]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-24.erlang","match":"24(#)([\\da-nA-N]++_)*[\\da-nA-N]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-25.erlang","match":"25(#)([\\da-oA-O]++_)*[\\da-oA-O]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-26.erlang","match":"26(#)([\\da-pA-P]++_)*[\\da-pA-P]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-27.erlang","match":"27(#)([\\da-qA-Q]++_)*[\\da-qA-Q]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-28.erlang","match":"28(#)([\\da-rA-R]++_)*[\\da-rA-R]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-29.erlang","match":"29(#)([\\da-sA-S]++_)*[\\da-sA-S]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-30.erlang","match":"30(#)([\\da-tA-T]++_)*[\\da-tA-T]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-31.erlang","match":"31(#)([\\da-uA-U]++_)*[\\da-uA-U]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-32.erlang","match":"32(#)([\\da-vA-V]++_)*[\\da-vA-V]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-33.erlang","match":"33(#)([\\da-wA-W]++_)*[\\da-wA-W]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-34.erlang","match":"34(#)([\\da-xA-X]++_)*[\\da-xA-X]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-35.erlang","match":"35(#)([\\da-yA-Y]++_)*[\\da-yA-Y]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"constant.numeric.integer.base-36.erlang","match":"36(#)([\\da-zA-Z]++_)*[\\da-zA-Z]++","captures":{"1":{"name":"punctuation.separator.base-integer.erlang"}}},{"name":"invalid.illegal.integer.erlang","match":"\\d++#([\\da-zA-Z]++_)*[\\da-zA-Z]++"},{"name":"constant.numeric.integer.decimal.erlang","match":"(\\d++_)*\\d++"}]},"parenthesized-expression":{"name":"meta.expression.parenthesized","begin":"(\\()","end":"(\\))","patterns":[{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.section.expression.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.section.expression.end.erlang"}}},"record-directive":{"name":"meta.directive.record.erlang","begin":"^\\s*+(-)\\s*+(record)\\s*+(\\()\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(,)","end":"(\\))\\s*+(\\.)","patterns":[{"include":"#internal-record-body"},{"include":"#comment"}],"beginCaptures":{"1":{"name":"punctuation.section.directive.begin.erlang"},"2":{"name":"keyword.control.directive.import.erlang"},"3":{"name":"punctuation.definition.parameters.begin.erlang"},"4":{"name":"entity.name.type.class.record.definition.erlang"},"5":{"name":"punctuation.separator.parameters.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.erlang"},"2":{"name":"punctuation.section.directive.end.erlang"}}},"record-usage":{"patterns":[{"name":"meta.record-usage.erlang","match":"(#)\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')\\s*+(\\.)\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')","captures":{"1":{"name":"keyword.operator.record.erlang"},"2":{"name":"entity.name.type.class.record.erlang"},"3":{"name":"punctuation.separator.record-field.erlang"},"4":{"name":"variable.other.field.erlang"}}},{"name":"meta.record-usage.erlang","begin":"(#)\\s*+([a-z][a-zA-Z\\d@_]*+|'[^']*+')","end":"(?\u003c=\\})","patterns":[{"include":"#internal-record-body"}],"beginCaptures":{"1":{"name":"keyword.operator.record.erlang"},"2":{"name":"entity.name.type.class.record.erlang"}}}]},"sigil-docstring":{"name":"string.quoted.tripple.sigil.erlang","begin":"(~[bs])(([\"]{3,})\\s*)(\\S.*)?$","end":"^(\\s*(\\3))(?!\")","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"meta.string.quoted.triple.begin.erlang"},"3":{"name":"punctuation.definition.string.begin.erlang"},"4":{"name":"invalid.illegal.string.erlang"}},"endCaptures":{"1":{"name":"meta.string.quoted.triple.end.erlang"},"2":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-docstring-verbatim":{"name":"string.quoted.tripple.sigil.erlang","begin":"(~[BS]?)(([\"]{3,})\\s*)(\\S.*)?$","end":"^(\\s*(\\3))(?!\")","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"meta.string.quoted.triple.begin.erlang"},"3":{"name":"punctuation.definition.string.begin.erlang"},"4":{"name":"invalid.illegal.string.erlang"}},"endCaptures":{"1":{"name":"meta.string.quoted.triple.end.erlang"},"2":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string":{"patterns":[{"include":"#sigil-string-parenthesis"},{"include":"#sigil-string-parenthesis-verbatim"},{"include":"#sigil-string-curly-brackets"},{"include":"#sigil-string-curly-brackets-verbatim"},{"include":"#sigil-string-square-brackets"},{"include":"#sigil-string-square-brackets-verbatim"},{"include":"#sigil-string-less-greater"},{"include":"#sigil-string-less-greater-verbatim"},{"include":"#sigil-string-single-character"},{"include":"#sigil-string-single-character-verbatim"},{"include":"#sigil-string-single-quote"},{"include":"#sigil-string-single-quote-verbatim"},{"include":"#sigil-string-double-quote"},{"include":"#sigil-string-double-quote-verbatim"}]},"sigil-string-curly-brackets":{"name":"string.quoted.curly-brackets.sigil.erlang","begin":"(~[bs]?)([{])","end":"([}])","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-curly-brackets-verbatim":{"name":"string.quoted.curly-brackets.sigil.erlang","begin":"(~[BS])([{])","end":"([}])","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-double-quote":{"name":"string.quoted.double.sigil.erlang","begin":"(~[bs]?)(\")","end":"(\\2)","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-double-quote-verbatim":{"name":"string.quoted.double.sigil.erlang","begin":"(~[BS])(\")","end":"(\\2)","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-less-greater":{"name":"string.quoted.less-greater.sigil.erlang","begin":"(~[bs]?)(\u003c)","end":"(\u003e)","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-less-greater-verbatim":{"name":"string.quoted.less-greater.sigil.erlang","begin":"(~[BS])(\u003c)","end":"(\u003e)","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-parenthesis":{"name":"string.quoted.parenthesis.sigil.erlang","begin":"(~[bs]?)([(])","end":"([)])","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-parenthesis-verbatim":{"name":"string.quoted.parenthesis.sigil.erlang","begin":"(~[BS])([(])","end":"([)])","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-single-character":{"name":"string.quoted.other.sigil.erlang","begin":"(~[bs]?)([/\\|`#])","end":"(\\2)","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-single-character-verbatim":{"name":"string.quoted.other.sigil.erlang","begin":"(~[BS])([/\\|`#])","end":"(\\2)","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-single-quote":{"name":"string.quoted.single.sigil.erlang","begin":"(~[bs]?)(')","end":"(\\2)","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-single-quote-verbatim":{"name":"string.quoted.single.sigil.erlang","begin":"(~[BS])(')","end":"(\\2)","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-square-brackets":{"name":"string.quoted.square-brackets.sigil.erlang","begin":"(~[bs]?)([\\[])","end":"([\\]])","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"sigil-string-square-brackets-verbatim":{"name":"string.quoted.square-brackets.sigil.erlang","begin":"(~[BS])([\\[])","end":"([\\]])","patterns":[{"include":"#internal-string-body-verbatim"}],"beginCaptures":{"1":{"name":"storage.type.string.erlang"},"2":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"string":{"name":"string.quoted.double.erlang","begin":"(\")","end":"(\")","patterns":[{"include":"#internal-string-body"}],"beginCaptures":{"1":{"name":"punctuation.definition.string.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.erlang"}}},"symbolic-operator":{"name":"keyword.operator.symbolic.erlang","match":"\\+\\+|\\+|--|-|\\*|/=|/|=/=|=:=|==|=\u003c|=|\u003c-|\u003c|\u003e=|\u003e|!|::|\\?="},"textual-operator":{"name":"keyword.operator.textual.erlang","match":"\\b(andalso|band|and|bxor|xor|bor|orelse|or|bnot|not|bsl|bsr|div|rem)\\b"},"tuple":{"name":"meta.structure.tuple.erlang","begin":"(\\{)","end":"(\\})","patterns":[{"name":"punctuation.separator.tuple.erlang","match":","},{"include":"#everything-else"}],"beginCaptures":{"1":{"name":"punctuation.definition.tuple.begin.erlang"}},"endCaptures":{"1":{"name":"punctuation.definition.tuple.end.erlang"}}},"variable":{"match":"(_[a-zA-Z\\d@_]++|[A-Z][a-zA-Z\\d@_]*+)|(_)","captures":{"1":{"name":"variable.other.erlang"},"2":{"name":"variable.language.omitted.erlang"}}}}}