Sha256: 25b1cdf5aaa943a80971bc5b25f3f19555f282d7834d17781a09400f40daaf4b

Contents?: true

Size: 1.98 KB

Versions: 4

Compression:

Stored size: 1.98 KB

Contents

{"scopeName":"text.valve-kv","patterns":[{"include":"#value"},{"include":"#key"},{"include":"#comments"}],"repository":{"comments":{"patterns":[{"name":"comment.line.valve-kv","match":"//(.*)$"},{"name":"comment.line.number-sign","match":"#(.*)$"},{"name":"comment.block.valve-kv","begin":"/\\*","end":"\\*/","captures":{"0":{"name":"comment.block.valve-kv"}}}]},"key":{"patterns":[{"name":"support.type.property-name.double.valve-kv","match":"(\"[^\"]*\")"},{"name":"support.type.property-name.single.valve-kv","match":"('[^']*')"}]},"placeholder":{"match":"({)([^\\}]*)(})","captures":{"1":{},"2":{"patterns":[{"name":"constant.numeric.valve-kv","match":"\\d+"},{"name":"constant.character.escape.valve-kv","match":"\\w+"},{"match":"([\\d]+):([A-Za-z]+)","captures":{"1":{"name":"constant.numeric.valve-kv"},"2":{"name":"string.regexp.valve-kv"}}}]},"3":{}}},"string_escaped_char":{"patterns":[{"name":"constant.character.escape.valve-kv","match":"\\\\(?:[abefnrt'\"\\\\]|(?:x[a-zA-Z0-9]{0,2}|\\d+);?)"},{"name":"invalid.illegal.unknown-escape.valve-kv","match":"\\\\."}]},"value":{"patterns":[{"name":"meta.structure.dictionnary.valve-kv","begin":"{","end":"}","patterns":[{"include":"#source"}]},{"name":"string.quoted.double.valve-kv","begin":"(\"[^\"]*\")([^{\"]*)(\")","end":"\"","patterns":[{"name":"constant.character.escape.valve-kv","match":"\\\\\""},{"include":"#placeholder"}],"beginCaptures":{"1":{"name":"support.type.property-name.double.valve-kv"},"2":{"patterns":[{"include":"#comments"}]},"3":{"name":"string.quoted.double.valve-kv"}},"endCaptures":{"0":{"name":"string.quoted.double.valve-kv"}}},{"name":"string.quoted.single.valve-kv","begin":"('[^']*')([^{']*)(')","end":"'","patterns":[{"name":"constant.character.escape.valve-kv","match":"\\\\'"},{"include":"#placeholder"}],"beginCaptures":{"1":{"name":"support.type.property-name.single.valve-kv"},"2":{"patterns":[{"include":"#comments"}]},"3":{"name":"string.quoted.single.valve-kv"}},"endCaptures":{"0":{"name":"string.quoted.single.valve-kv"}}}]}}}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
github-linguist-8.0.1 grammars/text.valve-kv.json
github-linguist-8.0.0 grammars/text.valve-kv.json
github-linguist-7.30.0 grammars/text.valve-kv.json
github-linguist-7.29.0 grammars/text.valve-kv.json