github-linguist 7.14.0 → 7.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (119) hide show
  1. checksums.yaml +4 -4
  2. data/bin/github-linguist +115 -71
  3. data/grammars/annotation.liquidhaskell.haskell.json +1 -1
  4. data/grammars/etc.json +1 -1
  5. data/grammars/go.mod.json +1 -0
  6. data/grammars/go.sum.json +1 -0
  7. data/grammars/hint.haskell.json +1 -1
  8. data/grammars/hint.message.haskell.json +1 -1
  9. data/grammars/hint.type.haskell.json +1 -1
  10. data/grammars/markdown.bicep.codeblock.json +1 -0
  11. data/grammars/markdown.codeblock.proto.json +1 -0
  12. data/grammars/markdown.mcfunction.codeblock.json +1 -0
  13. data/grammars/source.abap.json +1 -1
  14. data/grammars/source.aidl.json +1 -0
  15. data/grammars/source.al.json +1 -1
  16. data/grammars/source.angelscript.json +1 -1
  17. data/grammars/source.avro.json +1 -1
  18. data/grammars/source.ballerina.json +1 -1
  19. data/grammars/source.batchfile.json +1 -1
  20. data/grammars/source.bc.json +1 -0
  21. data/grammars/source.bicep.json +1 -1
  22. data/grammars/source.boo.json +1 -1
  23. data/grammars/source.bp.json +1 -0
  24. data/grammars/source.cil.json +1 -0
  25. data/grammars/source.cirru.json +1 -1
  26. data/grammars/source.cs.json +1 -1
  27. data/grammars/source.csound.json +1 -1
  28. data/grammars/source.css.json +1 -1
  29. data/grammars/source.cue.json +1 -0
  30. data/grammars/source.cuesheet.json +1 -0
  31. data/grammars/source.dart.json +1 -1
  32. data/grammars/source.dc.json +1 -0
  33. data/grammars/source.ditroff.json +1 -1
  34. data/grammars/source.dotenv.json +1 -0
  35. data/grammars/source.ebnf.json +1 -1
  36. data/grammars/source.ecl.json +1 -0
  37. data/grammars/source.ed.json +1 -0
  38. data/grammars/source.fnl.json +1 -0
  39. data/grammars/source.fontforge.json +1 -1
  40. data/grammars/source.fstar.json +1 -1
  41. data/grammars/source.ftl.json +1 -0
  42. data/grammars/source.gcode.json +1 -1
  43. data/grammars/source.gdscript.json +1 -1
  44. data/grammars/source.hack.json +1 -1
  45. data/grammars/source.haskell.json +1 -1
  46. data/grammars/source.hlcode.json +1 -0
  47. data/grammars/source.hsig.json +1 -1
  48. data/grammars/source.hx.json +1 -1
  49. data/grammars/source.hy.json +1 -1
  50. data/grammars/source.jest.snap.json +1 -0
  51. data/grammars/source.jq.json +1 -1
  52. data/grammars/source.json.json +1 -1
  53. data/grammars/source.julia.json +1 -1
  54. data/grammars/source.kakscript.json +1 -0
  55. data/grammars/source.keyvalues.json +1 -0
  56. data/grammars/source.kotlin.json +1 -1
  57. data/grammars/source.lean.json +1 -1
  58. data/grammars/source.m2.json +1 -1
  59. data/grammars/source.matlab.json +1 -1
  60. data/grammars/source.mcfunction.json +1 -1
  61. data/grammars/source.odin.json +1 -1
  62. data/grammars/source.opentype.json +1 -1
  63. data/grammars/source.pegjs.json +1 -0
  64. data/grammars/source.postscript.json +1 -1
  65. data/grammars/source.powershell.json +1 -1
  66. data/grammars/source.proto.json +1 -0
  67. data/grammars/source.purescript.json +1 -1
  68. data/grammars/source.regexp.json +1 -1
  69. data/grammars/source.regexp.oniguruma.json +1 -0
  70. data/grammars/source.rego.json +1 -1
  71. data/grammars/source.renpy.json +1 -1
  72. data/grammars/source.rescript.json +1 -1
  73. data/grammars/source.sed.json +1 -1
  74. data/grammars/source.sepolicy.json +1 -0
  75. data/grammars/source.shellcheckrc.json +1 -0
  76. data/grammars/source.sqf.json +1 -1
  77. data/grammars/source.swift.json +1 -1
  78. data/grammars/source.sy.json +1 -1
  79. data/grammars/source.tm-properties.json +1 -0
  80. data/grammars/source.ts.json +1 -1
  81. data/grammars/source.tsx.json +1 -1
  82. data/grammars/source.v.json +1 -1
  83. data/grammars/source.viml.json +1 -1
  84. data/grammars/source.webassembly.json +1 -1
  85. data/grammars/source.ws.json +1 -0
  86. data/grammars/source.wsd.json +1 -1
  87. data/grammars/source.xojo.json +1 -1
  88. data/grammars/source.yara.json +1 -1
  89. data/grammars/source.yasnippet.json +1 -1
  90. data/grammars/source.zig.json +1 -1
  91. data/grammars/text.html.astro.json +1 -0
  92. data/grammars/text.html.markdown.astro.json +1 -0
  93. data/grammars/text.info.json +1 -0
  94. data/grammars/text.lesshst.json +1 -0
  95. data/grammars/text.marko.json +1 -1
  96. data/grammars/text.sfd.json +1 -1
  97. data/grammars/text.tex.latex.haskell.json +1 -1
  98. data/grammars/text.xml.svg.json +1 -1
  99. data/grammars/textmate.format-string.json +1 -0
  100. data/grammars/version +1 -1
  101. data/lib/linguist/VERSION +1 -1
  102. data/lib/linguist/documentation.yml +1 -0
  103. data/lib/linguist/generated.rb +13 -0
  104. data/lib/linguist/heuristics.rb +6 -2
  105. data/lib/linguist/heuristics.yml +18 -4
  106. data/lib/linguist/language.rb +6 -3
  107. data/lib/linguist/languages.json +1 -1
  108. data/lib/linguist/languages.yml +385 -43
  109. data/lib/linguist/linguist.bundle +0 -0
  110. data/lib/linguist/linguist.so +0 -0
  111. data/lib/linguist/repository.rb +7 -3
  112. data/lib/linguist/samples.json +1 -1
  113. data/lib/linguist/shebang.rb +4 -1
  114. data/lib/linguist/strategy/modeline.rb +4 -0
  115. data/lib/linguist/vendor.yml +3 -0
  116. metadata +36 -5
  117. data/grammars/source.SASLog.json +0 -1
  118. data/grammars/source.mcfunction-snapshot.json +0 -1
  119. data/grammars/source.protobuf.json +0 -1
@@ -1 +0,0 @@
1
- {"name":"Protocol Buffer","scopeName":"source.protobuf","patterns":[{"name":"meta.import.declaration.protobuf","match":"(import) (\".*\")","captures":{"1":{"name":"keyword.other.import.protobuf"},"2":{"name":"string.quoted.double.import.protobuf"}}},{"name":"meta.syntax.declaration.protobuf","match":"(syntax)\\s*=\\s*(\".*\")","captures":{"1":{"name":"keyword.other.syntax.protobuf"},"2":{"name":"string.quoted.double.syntax.protobuf"}}},{"name":"meta.message-declaration.protobuf","begin":"\\b(message)\\s+([A-Za-z0-9_]+)\\s*\\{","end":"}","patterns":[{"include":"$self"},{"include":"#any_field"},{"include":"#comments"},{"include":"#multiline_comments"}],"captures":{"1":{"name":"storage.type.message.protobuf"},"2":{"name":"entity.name.type.message.protobuf"}}},{"name":"meta.enum-declaration.protobuf","begin":"\\b(enum)\\s+([A-Za-z0-9_]+)\\s*\\{","end":"}","patterns":[{"name":"meta.individual-enum-definition.protobuf","match":"\\b([A-Za-z0-9_]+)\\s*=\\s*(\\d+)\\b","captures":{"1":{"name":"constant.other.user-defined.protobuf"},"2":{"name":"constant.numeric.protobuf"}}},{"include":"#anywhere_option"},{"include":"#bracketed_option"},{"include":"#comments"},{"include":"#multiline_comments"}],"beginCaptures":{"1":{"name":"storage.type.enum.protobuf"},"2":{"name":"entity.name.type.enum.protobuf"}}},{"name":"meta.oneof-declaration.protobuf","begin":"\\b(oneof)\\s+([A-Za-z0-9_]+)\\s*\\{","end":"}","patterns":[{"name":"meta.individual-oneof-definition.protobuf","match":"\\b([A-Za-z0-9_]+)\\s*=\\s*(\\d+)\\b","captures":{"1":{"name":"constant.other.user-defined.protobuf"},"2":{"name":"constant.numeric.protobuf"}}},{"include":"$self"},{"include":"#any_field"},{"include":"#comments"},{"include":"#multiline_comments"}],"beginCaptures":{"1":{"name":"storage.type.oneof.protobuf"},"2":{"name":"entity.name.type.oneof.protobuf"}}},{"name":"meta.service-declaration.protobuf","begin":"\\b(service)\\s+([A-Za-z0-9_]+)\\s*\\{","end":"}","patterns":[{"name":"meta.individual-rpc-call.protobuf","match":"\\b(rpc)\\s+([A-Za-z0-9_]+)\\s+\\(([A-Za-z0-9_.]+)\\)\\s*(returns)\\s*\\(([A-Za-z0-9_.]+)\\)\\s*;","captures":{"1":{"name":"keyword.other.rpc-definition.protobuf"},"2":{"name":"entity.name.function.service-rpc.protobuf"},"3":{"name":"variable.parameter.request-type.protobuf"},"4":{"name":"keyword.operator.returns.protobuf"},"5":{"name":"variable.parameter.response-type.protobuf"}}},{"name":"meta.method-mofification.protobuf","begin":"\\b(method)\\s+([A-Za-z0-9_]+)\\s*\\(\\s*\\)\\s*{","end":"}","patterns":[{"include":"#comments"},{"include":"#rpc_string_attribute"},{"include":"#rpc_primitive_attribute"}],"captures":{"1":{"name":"keyword.other.method-modification.protobuf"},"2":{"name":"entity.name.function.protobuf"}}},{"include":"#anywhere_option"},{"include":"#comments"},{"include":"#multiline_comments"}],"beginCaptures":{"1":{"name":"storage.type.enum.protobuf"},"2":{"name":"entity.name.type.enum.protobuf"}}},{"name":"meta.package.protobuf","match":"\\b(package)\\s+([A-Za-z0-9._]+)\\s*;","captures":{"1":{"name":"keyword.other.package-definition.protobuf"},"2":{"name":"entity.name.section.protobuf"}}},{"name":"meta.extension-specification.protobuf","match":"(extensions)\\s+(\\d+)\\s+(to)\\s+(max|\\d+);","captures":{"1":{"name":"storage.modifier.extensions.protobuf"},"2":{"name":"constant.numeric.protobufs"},"3":{"name":"keyword.operator.to.protobufs"},"4":{"name":"constant.numeric.protobufs"}}},{"include":"#anywhere_option"},{"include":"#bracketed_option"},{"include":"#extend_block"},{"include":"#comments"},{"include":"#multiline_comments"}],"repository":{"any_field":{"patterns":[{"include":"#primitive_field"},{"include":"#group_field"},{"include":"#user_defined_message_field"},{"include":"#reserved_field"}]},"anywhere_option":{"begin":"(option)\\s+","end":";","patterns":[{"include":"#attribute"}],"beginCaptures":{"1":{"name":"keyword.other.option.protobuf"}}},"attribute":{"patterns":[{"include":"#indiv_attribute"},{"include":"#string_attribute"}]},"bracketed_option":{"begin":"\\[","end":";","patterns":[{"include":"#attribute"}]},"comments":{"name":"comment.line.double-slash.protobuf","begin":"//","end":"\\n"},"extend_block":{"begin":"\\b(extend)\\s+([A-Za-z0-9_]+)\\s*\\{","end":"}","patterns":[{"include":"#any_field"},{"include":"#comments"}],"captures":{"1":{"name":"storage.type.extend.protobuf"},"2":{"name":"entity.name.type.message.protobuf"}}},"group_field":{"begin":"(required|optional|repeated)?\\s+?(group)\\s+([A-Za-z0-9_]+)\\s*=\\s*(\\d+)\\s*{","end":"}","patterns":[{"include":"#any_field"},{"include":"#comments"}],"captures":{"1":{"name":"keyword.control.occurrences.protobuf"},"2":{"name":"invalid.deprecated.groups.protobuf"},"3":{"name":"variable.other.primitive-field.protobuf"},"4":{"name":"constant.numeric.field-tag.protobuf"}}},"indiv_attribute":{"match":"\\(?([A-Za-z0-9_.]+)\\)?\\s*=\\s*(true|false|\\d+|([A-Z_]+))\\b","captures":{"1":{"name":"entity.other.attribute-name.protobuf"},"2":{"name":"constant.language.field-option-values.protobuf"}}},"multiline_comments":{"name":"comment.block.protobuf","begin":"/\\*","end":"\\*/"},"primitive_field":{"match":"(required|optional|repeated)?\\s+?(((s|u)?int|s?fixed)(32|64)|string|bytes|bool)\\s+(\\S+)\\s*=\\s*(\\d+)","captures":{"1":{"name":"keyword.control.occurrences.protobuf"},"2":{"name":"storage.type.built-in.protobuf"},"6":{"name":"variable.other.primitive-field.protobuf"},"7":{"name":"constant.numeric.field-tag.protobuf"}}},"reserved_field":{"match":"(reserved)\\s+(\\d+)","captures":{"1":{"name":"keyword.control.occurrences.protobuf"},"2":{"name":"constant.numeric.field-tag.protobuf"}}},"rpc_primitive_attribute":{"match":"(option)\\s+\\(?([A-Za-z0-9_.]+)\\)?\\.([A-Za-z0-9.]+)\\s*=\\s*(true|false|\\d+|([A-Z_]+))\\b","beginCaptures":{"1":{"name":"keyword.other.option.protobuf"},"2":{"name":"entity.other.attribute-name.protobuf"},"3":{"name":"entity.other.attribute-name.protobuf"},"4":{"name":"constant.numeric.protobuf"}}},"rpc_string_attribute":{"contentName":"string.quoted.double.protobuf","begin":"(option)\\s+\\(?([A-Za-z0-9_.]+)\\)?\\.([A-Za-z0-9.]+)\\s*=\\s*(\")","end":"(\")","beginCaptures":{"1":{"name":"keyword.other.option.protobuf"},"2":{"name":"entity.other.attribute-name.protobuf"},"3":{"name":"entity.other.attribute-name.protobuf"},"4":{"name":"string.quoted.double.protobuf"}},"endCaptures":{"1":{"name":"string.quoted.double.protobuf"}}},"string_attribute":{"contentName":"string.quoted.double.protobuf","begin":"\\(?([A-Za-z0-9_.]+)\\)?\\s*=\\s*(\")","end":"(\")","beginCaptures":{"1":{"name":"entity.other.attribute-name.protobuf"},"2":{"name":"string.quoted.double.protobuf"}},"endCaptures":{"1":{"name":"string.quoted.double.protobuf"}}},"user_defined_message_field":{"match":"(required|optional|repeated)?\\s+?([A-Za-z._]*)\\s+(\\S+)\\s*=\\s*(\\d+)","captures":{"1":{"name":"keyword.control.occurrences.protobuf"},"2":{"name":"support.class.user-defined-type.protobuf"},"3":{"name":"variable.other.primitive-field.protobuf"},"4":{"name":"constant.numeric.field-tag.protobuf"}}}}}