Sha256: 3d8746182635c8872c6803920048c75f75ccbda108050336ece4f9c53c8718a0

Contents?: true

Size: 1.73 KB

Versions: 3

Compression:

Stored size: 1.73 KB

Contents

{
  "fileTypes": [
    "tsv"
  ],
  "keyEquivalent": "^~T",
  "name": "TSV",
  "patterns": [
    {
      "include": "#table"
    }
  ],
  "repository": {
    "field": {
      "patterns": [
        {
          "begin": "(:^|(?<=\\t))(?!$|\\t)",
          "contentName": "meta.tabular.field.tsv",
          "end": "$|(\\t)",
          "endCaptures": {
            "1": {
              "name": "punctuation.separator.tabular.field.tsv"
            }
          }
        },
        {
          "match": "\\t",
          "name": "punctuation.separator.tabular.field.tsv"
        }
      ]
    },
    "header": {
      "begin": "^(?!$)",
      "end": "$",
      "name": "meta.tabular.row.header.tsv",
      "patterns": [
        {
          "include": "#field"
        }
      ]
    },
    "row": {
      "begin": "^(?!$)",
      "end": "$",
      "name": "meta.tabular.row.tsv",
      "patterns": [
        {
          "include": "#field"
        }
      ]
    },
    "table": {
      "begin": "^",
      "end": "^$not possible$^",
      "name": "meta.tabular.table.tsv",
      "patterns": [
        {
          "include": "#header"
        },
        {
          "begin": "(\\n)",
          "beginCaptures": {
            "1": {
              "name": "punctuation.separator.table.row.tsv"
            }
          },
          "comment": "\n\t\t\t\t\t\teverything after the first row is not a header\n\t\t\t\t\t",
          "end": "^$not possible$^",
          "patterns": [
            {
              "include": "#row"
            },
            {
              "match": "\\n",
              "name": "punctuation.separator.table.row.tsv"
            }
          ]
        }
      ]
    }
  },
  "scopeName": "text.tabular.tsv",
  "uuid": "7D87F38B-A972-4F61-B9C0-7D6D15EEED38"
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ver-2009.12.14 config/syntax/TSV.json
ver-2009.11.29 config/syntax/TSV.json
ver-2009.11.28 config/syntax/TSV.json