Sha256: bde6b37187e72808f21f0b146f7d464bcd2dcc8ad8263b15e923c62d0d41bd8c

Contents?: true

Size: 1.52 KB

Versions: 18

Compression:

Stored size: 1.52 KB

Contents

{"name":"Nim Config","scopeName":"source.nimcfg","patterns":[{"name":"comment.line.number-sign.nimcfg","match":"(#\\s*(TODO|todo)?).*$\\n?","captures":{"1":{"name":"punctuation.definition.comment.nimcfg"},"2":{"name":"invalid.illegal.TODO.nimcfg"}}},{"name":"support.type.nimcfg","match":"\\[.+\\]"},{"begin":"\\@\\b(if|elif|else)\\b","end":"\\@\\b(end)","patterns":[{"include":"source.nimcfg"}],"captures":{"0":{"name":"keyword.control.nimcfg"}}},{"begin":"([a-zA-Z0-9_\\.]+)\\s*(\\=)","end":"\\n","patterns":[{"name":"constant.numeric.float.decimal.nimcfg","match":"\\b((\\d[_\\d]*\\.[_\\d]+([eE][\\+\\-]?\\d[_\\d]*)?)|([eE][\\+\\-]?\\d[_\\d]*))('[fF](32|64))?"},{"name":"constant.numeric.integer.hexadecimal.nimcfg","match":"\\b(0[xX][0-9A-Fa-f][_0-9A-Fa-f]*)('[iIuU](8|16|32|64))?"},{"name":"constant.numeric.integer.octal.nimcfg","match":"\\b(0o[0-7][_0-7]*)"},{"name":"constant.numeric.integer.binary.nimcfg","match":"\\b(0(b|B)[01][_01]*)"},{"name":"constant.numeric.integer.decimal.nimcfg","match":"\\b(\\d[_\\d]*)"},{"name":"constant.language.nimcfg","match":"\\b(true|false)\\b"},{"name":"string.quoted.double.raw.nimcfg","begin":"r\\\"","end":"\\\"","patterns":[{"match":"\\\"\\\""}]},{"name":"string.quoted.double.nimcfg","begin":"\\\"","end":"\\\"","patterns":[{"match":"(\\\\([abenrclftv\\\\]|[\"']|[0-9])|x[0-9A-Fa-f]{2})"}],"captures":{"1":{"name":"storage.type.function.nimcfg"}}},{"name":"string.quoted.single.nimcfg","match":"\\'(\\\\\\d{1,3}|\\\\?[^\\n]?)\\'"},{"match":"\\b(.+)\\b","captures":{"1":{"name":"string.raw.nimcfg"}}}]}]}

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
github-linguist-7.24.1 grammars/source.nimcfg.json
github-linguist-7.24.0 grammars/source.nimcfg.json
github-linguist-7.23.0 grammars/source.nimcfg.json
github-linguist-7.22.1 grammars/source.nimcfg.json
github-linguist-7.22.0 grammars/source.nimcfg.json
github-linguist-7.21.0 grammars/source.nimcfg.json
github-linguist-7.20.0 grammars/source.nimcfg.json
github-linguist-7.19.0 grammars/source.nimcfg.json
github-linguist-7.18.0 grammars/source.nimcfg.json
github-linguist-7.17.0 grammars/source.nimcfg.json
github-linguist-7.16.1 grammars/source.nimcfg.json
github-linguist-7.16.0 grammars/source.nimcfg.json
github-linguist-7.15.0 grammars/source.nimcfg.json
github-linguist-7.14.0 grammars/source.nimcfg.json
github-linguist-7.13.0 grammars/source.nimcfg.json
github-linguist-7.12.2 grammars/source.nimcfg.json
github-linguist-7.12.1 grammars/source.nimcfg.json
github-linguist-7.12.0 grammars/source.nimcfg.json