Sha256: e38c0f889dd839eadb37f760a448bb249b5692177215d00170db5b235af644ec

Contents?: true

Size: 1.77 KB

Versions: 15

Compression:

Stored size: 1.77 KB

Contents

{"name":"ligo","scopeName":"source.ligo","patterns":[{"include":"#string"},{"include":"#block_comment"},{"include":"#line_comment"},{"include":"#attribute"},{"include":"#macro"},{"include":"#controlkeywords"},{"include":"#function"},{"include":"#operators"},{"include":"#typedefinition"},{"include":"#module"},{"include":"#identifierconstructor"},{"include":"#constorvar"},{"include":"#numericliterals"}],"repository":{"attribute":{"name":"keyword.control.attribute.ligo","match":"\\[@.*\\]"},"block_comment":{"name":"comment.block.ligo","begin":"\\(\\*","end":"\\*\\)"},"constorvar":{"match":"\\b(const|var)\\b","captures":{"1":{"name":"keyword.other.ligo"}}},"controlkeywords":{"name":"keyword.control.ligo","match":"\\b(case|with|if|then|else|assert|failwith|begin|end|in|is|from|skip|block|contains|to|step|of|while|for|remove)\\b"},"function":{"match":"\\b(function)\\b\\s*\\b([a-zA-Z$_][a-zA-Z0-9$_]*)","captures":{"1":{"name":"keyword.other.ligo"},"2":{"name":"entity.name.function.ligo"}}},"identifierconstructor":{"match":"\\b([A-Z][a-zA-Z0-9_$]*)\\s+","captures":{"1":{"name":"variable.other.enummember.ligo"}}},"line_comment":{"name":"comment.block.ligo","match":"\\/\\/.*$"},"macro":{"name":"meta.preprocessor.ligo","match":"^\\#[a-zA-Z]+"},"module":{"match":"\\b([A-Z][a-zA-Z0-9_$]*)\\.([a-z][a-zA-Z0-9_$]*)","captures":{"1":{"name":"storage.class.ligo"},"2":{"name":"storage.var.ligo"}}},"numericliterals":{"name":"constant.numeric.ligo","match":"(\\+|\\-)?[0-9]+(n|tz|tez|mutez|)\\b"},"operators":{"name":"keyword.operator.ligo","match":"\\s+(\\-|\\+|mod|land|lor|lxor|lsl|lsr|\u0026\u0026|\\|\\||\u003e|=/=|\u003c=|=\u003e|\u003c|\u003e)\\s+"},"string":{"name":"string.quoted.double.ligo","begin":"\\\"","end":"\\\""},"typedefinition":{"name":"entity.name.type.ligo","match":"\\b(type)\\b"}}}

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
github-linguist-8.0.1 grammars/source.ligo.json
github-linguist-8.0.0 grammars/source.ligo.json
github-linguist-7.30.0 grammars/source.ligo.json
github-linguist-7.29.0 grammars/source.ligo.json
github-linguist-7.28.0 grammars/source.ligo.json
github-linguist-7.27.0 grammars/source.ligo.json
github-linguist-7.26.0 grammars/source.ligo.json
github-linguist-7.25.0 grammars/source.ligo.json
github-linguist-7.24.1 grammars/source.ligo.json
github-linguist-7.24.0 grammars/source.ligo.json
github-linguist-7.23.0 grammars/source.ligo.json
github-linguist-7.22.1 grammars/source.ligo.json
github-linguist-7.22.0 grammars/source.ligo.json
github-linguist-7.21.0 grammars/source.ligo.json
github-linguist-7.20.0 grammars/source.ligo.json