Sha256: 53db9b1adb89680567ae71df06bb28ca3ba5d1d3975e4818b86783718e7d75a4
Contents?: true
Size: 1.85 KB
Versions: 17
Compression:
Stored size: 1.85 KB
Contents
{"name":"mligo","scopeName":"source.mligo","patterns":[{"include":"#string"},{"include":"#block_comment"},{"include":"#line_comment"},{"include":"#attribute"},{"include":"#macro"},{"include":"#letbinding"},{"include":"#lambda"},{"include":"#typedefinition"},{"include":"#controlkeywords"},{"include":"#numericliterals"},{"include":"#operators"},{"include":"#identifierconstructor"},{"include":"#module"}],"repository":{"attribute":{"name":"keyword.control.attribute.mligo","match":"\\[@.*\\]"},"block_comment":{"name":"comment.block.mligo","begin":"\\(\\*","end":"\\*\\)"},"controlkeywords":{"name":"keyword.control.mligo","match":"\\b(match|with|if|then|else|assert|failwith|begin|end|in)\\b"},"identifierconstructor":{"match":"\\b([A-Z][a-zA-Z0-9_$]*)\\s+","captures":{"1":{"name":"variable.other.enummember.mligo"}}},"lambda":{"begin":"\\b(fun)\\b","end":"(-\u003e)","beginCaptures":{"1":{"name":"keyword.other.mligo"}},"endCaptures":{"1":{"name":"keyword.operator.mligo"}}},"letbinding":{"match":"\\b(let)\\b\\s*\\b(rec|)\\s*\\b([a-zA-Z$_][a-zA-Z0-9$_]*)","captures":{"1":{"name":"keyword.other.mligo"},"2":{"name":"storage.modifier.mligo"},"3":{"name":"entity.name.function.mligo"}}},"line_comment":{"name":"comment.block.mligo","match":"\\/\\/.*$"},"macro":{"name":"meta.preprocessor.mligo","match":"^\\#[a-zA-Z]+"},"module":{"match":"\\b([A-Z][a-zA-Z0-9_$]*)\\.([a-z][a-zA-Z0-9_$]*)","captures":{"1":{"name":"storage.class.mligo"},"2":{"name":"storage.var.mligo"}}},"numericliterals":{"name":"constant.numeric.mligo","match":"(\\+|\\-)?[0-9]+(n|tz|tez|mutez|)\\b"},"operators":{"name":"keyword.operator.mligo","match":"\\s+(::|\\-|\\+|mod|land|lor|lxor|lsl|lsr|\u0026\u0026|\\|\\||\u003e|\u003c\u003e|\u003c=|=\u003e|\u003c|\u003e)\\s+"},"string":{"name":"string.quoted.double.mligo","begin":"\\\"","end":"\\\""},"typedefinition":{"name":"entity.name.type.mligo","match":"\\b(type)\\b"}}}
Version data entries
17 entries across 17 versions & 1 rubygems