Sha256: f561bb43f24acce6d0fe69e79706f4034ac8e5cd57d907cdaa3e75463766f7b3

Contents?: true

Size: 1.89 KB

Versions: 6

Compression:

Stored size: 1.89 KB

Contents

{"name":"SWeave","scopeName":"text.tex.latex.sweave","patterns":[{"name":"meta.block.parameters.sweave","begin":"^(\u003c\u003c)","end":"(\u003e\u003e)(?==)","patterns":[{"name":"meta.parameter.sweave","match":"(\\w+)(=)(?:(true|false)|(verbatim|tex|hide)|([\\w.]+))","captures":{"1":{"name":"keyword.other.name-of-parameter.sweave"},"2":{"name":"punctuation.separator.key-value.sweave"},"3":{"name":"constant.language.boolean.sweave"},"4":{"name":"constant.language.results.sweave"},"5":{"name":"string.unquoted.label.sweave"}}},{"name":"string.unquoted.label.sweave","match":"[\\w.]+"},{"name":"punctuation.separator.parameters.sweave","match":","}],"beginCaptures":{"1":{"name":"punctuation.definition.parameters.begin.sweave"}},"endCaptures":{"1":{"name":"punctuation.definition.parameters.end.sweave"}}},{"name":"meta.block.code.sweave","contentName":"source.r.embedded.sweave","begin":"(?\u003c=\u003e\u003e)(=)(.*)\\n","end":"^(@)(.*)$","patterns":[{"name":"invalid.illegal.sweave","match":"^\\s+@.*\\n?"},{"include":"source.r"}],"beginCaptures":{"1":{"name":"punctuation.section.embedded.begin.sweave"},"2":{"name":"comment.line.other.sweave"}},"endCaptures":{"1":{"name":"punctuation.section.embedded.end.sweave"},"2":{"name":"comment.line.other.sweave"}}},{"name":"invalid.illegal.sweave","match":"^\\s+\u003c\u003c.*\\n?"},{"name":"meta.block.source.r","contentName":"source.r.embedded.sweave","begin":"^\\\\begin(\\{)Scode(\\})","end":"^\\\\end(\\{)Scode(\\})","patterns":[{"include":"source.r"}],"captures":{"1":{"name":"punctuation.definition.arguments.begin.latex"},"2":{"name":"punctuation.definition.arguments.end.latex"}}},{"name":"source.r.embedded.sweave","begin":"\\\\Sexpr(\\{)","end":"(\\})","patterns":[{"include":"source.r"}],"beginCaptures":{"1":{"name":"punctuation.definition.arguments.begin.latex"}},"endCaptures":{"1":{"name":"punctuation.definition.arguments.end.latex"}}},{"include":"text.tex.latex"}]}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
github-linguist-8.0.1 grammars/text.tex.latex.sweave.json
github-linguist-8.0.0 grammars/text.tex.latex.sweave.json
github-linguist-7.30.0 grammars/text.tex.latex.sweave.json
github-linguist-7.29.0 grammars/text.tex.latex.sweave.json
github-linguist-7.28.0 grammars/text.tex.latex.sweave.json
github-linguist-7.27.0 grammars/text.tex.latex.sweave.json