{"name":"OpenBSD Packing List","scopeName":"source.openbsd-pkg.contents","patterns":[{"include":"#main"}],"repository":{"annotation":{"name":"meta.annotation.${3:/downcase}-field.openbsd-pkg.contents","begin":"^((@)([-\\w]+))\\b","end":"$","patterns":[{"contentName":"comment.line.at-sign.openbsd-pkg.contents","begin":"(?\u003c=@comment)\\G\\s*","end":"(?=\\s*$)"},{"contentName":"entity.name.package.contents","begin":"(?\u003c=@name)\\G\\s*","end":"(?=\\s*$)"},{"begin":"(?\u003c=@depend)\\G\\s*","end":"(?=\\s*$)","patterns":[{"include":"#dependency"}]},{"begin":"(?\u003c=@url)\\G\\s*","end":"(?=\\s*$)","patterns":[{"include":"etc#url"}]},{"begin":"(?\u003c=@ts|size)\\G\\s*","end":"(?=\\s*$)","patterns":[{"include":"etc#num"}]},{"contentName":"constant.numeric.base64.sha256.openbsd-pkg.contents","begin":"(?\u003c=@sha)\\G\\s*","end":"(?=\\s*$)"},{"contentName":"constant.other.annotation.openbsd-pkg.contents","begin":"\\G\\s*","end":"(?=\\s*$)"}],"beginCaptures":{"1":{"name":"keyword.operator.annotation.openbsd-pkg.contents"},"2":{"name":"punctuation.definition.annotation.openbsd-pkg.contents"}}},"dependency":{"patterns":[{"name":"entity.name.package.path.openbsd-pkg.contents","match":"\\G[^\\s:]+(?=:|$)"},{"name":"meta.package-spec.openbsd-pkg.contents","match":"(?\u003c=:)([-_\\w]+)(-)((?:[\\dPp]|[^\\s:\\w])+)(?=:|$)","captures":{"1":{"name":"entity.other.package.spec.openbsd-pkg.contents"},"2":{"patterns":[{"include":"etc#dash"}]},"3":{"patterns":[{"include":"etc#op"},{"include":"etc#comma"},{"include":"etc#version"}]}}},{"include":"etc#colon"}]},"file":{"name":"string.unquoted.filename.openbsd-pkg.contents","begin":"^(?!@)","end":"$"},"main":{"patterns":[{"include":"#annotation"},{"include":"#file"}]}}}
