Sha256: cf3415a865b4b6a7406b44cee81ab090daa81f81b56da3d2e675434bb083d61d

Contents?: true

Size: 1.52 KB

Versions: 27

Compression:

Stored size: 1.52 KB

Contents

{
  "name": "Robot Framework .txt",
  "scopeName": "text.robot",
  "patterns": [
    {
      "name": "string.robot.header",
      "begin": "(?i)^\\*+\\s*(settings?|metadata|(user )?keywords?|test ?cases?|variables?)",
      "end": "$"
    },
    {
      "name": "comment",
      "begin": "(?i)^\\s*\\[?Documentation\\]?",
      "end": "^(?!\\s*+\\.\\.\\.)"
    },
    {
      "name": "storage.type.method.robot",
      "match": "(?i)\\[(Arguments|Setup|Teardown|Precondition|Postcondition|Template|Return|Timeout)\\]"
    },
    {
      "name": "storage.type.method.robot",
      "begin": "(?i)\\[Tags\\]",
      "end": "^(?!\\s*+\\.\\.\\.)",
      "patterns": [
        {
          "name": "comment",
          "match": "^\\s*\\.\\.\\."
        }
      ]
    },
    {
      "name": "constant.numeric.robot",
      "match": "\\b([0-9]*(\\.[0-9]+)?)\\b"
    },
    {
      "name": "entity.name.class",
      "begin": "((?\u003c!\\\\)|(?\u003c=\\\\\\\\))[$@\u0026%]\\{",
      "end": "\\}",
      "patterns": [
        {
          "include": "$self"
        },
        {
          "name": "entity.name.class",
          "match": "."
        }
      ]
    },
    {
      "name": "comment.robot",
      "begin": "(^| {2,}|\t|\\| {1,})(?\u003c!\\\\)#",
      "end": "$"
    },
    {
      "name": "keyword.control.robot",
      "begin": "(^[^ \\t\\*\\n\\|]+)|((?\u003c=^\\|)\\s+[^ \\t\\*\\n\\|]+)",
      "end": "(?=\\s{2})|\\t|$|\\s+(?=\\|)"
    },
    {
      "name": "keyword.control.robot",
      "match": "(?i)^\\s*(Given|And|Then|When|But)"
    }
  ]
}

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
github-linguist-7.11.1 grammars/text.robot.json
github-linguist-7.10.0 grammars/text.robot.json
github-linguist-7.11.0 grammars/text.robot.json
github-linguist-7.9.0 grammars/text.robot.json
github-linguist-7.8.0 grammars/text.robot.json
github-linguist-7.7.0 grammars/text.robot.json
github-linguist-7.6.1 grammars/text.robot.json
github-linguist-7.6.0 grammars/text.robot.json
github-linguist-7.5.1 grammars/text.robot.json
github-linguist-7.5.0 grammars/text.robot.json
github-linguist-7.4.0 grammars/text.robot.json
github-linguist-7.3.1 grammars/text.robot.json
github-linguist-7.3.0 grammars/text.robot.json
github-linguist-7.2.0 grammars/text.robot.json
github-linguist-7.1.3 grammars/text.robot.json
github-linguist-7.1.2 grammars/text.robot.json
github-linguist-7.1.1 grammars/text.robot.json
github-linguist-7.1.0 grammars/text.robot.json
github-linguist-7.0.0 grammars/text.robot.json
github-linguist-6.4.1 grammars/text.robot.json