# Encoding: UTF-8 {fileTypes: ["Snw", "Rnw", "snw", "rnw"], foldingStartMarker: /^<<(?<_1>.*)>>=|\\begin\{.*\}/, foldingStopMarker: /^@(?<_1>.*)$|\\end\{.*\}/, keyEquivalent: "^~S", name: "SWeave", patterns: [{begin: /^(?<_1><<)/, beginCaptures: {1 => {name: "punctuation.definition.parameters.begin.sweave"}}, end: "(>>)(?==)", endCaptures: {1 => {name: "punctuation.definition.parameters.end.sweave"}}, name: "meta.block.parameters.sweave", patterns: [{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"}}, match: /(?<_1>\w+)(?<_2>=)(?:(?<_3>true|false)|(?<_4>verbatim|tex|hide)|(?<_5>[\w.]+))/, name: "meta.parameter.sweave"}, {match: /[\w.]+/, name: "string.unquoted.label.sweave"}, {match: /,/, name: "punctuation.separator.parameters.sweave"}]}, {begin: /(?<=>>)(?<_1>=)(?<_2>.*)\n/, beginCaptures: {1 => {name: "punctuation.section.embedded.begin.sweave"}, 2 => {name: "comment.line.other.sweave"}}, contentName: "source.r.embedded.sweave", end: "^(@)(.*)$", endCaptures: {1 => {name: "punctuation.section.embedded.end.sweave"}, 2 => {name: "comment.line.other.sweave"}}, name: "meta.block.code.sweave", patterns: [{match: /^\s+@.*\n?/, name: "invalid.illegal.sweave"}, {include: "source.r"}]}, {match: /^\s+<<.*\n?/, name: "invalid.illegal.sweave"}, {begin: /^\\begin(?<_1>\{)Scode(?<_2>\})/, captures: {1 => {name: "punctuation.definition.arguments.begin.latex"}, 2 => {name: "punctuation.definition.arguments.end.latex"}}, contentName: "source.r.embedded.sweave", end: "^\\\\end(\\{)Scode(\\})", name: "meta.block.source.r", patterns: [{include: "source.r"}]}, {begin: /\\Sexpr(?<_1>\{)/, beginCaptures: {1 => {name: "punctuation.definition.arguments.begin.latex"}}, end: "(\\})", endCaptures: {1 => {name: "punctuation.definition.arguments.end.latex"}}, name: "source.r.embedded.sweave", patterns: [{include: "source.r"}]}, {include: "text.tex.latex"}], scopeName: "text.tex.latex.sweave", uuid: "1F450973-8259-4BA2-A754-48C634561A13"}