Sha256: fd24f42c6e396799fa611799977096fe0f3fba124efc592034490c6aac822c8e

Contents?: true

Size: 1.62 KB

Versions: 2

Compression:

Stored size: 1.62 KB

Contents

{"scopeName":"markdown.move.codeblock","patterns":[{"include":"#move-code-block"}],"repository":{"move-code-block":{"name":"markup.fenced_code.block.markdown","begin":"(^|\\G)(\\s*)(\\`{3,}|~{3,})\\s*(?i:(move)(\\s+[^`~]*)?$)","end":"(^|\\G)(\\2|\\s{0,3})(\\3)\\s*$","patterns":[{"contentName":"meta.embedded.block.move","begin":"(^|\\G)(\\s*)(.*)","while":"(^|\\G)(?!\\s*([`~]{3,})\\s*$)","patterns":[{"include":"source.move#comments"},{"include":"source.move#comments"},{"include":"source.move#module"},{"include":"source.move#script"},{"include":"source.move#annotation"},{"include":"source.move#entry"},{"include":"source.move#public-scope"},{"include":"source.move#public"},{"include":"source.move#macro"},{"include":"source.move#native"},{"include":"source.move#import"},{"include":"source.move#friend"},{"include":"source.move#const"},{"include":"source.move#struct"},{"include":"source.move#enum"},{"include":"source.move#fun"},{"include":"source.move#spec"},{"include":"source.move#as"},{"include":"source.move#mut"},{"include":"source.move#let"},{"include":"source.move#types"},{"include":"source.move#assert"},{"include":"source.move#literals"},{"include":"source.move#control"},{"include":"source.move#move_copy"},{"include":"source.move#resource_methods"},{"include":"source.move#self_access"},{"include":"source.move#module_access"},{"include":"source.move#fun_call"},{"include":"source.move#block"}]}],"beginCaptures":{"3":{"name":"punctuation.definition.markdown"},"4":{"name":"fenced_code.block.language.markdown"},"5":{"name":"fenced_code.block.language.attributes.markdown"}},"endCaptures":{"3":{"name":"punctuation.definition.markdown"}}}}}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github-linguist-9.0.0 grammars/markdown.move.codeblock.json
github-linguist-8.0.1 grammars/markdown.move.codeblock.json