{"scopeName":"source.mermaid.gitgraph","patterns":[{"include":"#main"}],"repository":{"command":{"name":"meta.${1:/downcase}.statement.mermaid","begin":"(?i)(?:^|\\G|(?\u003c=;))[ \\t]*(branch|checkout|cherry-pick|commit|merge|reset)(?=$|\\s)","end":"(?=\\s*(?:$|;))","patterns":[{"match":"\\G\\s*([^\"\\s:;]+)(?=$|\\s|;)(?!\\s*:)","captures":{"1":{"name":"entity.name.object.mermaid"}}},{"include":"#string"},{"include":"#fields"}],"beginCaptures":{"1":{"name":"keyword.operator.git-action.${1:/downcase}.mermaid"}}},"fields":{"patterns":[{"include":"#order"},{"include":"#tag"},{"include":"#type"},{"begin":"(?i)(?:^|\\G|(?\u003c=\\s))\\s*((?=\\w)[-\\w]+)\\s*(:)[ \\t]*","end":"(?!\\G)","patterns":[{"include":"#unquoted-string"},{"include":"#string"}],"beginCaptures":{"1":{"name":"variable.assignment.field.user-defined.mermaid"},"2":{"patterns":[{"include":"source.mermaid#colon"}]}}}]},"main":{"patterns":[{"include":"source.mermaid#a11y"},{"include":"source.mermaid#directive"},{"include":"source.mermaid#comment"},{"include":"source.mermaid#terminator"},{"include":"#options"},{"include":"#command"}]},"options":{"name":"meta.options.mermaid","contentName":"source.embedded.json","begin":"(?i)(?:^|\\G|(?\u003c=\\s))(options)[ \\t]*$","end":"^\\s*(end)(?=$|\\s)","patterns":[{"include":"source.json"}],"beginCaptures":{"1":{"name":"keyword.control.options.begin.mermaid"}},"endCaptures":{"1":{"name":"keyword.control.options.end.mermaid"}}},"order":{"name":"meta.field.order.mermaid","begin":"(?i)(?:^|\\G|(?\u003c=\\s))\\s*(order)\\s*(:)[ \\t]*","end":"(?!\\G)","patterns":[{"name":"constant.numeric.decimal.order.index.mermaid","match":"\\G[-+]?\\d+(?:\\.\\d+)?"}],"beginCaptures":{"1":{"name":"variable.assignment.field.mermaid"},"2":{"patterns":[{"include":"source.mermaid#colon"}]}}},"string":{"name":"string.quoted.double.mermaid","begin":"(?:^|\\G|(?\u003c=\\s))\"","end":"(\")|([^\"\\r\\n]*)$","patterns":[{"include":"source.mermaid#entity"}],"beginCaptures":{"0":{"name":"punctuation.definition.string.begin.mermaid"}},"endCaptures":{"1":{"name":"punctuation.definition.string.end.mermaid"},"2":{"name":"invalid.illegal.unclosed-string.mermaid"}}},"tag":{"name":"meta.field.tag.mermaid","begin":"(?i)(?:^|\\G|(?\u003c=\\s))\\s*(tag)\\s*(:)[ \\t]*","end":"(?!\\G)","patterns":[{"include":"#string"}],"beginCaptures":{"1":{"name":"variable.assignment.field.mermaid"},"2":{"patterns":[{"include":"source.mermaid#colon"}]}}},"type":{"name":"meta.field.type.mermaid","begin":"(?i)(?:^|\\G|(?\u003c=\\s))\\s*(type)\\s*(:)[ \\t]*","end":"(?!\\G)","patterns":[{"name":"constant.language.merge-type.mermaid","match":"\\G(HIGHLIGHT|NORMAL|REVERSE)(?=$|\\s)"},{"name":"invalid.illegal.unrecognised-type.mermaid","match":"\\G[^\\s;]+"}],"beginCaptures":{"1":{"name":"variable.assignment.field.mermaid"},"2":{"patterns":[{"include":"source.mermaid#colon"}]}}},"unquoted-string":{"name":"string.unquoted.bareword.mermaid","match":"(?:\\G)[^\\s\":;]+(?!\\s*:)"}}}
