# Encoding: UTF-8

{fileTypes: ["rd", "Rd"],
 foldingStartMarker: /\/\w*\{\s*$/,
 foldingStopMarker: /^\s*\}/,
 keyEquivalent: "^~R",
 name: "Rd (R Documentation)",
 patterns: 
  [{begin: 
     /(?<_1>(?<_2>\\)(?:alias|docType|keyword|name|title|description|value|note|concept|keyword|details|format|references|source|arguments|seealso|author))(?<_3>\{)/,
    beginCaptures: 
     {1 => {name: "keyword.other.section.rd"},
      2 => {name: "punctuation.definition.function.rd"},
      3 => {name: "punctuation.definition.arguments.begin.rd"}},
    contentName: "entity.name.tag.rd",
    end: "(\\})",
    endCaptures: {1 => {name: "punctuation.definition.arguments.end.rd"}},
    name: "meta.section.rd",
    patterns: [{include: "$self"}]},
   {begin: /(?<_1>(?<_2>\\)(?:usage))(?<_3>\{)(?:\n)?/,
    beginCaptures: 
     {1 => {name: "keyword.other.usage.rd"},
      2 => {name: "punctuation.definition.function.rd"},
      3 => {name: "punctuation.definition.arguments.begin.rd"}},
    contentName: "source.r.embedded",
    end: "(\\})",
    endCaptures: {1 => {name: "punctuation.definition.arguments.end.rd"}},
    name: "meta.usage.rd",
    patterns: [{include: "source.r"}]},
   {begin: /(?<_1>(?<_2>\\)(?:examples))(?<_3>\{)(?:\n)?/,
    beginCaptures: 
     {1 => {name: "keyword.other.examples.rd"},
      2 => {name: "punctuation.definition.function.rd"},
      3 => {name: "punctuation.definition.arguments.begin.rd"}},
    contentName: "source.r.embedded",
    end: "(^\\}$)",
    endCaptures: {1 => {name: "punctuation.definition.arguments.end.rd"}},
    name: "meta.examples.rd",
    patterns: [{include: "source.r"}]},
   {begin: /(?<_1>(?<_2>\\)(?:author))(?<_3>\{)(?:\n)?/,
    beginCaptures: 
     {1 => {name: "keyword.other.author.rd"},
      2 => {name: "punctuation.definition.function.rd"},
      3 => {name: "punctuation.definition.arguments.begin.rd"}},
    end: "(\\})",
    endCaptures: {1 => {name: "punctuation.definition.arguments.end.rd"}},
    name: "meta.author.rd"},
   {include: "text.tex.latex"}],
 scopeName: "text.tex.latex.rd",
 uuid: "80A00288-FE7E-4E66-B5BF-4948A2828203"}
