Sha256: 4da9d869e29411ebf2d9e5215dbd336579ab854ae8081a3df20778913b1278bd

Contents?: true

Size: 1.3 KB

Versions: 27

Compression:

Stored size: 1.3 KB

Contents

{"name":"Cap’n Proto","scopeName":"source.capnp","patterns":[{"match":"\\b(struct)(?:\\s+([A-Za-z]+))?","captures":{"1":{"name":"keyword.other.struct.capnp"},"2":{"name":"entity.name.type.capnp"}}},{"name":"keyword.other.capnp","match":"\\b(using|import|union|enum|const|interface|annotation)\\b"},{"name":"storage.type.builtin.capnp","match":":(Void|Bool|U?Int(8|16|32|64)|Float(32|64)|Text|Data|List\\([.a-zA-Z0-9()]*\\)|Object|union|group)"},{"name":"storage.type.custom.capnp","match":":[.a-zA-Z0-9()]+"},{"name":"constant.language.capnp","match":"\\b(true|false|void)\\b"},{"name":"constant.numeric.capnp","match":"\\b(0x[0-9A-Fa-f]+|\\d+(\\.\\d+)?)\\b"},{"name":"constant.numeric.unique-id.capnp","match":"@0x[0-9A-Fa-f]+"},{"name":"constant.numeric.ordinal.capnp","match":"@\\d+"},{"name":"string.quoted.double.capnp","begin":"\"","end":"\"","patterns":[{"name":"constant.character.escape.capnp","match":"\\."}]},{"begin":"(^[ \\t]+)?(?=#)","end":"(?!\\G)","patterns":[{"name":"comment.line.number-sign.capnp","begin":"#","end":"\\n","beginCaptures":{"0":{"name":"punctuation.definition.comment.capnp"}}}],"beginCaptures":{"1":{"name":"punctuation.whitespace.comment.leading.capnp"}}},{"match":"(\\{)(\\})","captures":{"1":{"name":"punctuation.section.block.begin.capnp"},"2":{"name":"punctuation.section.block.end.capnp"}}}]}

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
github-linguist-9.0.0 grammars/source.capnp.json
github-linguist-8.0.1 grammars/source.capnp.json
github-linguist-8.0.0 grammars/source.capnp.json
github-linguist-7.30.0 grammars/source.capnp.json
github-linguist-7.29.0 grammars/source.capnp.json
github-linguist-7.28.0 grammars/source.capnp.json
github-linguist-7.27.0 grammars/source.capnp.json
github-linguist-7.26.0 grammars/source.capnp.json
github-linguist-7.25.0 grammars/source.capnp.json
github-linguist-7.24.1 grammars/source.capnp.json
github-linguist-7.24.0 grammars/source.capnp.json
github-linguist-7.23.0 grammars/source.capnp.json
github-linguist-7.22.1 grammars/source.capnp.json
github-linguist-7.22.0 grammars/source.capnp.json
github-linguist-7.21.0 grammars/source.capnp.json
github-linguist-7.20.0 grammars/source.capnp.json
github-linguist-7.19.0 grammars/source.capnp.json
github-linguist-7.18.0 grammars/source.capnp.json
github-linguist-7.17.0 grammars/source.capnp.json
github-linguist-7.16.1 grammars/source.capnp.json