Sha256: 3ee0502e662540b5ec92cdf435d719531e2961798816052a54d09993f0d00ed8

Contents?: true

Size: 1.69 KB

Versions: 139

Compression:

Stored size: 1.69 KB

Contents

--- 
name: CSV
fileTypes: 
- csv
scopeName: text.tabular.csv
repository: 
  row: 
    name: meta.tabular.row.csv
    begin: ^(?!$)
    end: $
    patterns: 
    - include: "#field"
  field: 
    patterns: 
    - endCaptures: 
        "1": 
          name: punctuation.definition.field.csv
        "3": 
          name: punctuation.separator.tabular.field.csv
      begin: (^|(?<=,))(")
      contentName: meta.tabular.field.quoted.csv
      beginCaptures: 
        "2": 
          name: punctuation.definition.field.csv
      end: (")($|(,))
      patterns: 
      - name: constant.character.escape.straight-quote.csv
        match: "\"\""
      comment: "\n\
        \t\t\t\t\t\tthis field uses \"s and is thus able to enclose\n\
        \t\t\t\t\t\tnewlines or commas\n\
        \t\t\t\t\t"
    - endCaptures: 
        "1": 
          name: punctuation.separator.tabular.field.csv
      begin: (:^|(?<=,))(?!$|,)
      contentName: meta.tabular.field.csv
      end: $|(,)
    - name: punctuation.separator.tabular.field.csv
      match: ","
  header: 
    name: meta.tabular.row.header.csv
    begin: ^(?!$)
    end: $
    patterns: 
    - include: "#field"
  table: 
    name: meta.tabular.table.csv
    begin: ^
    end: ^$not possible$^
    patterns: 
    - include: "#header"
    - begin: (\n)
      beginCaptures: 
        "1": 
          name: punctuation.separator.table.row.csv
      end: ^$not possible$^
      patterns: 
      - include: "#row"
      - name: punctuation.separator.table.row.csv
        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: B0691F9F-D279-48CB-8959-2C9426579002
patterns: 
- include: "#table"
keyEquivalent: ^~C

Version data entries

139 entries across 134 versions & 19 rubygems

Version Path
dyndoc-ruby-1.5.0 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.4.7 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.4.6 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.4.5 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.4.2 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.4.1 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.4.0 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.3.9 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.3.6 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.3.4 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.3.2 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.3.0 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.2.2 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.2.1 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.2.0 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.0.25 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.0.24 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.0.23 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.0.22 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.0.21 share/etc/uv/syntax/text.tabular.csv.syntax