Sha256: d166754f65c07a7bd8cca31b180280c3bc7f5cbfd77d2c4d2a528f9166f4df03

Contents?: true

Size: 1.11 KB

Versions: 2

Compression:

Stored size: 1.11 KB

Contents

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
code_rippa-1.0.1 lib/code_rippa/syntax/tsv.syntax
code_rippa-1.0.0 lib/code_rippa/syntax/tsv.syntax