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.0.20 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.0.18 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.0.17 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.0.16 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.0.6 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.0.5 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.0.4 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.0.3 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.0.2 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.0.1 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-1.0.0 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-0.9.17 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-0.9.16 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-0.9.14 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-0.9.12 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-0.9.11 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-0.9.10 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-0.9.9 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-0.9.8 share/etc/uv/syntax/text.tabular.csv.syntax
dyndoc-ruby-0.9.7 share/etc/uv/syntax/text.tabular.csv.syntax